aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorThomas Gleixner <[email protected]>2015-04-03 02:01:10 +0200
committerIngo Molnar <[email protected]>2015-04-03 08:44:31 +0200
commit592a438ff3fea61d303c5784c209b3f1fd3e16df (patch)
tree8ce6cf8c2095a516e9226305649332bae70490a4 /tools/perf/scripts/python
parent3ff70551a942b4c1d3c2e96e31a5c6e369a6d0be (diff)
clockevents: Provide explicit broadcast control functions
clockevents_notify() is a leftover from the early design of the clockevents facility. It's really not a notification mechanism, it's a multiplex call. We are way better off to have explicit calls instead of this monstrosity. Split out the broadcast control into a separate function and provide inline helpers. Switch clockevents_notify() over. This will go away once all callers are converted. This also gets rid of the nested locking of clockevents_lock and broadcast_lock. The broadcast control functions do not require clockevents_lock. Only the managing functions (setup/shutdown/suspend/resume of the broadcast device require clockevents_lock. Signed-off-by: Thomas Gleixner <[email protected]> Signed-off-by: Rafael J. Wysocki <[email protected]> Cc: Daniel Lezcano <[email protected]> Cc: Len Brown <[email protected]> Cc: Peter Zijlstra <[email protected]> Cc: Tony Lindgren <[email protected]> Link: http://lkml.kernel.org/r/[email protected] Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions