diff options
| author | Daniel Thompson <[email protected]> | 2015-03-26 12:23:24 -0700 |
|---|---|---|
| committer | Ingo Molnar <[email protected]> | 2015-03-27 08:33:58 +0100 |
| commit | 13dbeb384d2d3aa555ea48d511e8cb110bd172e0 (patch) | |
| tree | a368f8a4eaeec87369c337b0d677f8d18a065dd6 /tools/perf/scripts/python/syscall-counts-by-pid.py | |
| parent | cf7c9c170787d6870af54684822f58acc00a966c (diff) | |
timers, sched/clock: Remove suspend from clock_read_data()
Currently cd.read_data.suspended is read by the hotpath function
sched_clock(). This variable need not be accessed on the
hotpath. In fact, once it is removed, we can remove the
conditional branches from sched_clock() and install a dummy
read_sched_clock function to suspend the clock.
The new master copy of the function pointer
(actual_read_sched_clock) is introduced and is used for all
reads of the clock hardware except those within sched_clock
itself.
Suggested-by: Thomas Gleixner <[email protected]>
Signed-off-by: Daniel Thompson <[email protected]>
Signed-off-by: John Stultz <[email protected]>
Reviewed-by: Stephen Boyd <[email protected]>
Acked-by: Peter Zijlstra (Intel) <[email protected]>
Cc: Catalin Marinas <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Russell King <[email protected]>
Cc: Will Deacon <[email protected]>
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts-by-pid.py')
0 files changed, 0 insertions, 0 deletions