diff options
author | Steven Rostedt <srostedt@redhat.com> | 2008-11-21 12:59:38 -0500 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-11-23 11:45:34 +0100 |
commit | 69bb54ec05f57da7f6fac2cec0820cbc970df20f (patch) | |
tree | cdee5802117c2e78cf18df7fa524c7390d1bdb67 /kernel/workqueue.c | |
parent | e58918ab9d4cd375f6d842e6d88cf4d7a55cbfcc (diff) |
ftrace: add ftrace_off_permanent
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>
Diffstat (limited to 'kernel/workqueue.c')
0 files changed, 0 insertions, 0 deletions