diff options
Diffstat (limited to 'kernel/trace/Kconfig')
-rw-r--r-- | kernel/trace/Kconfig | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/kernel/trace/Kconfig b/kernel/trace/Kconfig index 417d1985e299..57981d338d1f 100644 --- a/kernel/trace/Kconfig +++ b/kernel/trace/Kconfig | |||
@@ -48,6 +48,9 @@ config FTRACE_NMI_ENTER | |||
48 | depends on HAVE_FTRACE_NMI_ENTER | 48 | depends on HAVE_FTRACE_NMI_ENTER |
49 | default y | 49 | default y |
50 | 50 | ||
51 | config EVENT_TRACING | ||
52 | bool | ||
53 | |||
51 | config TRACING | 54 | config TRACING |
52 | bool | 55 | bool |
53 | select DEBUG_FS | 56 | select DEBUG_FS |
@@ -56,6 +59,7 @@ config TRACING | |||
56 | select TRACEPOINTS | 59 | select TRACEPOINTS |
57 | select NOP_TRACER | 60 | select NOP_TRACER |
58 | select BINARY_PRINTF | 61 | select BINARY_PRINTF |
62 | select EVENT_TRACING | ||
59 | 63 | ||
60 | # | 64 | # |
61 | # Minimum requirements an architecture has to meet for us to | 65 | # Minimum requirements an architecture has to meet for us to |
@@ -104,6 +108,7 @@ config FUNCTION_GRAPH_TRACER | |||
104 | the return value. This is done by setting the current return | 108 | the return value. This is done by setting the current return |
105 | address on the current task structure into a stack of calls. | 109 | address on the current task structure into a stack of calls. |
106 | 110 | ||
111 | |||
107 | config IRQSOFF_TRACER | 112 | config IRQSOFF_TRACER |
108 | bool "Interrupts-off Latency Tracer" | 113 | bool "Interrupts-off Latency Tracer" |
109 | default n | 114 | default n |
@@ -375,6 +380,20 @@ config DYNAMIC_FTRACE | |||
375 | were made. If so, it runs stop_machine (stops all CPUS) | 380 | were made. If so, it runs stop_machine (stops all CPUS) |
376 | and modifies the code to jump over the call to ftrace. | 381 | and modifies the code to jump over the call to ftrace. |
377 | 382 | ||
383 | config FUNCTION_PROFILER | ||
384 | bool "Kernel function profiler" | ||
385 | depends on FUNCTION_TRACER | ||
386 | default n | ||
387 | help | ||
388 | This option enables the kernel function profiler. A file is created | ||
389 | in debugfs called function_profile_enabled which defaults to zero. | ||
390 | When a 1 is echoed into this file profiling begins, and when a | ||
391 | zero is entered, profiling stops. A file in the trace_stats | ||
392 | directory called functions, that show the list of functions that | ||
393 | have been hit and their counters. | ||
394 | |||
395 | If in doubt, say N | ||
396 | |||
378 | config FTRACE_MCOUNT_RECORD | 397 | config FTRACE_MCOUNT_RECORD |
379 | def_bool y | 398 | def_bool y |
380 | depends on DYNAMIC_FTRACE | 399 | depends on DYNAMIC_FTRACE |