aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/trace/Kconfig
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/trace/Kconfig')
-rw-r--r--kernel/trace/Kconfig9
1 files changed, 7 insertions, 2 deletions
diff --git a/kernel/trace/Kconfig b/kernel/trace/Kconfig
index f61be3015783..a508b9d2adb8 100644
--- a/kernel/trace/Kconfig
+++ b/kernel/trace/Kconfig
@@ -49,6 +49,11 @@ config FTRACE_NMI_ENTER
49 default y 49 default y
50 50
51config EVENT_TRACING 51config EVENT_TRACING
52 select CONTEXT_SWITCH_TRACER
53 bool
54
55config CONTEXT_SWITCH_TRACER
56 select MARKERS
52 bool 57 bool
53 58
54config TRACING 59config TRACING
@@ -176,10 +181,10 @@ config SCHED_TRACER
176 This tracer tracks the latency of the highest priority task 181 This tracer tracks the latency of the highest priority task
177 to be scheduled in, starting from the point it has woken up. 182 to be scheduled in, starting from the point it has woken up.
178 183
179config CONTEXT_SWITCH_TRACER 184config ENABLE_CONTEXT_SWITCH_TRACER
180 bool "Trace process context switches" 185 bool "Trace process context switches"
181 select TRACING 186 select TRACING
182 select MARKERS 187 select CONTEXT_SWITCH_TRACER
183 help 188 help
184 This tracer gets called from the context switch and records 189 This tracer gets called from the context switch and records
185 all switching of tasks. 190 all switching of tasks.