ring-buffer: add tracing_is_on to test if ring buffer is enabled
authorSteven Rostedt <srostedt@redhat.com>
Sun, 15 Feb 2009 00:17:02 +0000 (19:17 -0500)
committerSteven Rostedt <srostedt@redhat.com>
Tue, 17 Feb 2009 03:50:01 +0000 (22:50 -0500)
commit988ae9d6b2bc3ebdc1a488490250a6812f85e9d4
tree2674e810891133bc7ddb935baa6c15a0412e2a8f
parent59df055f1991c9fc0c71a9230663c39188f6972f
ring-buffer: add tracing_is_on to test if ring buffer is enabled

This patch adds the tracing_is_on() interface to tell if the ring
buffer is turned on or not.

Signed-off-by: Steven Rostedt <srostedt@redhat.com>
include/linux/ring_buffer.h
kernel/trace/ring_buffer.c