aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/trace/trace_syscalls.c
diff options
context:
space:
mode:
authorSteven Rostedt <srostedt@redhat.com>2009-09-04 12:35:16 -0400
committerSteven Rostedt <rostedt@goodmis.org>2009-09-04 18:46:51 -0400
commitf633903af2ceb0cec07d45e499a072b6593d0ed1 (patch)
tree9a484fa299142a00d0dbb5a97e1108031db96e70 /kernel/trace/trace_syscalls.c
parent2f26ebd549b9ab55ac756b836ec759c11fe93f81 (diff)
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_syscalls.c')
0 files changed, 0 insertions, 0 deletions