diff options
-rw-r--r-- | kernel/trace/Kconfig | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/kernel/trace/Kconfig b/kernel/trace/Kconfig index 81a17ef6b942..4feb3c81f94d 100644 --- a/kernel/trace/Kconfig +++ b/kernel/trace/Kconfig | |||
@@ -126,7 +126,9 @@ config BOOT_TRACER | |||
126 | the timings of the initcalls. Its aim is to be parsed by the | 126 | the timings of the initcalls. Its aim is to be parsed by the |
127 | /scripts/bootgraph.pl tool to produce pretty graphics about | 127 | /scripts/bootgraph.pl tool to produce pretty graphics about |
128 | boot inefficiencies, giving a visual representation of the | 128 | boot inefficiencies, giving a visual representation of the |
129 | delays during initcalls. | 129 | delays during initcalls. Note that tracers self tests can't |
130 | be enabled if this tracer is selected since only one tracer | ||
131 | should touch the tracing buffer at a time. | ||
130 | 132 | ||
131 | config STACK_TRACER | 133 | config STACK_TRACER |
132 | bool "Trace max stack" | 134 | bool "Trace max stack" |
@@ -168,8 +170,7 @@ config FTRACE_SELFTEST | |||
168 | 170 | ||
169 | config FTRACE_STARTUP_TEST | 171 | config FTRACE_STARTUP_TEST |
170 | bool "Perform a startup test on ftrace" | 172 | bool "Perform a startup test on ftrace" |
171 | depends on TRACING | 173 | depends on TRACING && DEBUG_KERNEL && !BOOT_TRACER |
172 | depends on DEBUG_KERNEL | ||
173 | select FTRACE_SELFTEST | 174 | select FTRACE_SELFTEST |
174 | help | 175 | help |
175 | This option performs a series of startup tests on ftrace. On bootup | 176 | This option performs a series of startup tests on ftrace. On bootup |