]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit697b5785934b39191281c1449eca74a4b453c2b7
tree81399b7b9535d11ac6120366fc01fd051118226a
parent7443bce8c9ea415845f1110b1253f719f1115b65
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