diff options
author | Oleg Nesterov <[email protected]> | 2013-06-20 19:38:09 +0200 |
---|---|---|
committer | Steven Rostedt <[email protected]> | 2013-07-01 20:34:24 -0400 |
commit | 3fe3d6193e7cd7b4dd2bde10772f048bdefea4ee (patch) | |
tree | f7623a40ffb23ffab302a8cb9ed6c5716ec1d691 /tools/perf/scripts/python/syscall-counts.py | |
parent | 288e984e622336bab8bc3dfdf2f190816362d9a1 (diff) |
tracing/kprobes: Kill probe_enable_lock
enable_trace_probe() and disable_trace_probe() should not worry about
serialization, the caller (perf_trace_init or __ftrace_set_clr_event)
holds event_mutex.
They are also called by kprobe_trace_self_tests_init(), but this __init
function can't race with itself or trace_events.c
And note that this code depended on event_mutex even before 41a7dd420c
which introduced probe_enable_lock. In fact it assumes that the caller
kprobe_register() can never race with itself. Otherwise, say, tp->flags
manipulations are racy.
Link: http://lkml.kernel.org/r/[email protected]
Acked-by: Masami Hiramatsu <[email protected]>
Signed-off-by: Oleg Nesterov <[email protected]>
Signed-off-by: Steven Rostedt <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions