diff options
| author | Waiman Long <[email protected]> | 2018-04-26 11:34:27 +0100 |
|---|---|---|
| committer | Ingo Molnar <[email protected]> | 2018-04-27 09:48:53 +0200 |
| commit | 81d3dc9a349b1e61d77106bbb05a6e6dd29b9d5e (patch) | |
| tree | 448afcc709a1cdbce9b0af2df4f23418b04b5a76 /tools/perf/scripts/python/bin/stackcollapse-record | |
| parent | ae75d9089ff7095d1d1a12c3cd86b21d3eaf3b15 (diff) | |
locking/qspinlock: Add stat tracking for pending vs. slowpath
Currently, the qspinlock_stat code tracks only statistical counts in the
PV qspinlock code. However, it may also be useful to track the number
of locking operations done via the pending code vs. the MCS lock queue
slowpath for the non-PV case.
The qspinlock stat code is modified to do that. The stat counter
pv_lock_slowpath is renamed to lock_slowpath so that it can be used by
both the PV and non-PV cases.
Signed-off-by: Waiman Long <[email protected]>
Acked-by: Peter Zijlstra (Intel) <[email protected]>
Acked-by: Waiman Long <[email protected]>
Cc: Linus Torvalds <[email protected]>
Cc: Thomas Gleixner <[email protected]>
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-record')
0 files changed, 0 insertions, 0 deletions