aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSteven Rostedt <srostedt@redhat.com>2009-05-28 16:31:21 -0400
committerSteven Rostedt <rostedt@goodmis.org>2009-06-01 23:23:55 -0400
commit897f17a65389a26509bd0c79a9812d1c9ea8ea6f (patch)
treeec23bdc97840581c6f4881f6e427c66d72a1269c
parent5e0a093910876882f91f1d4b8a1635a099e6c7ba (diff)
tracing: combine the default tracers into one config
Both event tracer and sched switch plugin are selected by default by all generic tracers. But if no generic tracer is enabled, their options appear. But ether one of them will select the other, thus it only makes sense to have the default tracers be selected by one option. [ Impact: clean up kconfig menu ] Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
-rw-r--r--kernel/trace/Kconfig19
1 files changed, 3 insertions, 16 deletions
diff --git a/kernel/trace/Kconfig b/kernel/trace/Kconfig
index 6e55cc3ac49d..4a13e5a01ce3 100644
--- a/kernel/trace/Kconfig
+++ b/kernel/trace/Kconfig
@@ -192,27 +192,14 @@ config SCHED_TRACER
192 This tracer tracks the latency of the highest priority task 192 This tracer tracks the latency of the highest priority task
193 to be scheduled in, starting from the point it has woken up. 193 to be scheduled in, starting from the point it has woken up.
194 194
195config ENABLE_CONTEXT_SWITCH_TRACER 195config ENABLE_DEFAULT_TRACERS
196 bool "Trace process context switches" 196 bool "Trace process context switches and events"
197 depends on !GENERIC_TRACER
198 select TRACING
199 select CONTEXT_SWITCH_TRACER
200 help
201 This tracer gets called from the context switch and records
202 all switching of tasks.
203
204config ENABLE_EVENT_TRACING
205 bool "Trace various events in the kernel"
206 depends on !GENERIC_TRACER 197 depends on !GENERIC_TRACER
207 select TRACING 198 select TRACING
208 help 199 help
209 This tracer hooks to various trace points in the kernel 200 This tracer hooks to various trace points in the kernel
210 allowing the user to pick and choose which trace point they 201 allowing the user to pick and choose which trace point they
211 want to trace. 202 want to trace. It also includes the sched_switch tracer plugin.
212
213 Note, all tracers enable event tracing. This option is
214 only a convenience to enable event tracing when no other
215 tracers are selected.
216 203
217config FTRACE_SYSCALLS 204config FTRACE_SYSCALLS
218 bool "Trace syscalls" 205 bool "Trace syscalls"