diff options
author | Steven Rostedt (Red Hat) <[email protected]> | 2013-03-13 11:15:19 -0400 |
---|---|---|
committer | Steven Rostedt <[email protected]> | 2013-03-13 17:57:44 -0400 |
commit | 740466bc89ad8bd5afcc8de220f715f62b21e365 (patch) | |
tree | e2226505f6f4d248adbd7fb448f40e949f899126 /tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/SchedGui.py | |
parent | 2721e72dd10f71a3ba90f59781becf02638aa0d9 (diff) |
tracing: Fix free of probe entry by calling call_rcu_sched()
Because function tracing is very invasive, and can even trace
calls to rcu_read_lock(), RCU access in function tracing is done
with preempt_disable_notrace(). This requires a synchronize_sched()
for updates and not a synchronize_rcu().
Function probes (traceon, traceoff, etc) must be freed after
a synchronize_sched() after its entry has been removed from the
hash. But call_rcu() is used. Fix this by using call_rcu_sched().
Also fix the usage to use hlist_del_rcu() instead of hlist_del().
Cc: [email protected]
Cc: Paul McKenney <[email protected]>
Signed-off-by: Steven Rostedt <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/SchedGui.py')
0 files changed, 0 insertions, 0 deletions