ftrace: add ftrace_off_permanent
authorSteven Rostedt <srostedt@redhat.com>
Fri, 21 Nov 2008 17:59:38 +0000 (12:59 -0500)
committerIngo Molnar <mingo@elte.hu>
Sun, 23 Nov 2008 10:45:34 +0000 (11:45 +0100)
Impact: add new API to disable all of ftrace on anomalies

It case of a serious anomaly being detected (like something caught by
lockdep) it is a good idea to disable all tracing immediately, without
grabing any locks.

This patch adds ftrace_off_permanent that disables the tracers, function
tracing and ring buffers without a way to enable them again. This should
only be used when something serious has been detected.

Signed-off-by: Steven Rostedt <srostedt@redhat.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>

No differences found