ftrace/fastboot: disable tracers self-tests when boot tracer is selected
authorFrédéric Weisbecker <fweisbec@gmail.com>
Wed, 24 Sep 2008 09:36:09 +0000 (10:36 +0100)
committerIngo Molnar <mingo@elte.hu>
Tue, 14 Oct 2008 08:38:51 +0000 (10:38 +0200)
commit3ce2b9200da8b7170cc7463b7ee4212fad7b291e
tree8e9e05fb3e5282e199ee9953205504a8ded54d02
parent3bf77af6e1fef1124bf71d81f9f84885f0ee0dea
ftrace/fastboot: disable tracers self-tests when boot tracer is selected

The tracing engine resets the ring buffer and the tracers touch it
too during self-tests. These self-tests happen during tracers registering
and work against boot tracing which is logging initcalls.

We have to disable tracing self-tests if the boot-tracer is selected.

Reported-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Frederic Weisbecker <fweisbec@gmail.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
kernel/trace/Kconfig