commit | 97b17efe4537e11bf6669106cfe4ee2c5331b267 | [log] [tgz] |
---|---|---|
author | Steven Rostedt <srostedt@redhat.com> | Wed Jan 21 15:24:56 2009 -0500 |
committer | Ingo Molnar <mingo@elte.hu> | Thu Jan 22 10:27:16 2009 +0100 |
tree | 46310b25ea38628fc631d4c4c248ebe66426036f | |
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>