diff options
Diffstat (limited to 'kernel/trace/Kconfig')
-rw-r--r-- | kernel/trace/Kconfig | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/kernel/trace/Kconfig b/kernel/trace/Kconfig index 892ecc94a82b..896df1cf6adc 100644 --- a/kernel/trace/Kconfig +++ b/kernel/trace/Kconfig | |||
@@ -26,6 +26,24 @@ config FTRACE | |||
26 | (the bootup default), then the overhead of the instructions is very | 26 | (the bootup default), then the overhead of the instructions is very |
27 | small and not measurable even in micro-benchmarks. | 27 | small and not measurable even in micro-benchmarks. |
28 | 28 | ||
29 | config IRQSOFF_TRACER | ||
30 | bool "Interrupts-off Latency Tracer" | ||
31 | default n | ||
32 | depends on TRACE_IRQFLAGS_SUPPORT | ||
33 | depends on GENERIC_TIME | ||
34 | select TRACE_IRQFLAGS | ||
35 | select TRACING | ||
36 | select TRACER_MAX_TRACE | ||
37 | help | ||
38 | This option measures the time spent in irqs-off critical | ||
39 | sections, with microsecond accuracy. | ||
40 | |||
41 | The default measurement method is a maximum search, which is | ||
42 | disabled by default and can be runtime (re-)started | ||
43 | via: | ||
44 | |||
45 | echo 0 > /debugfs/tracing/tracing_max_latency | ||
46 | |||
29 | config SCHED_TRACER | 47 | config SCHED_TRACER |
30 | bool "Scheduling Latency Tracer" | 48 | bool "Scheduling Latency Tracer" |
31 | depends on DEBUG_KERNEL | 49 | depends on DEBUG_KERNEL |