diff options
author | 2022-03-30 13:06:54 +0200 | |
---|---|---|
committer | 2022-04-05 10:24:36 +0200 | |
commit | dc1f7893a70fe403983bd8492f177bf993940e2c (patch) | |
tree | 0601a9c8f14c338fbae6755284036b50e98501d1 /scripts/generate_rust_analyzer.py | |
parent | locking: Apply contention tracepoints in the slow path (diff) | |
download | wireguard-linux-dc1f7893a70fe403983bd8492f177bf993940e2c.tar.xz wireguard-linux-dc1f7893a70fe403983bd8492f177bf993940e2c.zip |
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 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions