diff options
| author | Peter Zijlstra <[email protected]> | 2019-05-27 10:23:26 +0200 |
|---|---|---|
| committer | Ingo Molnar <[email protected]> | 2019-06-03 12:32:56 +0200 |
| commit | 24811637dbfd07c69da7e9db586d35d17e6afca3 (patch) | |
| tree | ac7a759ba9a78de252373c28eef8ff5c69098bda /tools/perf/scripts/python/stackcollapse.py | |
| parent | d9349850e188b8b59e5322fda17ff389a1c0cd7d (diff) | |
locking/lock_events: Use raw_cpu_{add,inc}() for stats
Instead of playing silly games with CONFIG_DEBUG_PREEMPT toggling
between this_cpu_*() and __this_cpu_*() use raw_cpu_*(), which is
exactly what we want here.
Signed-off-by: Peter Zijlstra (Intel) <[email protected]>
Acked-by: Linus Torvalds <[email protected]>
Cc: Borislav Petkov <[email protected]>
Cc: Davidlohr Bueso <[email protected]>
Cc: H. Peter Anvin <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Thomas Gleixner <[email protected]>
Cc: Tim Chen <[email protected]>
Cc: Waiman Long <[email protected]>
Cc: Will Deacon <[email protected]>
Cc: huang ying <[email protected]>
Link: https://lkml.kernel.org/r/[email protected]
Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions