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)
commit93d68e52295fb8b65ded6db49e32e63b6a203e0b
treeb6c794ee0b95aa6b837da109b85da245cd47ee31
parent37d73998920859784e6504462a2fd5f52cc08051
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