diff options
author | Steven Rostedt <srostedt@redhat.com> | 2009-02-06 03:54:51 +0300 |
---|---|---|
committer | Steven Rostedt <srostedt@redhat.com> | 2009-02-08 04:01:18 +0300 |
commit | d8b891a2db13c8ed296158d6f8c4e335896d0cef (patch) | |
tree | fe6ce37bd30bf892d7f663f6eac73d8ebf12728f /include/linux/uaccess.h | |
parent | 78d904b46a72fcf15ea6a39672bbef92953876b5 (diff) | |
download | linux-d8b891a2db13c8ed296158d6f8c4e335896d0cef.tar.xz |
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>
Diffstat (limited to 'include/linux/uaccess.h')
0 files changed, 0 insertions, 0 deletions