summaryrefslogtreecommitdiffstats
path: root/kernel/trace/trace_functions_graph.c
diff options
context:
space:
mode:
authorSteven Rostedt <srostedt@redhat.com>2009-09-04 18:35:16 +0200
committerSteven Rostedt <rostedt@goodmis.org>2009-09-05 00:46:51 +0200
commitf633903af2ceb0cec07d45e499a072b6593d0ed1 (patch)
tree9a484fa299142a00d0dbb5a97e1108031db96e70 /kernel/trace/trace_functions_graph.c
parenttracing: use timestamp to determine start of latency traces (diff)
downloadlinux-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_functions_graph.c')
0 files changed, 0 insertions, 0 deletions