ring-buffer: do not swap if recording is disabled
authorSteven Rostedt <srostedt@redhat.com>
Wed, 21 Jan 2009 20:24:56 +0000 (15:24 -0500)
committerIngo Molnar <mingo@elte.hu>
Thu, 22 Jan 2009 09:27:16 +0000 (10:27 +0100)
If the ring buffer recording has been disabled. Do not let
swapping of ring buffers occur. Simply return -EAGAIN.

Signed-off-by: Steven Rostedt <srostedt@redhat.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>

No differences found