]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
tracing: have menu default enabled when kernel debug is configured
authorSteven Rostedt <srostedt@redhat.com>
Thu, 7 May 2009 16:49:27 +0000 (12:49 -0400)
committerSteven Rostedt <rostedt@goodmis.org>
Thu, 7 May 2009 16:49:27 +0000 (12:49 -0400)
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>
kernel/trace/Kconfig

index 50f62a296e1d0baa98b3ee82955217dbb367b552..f61be30157832ec56bcfde3cce9984777eab1518 100644 (file)
@@ -79,6 +79,7 @@ if TRACING_SUPPORT
 
 menuconfig FTRACE
        bool "Tracers"
+       default y if DEBUG_KERNEL
        help
         Enable the kernel tracing infrastructure.