summaryrefslogtreecommitdiff
path: root/arch/x86/kernel/ftrace.c
diff options
context:
space:
mode:
authorSteven Rostedt <srostedt@redhat.com>2009-02-05 19:54:51 -0500
committerSteven Rostedt <srostedt@redhat.com>2009-02-07 20:01:18 -0500
commitd8b891a2db13c8ed296158d6f8c4e335896d0cef (patch)
treefe6ce37bd30bf892d7f663f6eac73d8ebf12728f /arch/x86/kernel/ftrace.c
parent78d904b46a72fcf15ea6a39672bbef92953876b5 (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>
Diffstat (limited to 'arch/x86/kernel/ftrace.c')
0 files changed, 0 insertions, 0 deletions