• Steven Rostedt's avatar
    ring-buffer: add tracing_off_permanent · 033601a3
    Steven Rostedt authored
    Impact: feature to permanently disable ring buffer
    
    This patch adds a API to the ring buffer code that will permanently
    disable the ring buffer from ever recording. This should only be
    called when some serious anomaly is detected, and the system
    may be in an unstable state. When that happens, shutting down the
    recording to the ring buffers may be appropriate.
    Signed-off-by: default avatarSteven Rostedt <srostedt@redhat.com>
    Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
    033601a3
ring_buffer.c 54.9 KB