From: Steven Rostedt Date: Fri, 6 Feb 2009 00:54:51 +0000 (-0500) Subject: ring-buffer: allow tracing_off to be used in core kernel code X-Git-Tag: v2.6.30-rc1~2^2~124^2~5 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d8b891a2db13c8ed296158d6f8c4e335896d0cef;p=pandora-kernel.git ring-buffer: allow tracing_off to be used in core kernel code 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 --- Reading git-diff-tree failed