aboutsummaryrefslogtreecommitdiff
path: root/kernel/trace/Kconfig
diff options
context:
space:
mode:
authorSteven Rostedt <srostedt@redhat.com>2009-05-07 12:49:27 -0400
committerSteven Rostedt <rostedt@goodmis.org>2009-05-07 12:49:27 -0400
commit65b77242043f74bca6a0d733c0e48ef03a8c9893 (patch)
treef7ba92bd5633ee6389bd51191d5a736d7b4666ea /kernel/trace/Kconfig
parentd6bf81ef0f7474434c2a049e8bf3c9146a14dd96 (diff)
tracing: have menu default enabled when kernel debug is configured
Tracing can be very helpful to debug the kernel. When DEBUG_KERNEL is enabled it is nice to enable the trace menu as well. This patch only make the tracing menu enabled by default, it does not make any of the tracers enabled. And the menu is only enabled by default if DEBUG_KERNEL is enabled. [ Impact: show tracing options to those debugging the kernel ] Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
Diffstat (limited to 'kernel/trace/Kconfig')
-rw-r--r--kernel/trace/Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/kernel/trace/Kconfig b/kernel/trace/Kconfig
index 50f62a296e1..f61be301578 100644
--- a/kernel/trace/Kconfig
+++ b/kernel/trace/Kconfig
@@ -79,6 +79,7 @@ if TRACING_SUPPORT
menuconfig FTRACE
bool "Tracers"
+ default y if DEBUG_KERNEL
help
Enable the kernel tracing infrastructure.