diff options
author | Steven Rostedt <srostedt@redhat.com> | 2009-01-21 15:24:56 -0500 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2009-01-22 10:27:16 +0100 |
commit | 97b17efe4537e11bf6669106cfe4ee2c5331b267 (patch) | |
tree | 46310b25ea38628fc631d4c4c248ebe66426036f /kernel/trace/trace_sched_wakeup.c | |
parent | 5bc4564b224c3d9fe6dddafa25f56059bd978231 (diff) |
ring-buffer: do not swap if recording is disabled
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>
Diffstat (limited to 'kernel/trace/trace_sched_wakeup.c')
0 files changed, 0 insertions, 0 deletions