Skip to content

Commit

Permalink
linux-4.14.94: Add CONFIG_FUNCTION_PROFILER=y
Browse files Browse the repository at this point in the history
Enable Funktion Profiler.

This option enables the kernel function profiler. When the dynamic
function tracing is enabled, a counter is added into the function
records used by the dynamic function tracer. A file is created in
debugfs called function_profile_enabled which defaults to zero.

When a 1 is echoed into this file profiling begins, and when a
zero is entered, profiling stops. A file in the trace_stats
directory called functions, that show the list of functions
that have been hit and their counters.

This takes up around 320K more memory.
  • Loading branch information
donald committed Jan 21, 2019
1 parent c18aa19 commit 3cef9c0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions linux-4.14.94-239.bee
Original file line number Diff line number Diff line change
Expand Up @@ -880,6 +880,7 @@ mee_configure() {
CONFIG_FUNCTION_TRACER=y
CONFIG_FTRACE_SYSCALLS=y
CONFIG_BLK_DEV_IO_TRACE=y
CONFIG_FUNCTION_PROFILER=y
CONFIG_MEMTEST=y
CONFIG_EARLY_PRINTK_DBGP=y
CONFIG_SECURITYFS=y
Expand Down

0 comments on commit 3cef9c0

Please sign in to comment.