commit | d8b891a2db13c8ed296158d6f8c4e335896d0cef | [log] [tgz] |
---|---|---|
author | Steven Rostedt <srostedt@redhat.com> | Thu Feb 05 19:54:51 2009 -0500 |
committer | Steven Rostedt <srostedt@redhat.com> | Sat Feb 07 20:01:18 2009 -0500 |
tree | fe6ce37bd30bf892d7f663f6eac73d8ebf12728f | |
parent | 78d904b46a72fcf15ea6a39672bbef92953876b5 [diff] |
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 <srostedt@redhat.com>