ftrace: soft tracing stop and start
authorSteven Rostedt <srostedt@redhat.com>
Wed, 5 Nov 2008 21:05:44 +0000 (16:05 -0500)
committerIngo Molnar <mingo@elte.hu>
Thu, 6 Nov 2008 06:50:57 +0000 (07:50 +0100)
commit0f04870148ecb825133bc2733f473b1c5773ac0b
tree81399b7b9535d11ac6120366fc01fd051118226a
parent60a7ecf42661f2b22168751298592da6ee210c9e
ftrace: soft tracing stop and start

Impact: add way to quickly start stop tracing from the kernel

This patch adds a soft stop and start to the trace. This simply
disables function tracing via the ftrace_disabled flag, and
disables the trace buffers to prevent recording. The tracing
code may still be executed, but the trace will not be recorded.

Signed-off-by: Steven Rostedt <srostedt@redhat.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
include/linux/ftrace.h
kernel/trace/trace.c