aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorFrederic Weisbecker <[email protected]>2010-07-20 17:29:54 +0200
committerFrederic Weisbecker <[email protected]>2010-08-02 01:30:56 +0200
commit669336e4cf3e1cb95800f3f5924558a76d723c21 (patch)
treeb2254ef3ca3dfa2cf102bb992275138e694a67bd /tools/perf/scripts/python
parent3a01736e70a7d629140695ba46a901266b4460cc (diff)
perf: Use tracepoint_synchronize_unregister() to flush any pending tracepoint call
We use synchronize_sched() to ensure a tracepoint won't be called while/after we release the perf buffers it references. But the tracepoint API has its own API for that: tracepoint_synchronize_unregister(). Use it instead as it's self-explanatory and eases maintainance. Signed-off-by: Frederic Weisbecker <[email protected]> Cc: Ingo Molnar <[email protected]> Cc: Peter Zijlstra <[email protected]> Cc: Arnaldo Carvalho de Melo <[email protected]> Cc: Mathieu Desnoyers <[email protected]> Cc: Steven Rostedt <[email protected]> Cc: Li Zefan <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions