ring-buffer: allow tracing_off to be used in core kernel code
authorSteven Rostedt <srostedt@redhat.com>
Fri, 6 Feb 2009 00:54:51 +0000 (19:54 -0500)
committerSteven Rostedt <srostedt@redhat.com>
Sun, 8 Feb 2009 01:01:18 +0000 (20:01 -0500)
tracing_off() is the fastest way to stop recording to the ring buffers.
This may be used in places like panic and die, just before the
ftrace_dump is called.

This patch adds the appropriate CPP conditionals to make it a stub
function when the ring buffer is not configured it.

Signed-off-by: Steven Rostedt <srostedt@redhat.com>

No differences found