]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
ring-buffer: add tracing_off_permanent
authorSteven Rostedt <srostedt@redhat.com>
Fri, 21 Nov 2008 17:41:55 +0000 (12:41 -0500)
committerIngo Molnar <mingo@elte.hu>
Sun, 23 Nov 2008 10:44:37 +0000 (11:44 +0100)
commit033601a32b2012b6948e80e739cca40bff4de4a0
tree79f5fb4de0c76472174a1fd46c28e1503ac88dfc
parenta0a70c735ef714fe1b6777b571630c3d50c7b008
ring-buffer: add tracing_off_permanent

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: Steven Rostedt <srostedt@redhat.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
include/linux/ring_buffer.h
kernel/trace/ring_buffer.c