Home
last modified time | relevance | path

Searched hist:dc1f7893a70fe403983bd8492f177bf993940e2c (Results 1 – 2 of 2) sorted by relevance

/openbmc/linux/include/trace/events/
H A Dlock.hdiff dc1f7893a70fe403983bd8492f177bf993940e2c Wed Mar 30 06:06:54 CDT 2022 Peter Zijlstra <peterz@infradead.org> 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>
/openbmc/linux/kernel/locking/
H A Dmutex.cdiff dc1f7893a70fe403983bd8492f177bf993940e2c Wed Mar 30 06:06:54 CDT 2022 Peter Zijlstra <peterz@infradead.org> 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>