]> 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)
commit549b9befc4bee761b818df9acb2d8572d407cda4
treeb6c794ee0b95aa6b837da109b85da245cd47ee31
parentb2ed1709ca5dffec89e035544de5cf0d49aae6df
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