diff options
author | Steven Rostedt <srostedt@redhat.com> | 2009-04-20 10:59:34 -0400 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2009-04-20 11:55:35 -0400 |
commit | a7abe97fd8e7a6ccabba5a04a9f17be9211d418c (patch) | |
tree | 5bd11a18c08cd3f53a7e48ba72443b52f84b9369 /kernel/trace/Kconfig | |
parent | 4ed9f0716e46bb9646f26e73f4a1b5b24db7947a (diff) |
tracing: rename EVENT_TRACER config to ENABLE_EVENT_TRACING
Currently we have two configs: EVENT_TRACING and EVENT_TRACER.
All tracers enable EVENT_TRACING. The EVENT_TRACER is only a
convenience to enable the EVENT_TRACING when no other tracers
are enabled.
The names EVENT_TRACER and EVENT_TRACING are too similar and confusing.
This patch renames EVENT_TRACER to ENABLE_EVENT_TRACING to be more
appropriate to what it actually does, as well as add a comment in
the help menu to explain the option's purpose.
[ Impact: rename config option to reduce confusion ]
Reported-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
Diffstat (limited to 'kernel/trace/Kconfig')
-rw-r--r-- | kernel/trace/Kconfig | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/kernel/trace/Kconfig b/kernel/trace/Kconfig index 3fa36d2bc290..450d3c2cfbd2 100644 --- a/kernel/trace/Kconfig +++ b/kernel/trace/Kconfig | |||
@@ -183,7 +183,7 @@ config CONTEXT_SWITCH_TRACER | |||
183 | This tracer gets called from the context switch and records | 183 | This tracer gets called from the context switch and records |
184 | all switching of tasks. | 184 | all switching of tasks. |
185 | 185 | ||
186 | config EVENT_TRACER | 186 | config ENABLE_EVENT_TRACING |
187 | bool "Trace various events in the kernel" | 187 | bool "Trace various events in the kernel" |
188 | select TRACING | 188 | select TRACING |
189 | help | 189 | help |
@@ -191,6 +191,10 @@ config EVENT_TRACER | |||
191 | allowing the user to pick and choose which trace point they | 191 | allowing the user to pick and choose which trace point they |
192 | want to trace. | 192 | want to trace. |
193 | 193 | ||
194 | Note, all tracers enable event tracing. This option is | ||
195 | only a convenience to enable event tracing when no other | ||
196 | tracers are selected. | ||
197 | |||
194 | config FTRACE_SYSCALLS | 198 | config FTRACE_SYSCALLS |
195 | bool "Trace syscalls" | 199 | bool "Trace syscalls" |
196 | depends on HAVE_FTRACE_SYSCALLS | 200 | depends on HAVE_FTRACE_SYSCALLS |