summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSteven Rostedt <srostedt@redhat.com>2009-02-19 04:06:18 +0100
committerSteven Rostedt <srostedt@redhat.com>2009-02-19 04:06:18 +0100
commit4d7a077c0c7bfdba04cf0aa0b79053cf4ebaacf8 (patch)
tree6c5499988ccb21898b22d709f9f66d019e0fe475
parenttracing: disable tracing while testing ring buffer (diff)
downloadlinux-4d7a077c0c7bfdba04cf0aa0b79053cf4ebaacf8.tar.xz
linux-4d7a077c0c7bfdba04cf0aa0b79053cf4ebaacf8.zip
tracing: have function trace select kallsyms
Impact: fix output of function tracer to be useful The function tracer is pretty useless if KALLSYMS is not configured. Unless you are good at reading hex values, the function tracer should select the KALLSYMS configuration. Also, the dynamic function tracer will fail its self test if KALLSYMS is not selected. Signed-off-by: Steven Rostedt <srostedt@redhat.com>
-rw-r--r--kernel/trace/Kconfig2
1 files changed, 2 insertions, 0 deletions
diff --git a/kernel/trace/Kconfig b/kernel/trace/Kconfig
index 58a93fbd68aa..34e707e5ab87 100644
--- a/kernel/trace/Kconfig
+++ b/kernel/trace/Kconfig
@@ -52,6 +52,7 @@ config FUNCTION_TRACER
depends on HAVE_FUNCTION_TRACER
depends on DEBUG_KERNEL
select FRAME_POINTER
+ select KALLSYMS
select TRACING
select CONTEXT_SWITCH_TRACER
help
@@ -238,6 +239,7 @@ config STACK_TRACER
depends on DEBUG_KERNEL
select FUNCTION_TRACER
select STACKTRACE
+ select KALLSYMS
help
This special tracer records the maximum stack footprint of the
kernel and displays it in debugfs/tracing/stack_trace.