aboutsummaryrefslogtreecommitdiff
path: root/kernel/locking/rtmutex.c
diff options
context:
space:
mode:
authorNamhyung Kim <[email protected]>2022-03-22 11:57:08 -0700
committerPeter Zijlstra <[email protected]>2022-04-05 10:24:35 +0200
commit16edd9b511a13e7760ed4b92ba4e39bacda5c86f (patch)
tree00f84f1cf80f93a9ff061d3a40cab7cfeaa03d9d /kernel/locking/rtmutex.c
parent1ee326196c66583006b0c95356a4b7dc51bf3531 (diff)
locking: Add lock contention tracepoints
This adds two new lock contention tracepoints like below: * lock:contention_begin * lock:contention_end The lock:contention_begin takes a flags argument to classify locks. I found it useful to identify what kind of locks it's tracing like if it's spinning or sleeping, reader-writer lock, real-time, and per-cpu. Move tracepoint definitions into mutex.c so that we can use them without lockdep. Signed-off-by: Namhyung Kim <[email protected]> Signed-off-by: Peter Zijlstra (Intel) <[email protected]> Tested-by: Hyeonggon Yoo <[email protected]> Link: https://lkml.kernel.org/r/[email protected]
Diffstat (limited to 'kernel/locking/rtmutex.c')
0 files changed, 0 insertions, 0 deletions