]> git.baikalelectronics.ru Git - kernel.git/commit
tracing: Move the tracing_on/off() declarations into CONFIG_TRACING
authorSteven Rostedt <srostedt@redhat.com>
Tue, 20 Mar 2012 16:28:29 +0000 (12:28 -0400)
committerSteven Rostedt <rostedt@goodmis.org>
Tue, 20 Mar 2012 16:28:29 +0000 (12:28 -0400)
commitd4f650b542970516c41bf22f3de30581c5e459f6
treeb6c794ee0b95aa6b837da109b85da245cd47ee31
parent97151d3462ef10dde3da00a5cd8b8f23d6cd6468
tracing: Move the tracing_on/off() declarations into CONFIG_TRACING

The tracing_on/off() declarations were under CONFIG_RING_BUFFER, but
the functions are now only defined under CONFIG_TRACING as they are
specific to ftrace and not the ring buffer.

But the declarations were still defined under the ring buffer and
this caused the build to fail when CONFIG_RING_BUFFER was set but
CONFIG_TRACING was not.

Reported-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
include/linux/kernel.h