diff options
Diffstat (limited to 'kernel/trace/Kconfig')
-rw-r--r-- | kernel/trace/Kconfig | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/kernel/trace/Kconfig b/kernel/trace/Kconfig index 5d6aa92866cd..892ecc94a82b 100644 --- a/kernel/trace/Kconfig +++ b/kernel/trace/Kconfig | |||
@@ -4,6 +4,9 @@ | |||
4 | config HAVE_FTRACE | 4 | config HAVE_FTRACE |
5 | bool | 5 | bool |
6 | 6 | ||
7 | config TRACER_MAX_TRACE | ||
8 | bool | ||
9 | |||
7 | config TRACING | 10 | config TRACING |
8 | bool | 11 | bool |
9 | select DEBUG_FS | 12 | select DEBUG_FS |
@@ -23,6 +26,16 @@ config FTRACE | |||
23 | (the bootup default), then the overhead of the instructions is very | 26 | (the bootup default), then the overhead of the instructions is very |
24 | small and not measurable even in micro-benchmarks. | 27 | small and not measurable even in micro-benchmarks. |
25 | 28 | ||
29 | config SCHED_TRACER | ||
30 | bool "Scheduling Latency Tracer" | ||
31 | depends on DEBUG_KERNEL | ||
32 | select TRACING | ||
33 | select CONTEXT_SWITCH_TRACER | ||
34 | select TRACER_MAX_TRACE | ||
35 | help | ||
36 | This tracer tracks the latency of the highest priority task | ||
37 | to be scheduled in, starting from the point it has woken up. | ||
38 | |||
26 | config CONTEXT_SWITCH_TRACER | 39 | config CONTEXT_SWITCH_TRACER |
27 | bool "Trace process context switches" | 40 | bool "Trace process context switches" |
28 | depends on DEBUG_KERNEL | 41 | depends on DEBUG_KERNEL |