diff options
author | Steven Rostedt <srostedt@redhat.com> | 2009-09-04 18:35:16 +0200 |
---|---|---|
committer | Steven Rostedt <rostedt@goodmis.org> | 2009-09-05 00:46:51 +0200 |
commit | f633903af2ceb0cec07d45e499a072b6593d0ed1 (patch) | |
tree | 9a484fa299142a00d0dbb5a97e1108031db96e70 /kernel/trace/trace_mmiotrace.c | |
parent | tracing: use timestamp to determine start of latency traces (diff) | |
download | linux-f633903af2ceb0cec07d45e499a072b6593d0ed1.tar.xz 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 'kernel/trace/trace_mmiotrace.c')
0 files changed, 0 insertions, 0 deletions