Files
linux/include/trace/events
Namhyung Kim 16edd9b511 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 <namhyung@kernel.org>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Tested-by: Hyeonggon Yoo <42.hyeyoo@gmail.com>
Link: https://lkml.kernel.org/r/20220322185709.141236-2-namhyung@kernel.org
2022-04-05 10:24:35 +02:00
..
2021-11-10 21:16:56 +00:00
2020-11-30 12:54:01 +00:00
2021-06-29 10:53:52 -07:00
2021-11-02 14:39:20 -05:00
2022-03-08 17:55:03 -07:00
2021-06-29 10:53:52 -07:00
2020-04-22 12:55:54 -07:00
2021-05-31 22:48:24 -04:00
2021-06-29 11:28:21 -07:00
2021-05-14 15:26:03 -07:00
2021-03-23 14:08:18 -04:00