Skip to content
  • Steven Rostedt's avatar
    ftrace: add ftrace_off_permanent · 69bb54ec
    Steven Rostedt authored
    
    
    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: default avatarSteven Rostedt <srostedt@redhat.com>
    Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
    69bb54ec