aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/trace/Kconfig
diff options
context:
space:
mode:
authorFrederic Weisbecker <fweisbec@gmail.com>2008-10-22 13:26:23 -0400
committerIngo Molnar <mingo@elte.hu>2008-10-27 11:47:13 -0400
commitea31e72d753e5817a97de552f152d0cb55c7defc (patch)
treea709254a0cd46c764f69649153de26b1d1233082 /kernel/trace/Kconfig
parentf66af459a931f25807e1df7915b2b66bb5978d82 (diff)
tracing/ftrace: make boot tracer select the sched_switch tracer
Impact: build fix If the boot tracer is selected but not the sched_switch, there will be a build failure: kernel/built-in.o: In function `boot_trace_init': trace_boot.c:(.text+0x5ee38): undefined reference to `sched_switch_trace' kernel/built-in.o: In function `disable_boot_trace': (.text+0x5eee1): undefined reference to `tracing_stop_cmdline_record' kernel/built-in.o: In function `enable_boot_trace': (.text+0x5ef11): undefined reference to `tracing_start_cmdline_record' This patch fixes it. Signed-off-by: Frederic Weisbecker <fweisbec@gmail.com> Signed-off-by: Ingo Molnar <mingo@elte.hu>
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 bc535cb91de9..e0cea282e0c5 100644
--- a/kernel/trace/Kconfig
+++ b/kernel/trace/Kconfig
@@ -123,6 +123,7 @@ config BOOT_TRACER
123 bool "Trace boot initcalls" 123 bool "Trace boot initcalls"
124 depends on DEBUG_KERNEL 124 depends on DEBUG_KERNEL
125 select TRACING 125 select TRACING
126 select CONTEXT_SWITCH_TRACER
126 help 127 help
127 This tracer helps developers to optimize boot times: it records 128 This tracer helps developers to optimize boot times: it records
128 the timings of the initcalls and traces key events and the identity 129 the timings of the initcalls and traces key events and the identity