diff options
author | Steven Rostedt <srostedt@redhat.com> | 2009-05-07 12:49:27 -0400 |
---|---|---|
committer | Steven Rostedt <rostedt@goodmis.org> | 2009-05-07 12:49:27 -0400 |
commit | 65b77242043f74bca6a0d733c0e48ef03a8c9893 (patch) | |
tree | f7ba92bd5633ee6389bd51191d5a736d7b4666ea /kernel/trace/Kconfig | |
parent | d6bf81ef0f7474434c2a049e8bf3c9146a14dd96 (diff) | |
download | lwn-65b77242043f74bca6a0d733c0e48ef03a8c9893.tar.gz lwn-65b77242043f74bca6a0d733c0e48ef03a8c9893.zip |
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/Kconfig | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/kernel/trace/Kconfig b/kernel/trace/Kconfig index 50f62a296e1d..f61be3015783 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. |