Srikar Dronamraju
9da79ab83e
tracing/kprobes: unregister_trace_probe needs to be called under mutex
...
Comment in unregister_trace_probe() says probe_lock will be held when it
gets called. However there is a case where it might called without the
probe_lock being held. Also since we are traversing the probe_list and
deleting an element from the probe_list, probe_lock should be held.
This was first pointed in uprobes traceevent review by Frederic
Weisbecker here. (http://lkml.org/lkml/2010/5/12/106 )
Cc: Ingo Molnar <mingo@elte.hu>
Cc: Masami Hiramatsu <masami.hiramatsu.pt@hitachi.com>
Acked-by: Masami Hiramatsu <masami.hiramatsu.pt@hitachi.com>
Acked-by: Steven Rostedt <rostedt@goodmis.org>
LKML-Reference: <20100630084548.GA10325@linux.vnet.ibm.com>
Signed-off-by: Srikar Dronamraju <srikar@linux.vnet.ibm.com>
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
2010-08-04 12:41:23 -03:00
..
blktrace.c
blktrace: Fix new kernel-doc warnings
2010-05-31 09:58:20 +02:00
ftrace.c
tracing: Remove ftrace_preempt_disable/enable
2010-06-03 19:32:38 -04:00
Kconfig
tracing: Remove sysprof ftrace plugin
2010-07-20 14:29:46 +02:00
Makefile
tracing: Remove sysprof ftrace plugin
2010-07-20 14:29:46 +02:00
power-traces.c
include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h
2010-03-30 22:02:32 +09:00
ring_buffer.c
trace: Reorder struct ring_buffer_per_cpu to remove padding on 64bit
2010-07-20 21:58:44 -04:00
ring_buffer_benchmark.c
ring-buffer: Make benchmark handle missed events
2010-04-27 13:26:58 -04:00
trace.c
Merge branch 'tip/perf/core' of git://git.kernel.org/pub/scm/linux/kernel/git/rostedt/linux-2.6-trace into perf/core
2010-07-23 09:10:29 +02:00
trace.h
Merge branch 'tip/perf/core' of git://git.kernel.org/pub/scm/linux/kernel/git/rostedt/linux-2.6-trace into perf/core
2010-07-23 09:10:29 +02:00
trace_branch.c
tracing: Allow events to share their print functions
2010-05-14 14:20:32 -04:00
trace_clock.c
tracing: Remove ftrace_preempt_disable/enable
2010-06-03 19:32:38 -04:00
trace_entries.h
tracing: Remove special traces
2010-07-20 14:31:07 +02:00
trace_event_perf.c
perf: Use tracepoint_synchronize_unregister() to flush any pending tracepoint call
2010-08-02 01:30:56 +02:00
trace_events.c
tracing: Allow to disable cmdline recording
2010-07-20 21:52:33 -04:00
trace_events_filter.c
tracing: Remove test of NULL define_fields callback
2010-06-28 17:12:52 -04:00
trace_export.c
tracing: Remove redundant raw_init callbacks
2010-06-28 17:12:53 -04:00
trace_functions.c
tracing: Remove ftrace_preempt_disable/enable
2010-06-03 19:32:38 -04:00
trace_functions_graph.c
tracing/function-graph: Use correct string size for snprintf
2010-06-28 21:11:39 -04:00
trace_irqsoff.c
tracing: Shrink max latency ringbuffer if unnecessary
2010-07-21 10:20:17 -04:00
trace_kprobe.c
tracing/kprobes: unregister_trace_probe needs to be called under mutex
2010-08-04 12:41:23 -03:00
trace_mmiotrace.c
include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h
2010-03-30 22:02:32 +09:00
trace_nop.c
trace_output.c
Merge branch 'tip/perf/core' of git://git.kernel.org/pub/scm/linux/kernel/git/rostedt/linux-2.6-trace into perf/core
2010-07-23 09:10:29 +02:00
trace_output.h
tracing: Allow events to share their print functions
2010-05-14 14:20:32 -04:00
trace_printk.c
tracing: Remove markers
2009-09-18 21:22:08 +02:00
trace_sched_switch.c
tracing: Let tracepoints have data passed to tracepoint callbacks
2010-05-14 09:50:34 -04:00
trace_sched_wakeup.c
tracing: Shrink max latency ringbuffer if unnecessary
2010-07-21 10:20:17 -04:00
trace_selftest.c
tracing: Remove special traces
2010-07-20 14:31:07 +02:00
trace_selftest_dynamic.c
trace_stack.c
tracing: Remove ftrace_preempt_disable/enable
2010-06-03 19:32:38 -04:00
trace_stat.c
include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h
2010-03-30 22:02:32 +09:00
trace_stat.h
trace_syscalls.c
tracing: Use a global field list for all syscall exit events
2010-06-28 17:12:44 -04:00
trace_workqueue.c
tracing: Let tracepoints have data passed to tracepoint callbacks
2010-05-14 09:50:34 -04:00