diff options
author | Steven Rostedt <srostedt@redhat.com> | 2009-09-04 12:35:16 -0400 |
---|---|---|
committer | Steven Rostedt <rostedt@goodmis.org> | 2009-09-04 18:46:51 -0400 |
commit | f633903af2ceb0cec07d45e499a072b6593d0ed1 (patch) | |
tree | 9a484fa299142a00d0dbb5a97e1108031db96e70 /include | |
parent | 2f26ebd549b9ab55ac756b836ec759c11fe93f81 (diff) | |
download | blackbird-op-linux-f633903af2ceb0cec07d45e499a072b6593d0ed1.tar.gz blackbird-op-linux-f633903af2ceb0cec07d45e499a072b6593d0ed1.zip |
tracing: make tracing_reset safe for external use
Reseting the trace buffer without first disabling the buffer and
waiting for any writers to complete, can corrupt the ring buffer.
This patch makes the external version of tracing_reset safe from
corruption by disabling the ring buffer and calling synchronize_sched.
This version can no longer be called from interrupt context. But all those
callers have been removed.
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions