diff options
author | Peter Zijlstra <peterz@infradead.org> | 2022-03-30 13:06:54 +0200 |
---|---|---|
committer | Peter Zijlstra <peterz@infradead.org> | 2022-04-05 10:24:36 +0200 |
commit | dc1f7893a70fe403983bd8492f177bf993940e2c (patch) | |
tree | 0601a9c8f14c338fbae6755284036b50e98501d1 /tools/perf/scripts/python/mem-phys-addr.py | |
parent | ee042be16cb455116d0fe99b77c6bc8baf87c8c6 (diff) |
locking/mutex: Make contention tracepoints more consistent wrt adaptive spinning
Have the trace_contention_*() tracepoints consistently include
adaptive spinning. In order to differentiate between the spinning and
non-spinning states add LCB_F_MUTEX and combine with LCB_F_SPIN.
The consequence is that a mutex contention can now triggler multiple
_begin() tracepoints before triggering an _end().
Additionally, this fixes one path where mutex would trigger _end()
without ever seeing a _begin().
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Diffstat (limited to 'tools/perf/scripts/python/mem-phys-addr.py')
0 files changed, 0 insertions, 0 deletions