Re: [PATCH RFC 1/3] locking: Add contended_release tracepoint
From: Dmitry Ilvokhin
Date: Tue Mar 10 2026 - 12:03:42 EST
On Thu, Mar 05, 2026 at 07:55:52AM +0900, Masami Hiramatsu wrote:
> On Wed, 4 Mar 2026 16:56:15 +0000
> Dmitry Ilvokhin <d@xxxxxxxxxxxx> wrote:
>
> > Add the contended_release trace event. This tracepoint fires on the
> > holder side when a contended lock is released, complementing the
> > existing contention_begin/contention_end tracepoints which fire on the
> > waiter side.
> >
> > This enables correlating lock hold time under contention with waiter
> > events by lock address. Subsequent patches wire this tracepoint into
> > the individual lock implementations.
> >
>
> OK, but I don't recommend you to split the traceevent definition
> and its usage. Could you combine [1/3] and [3/3], so that we can
> understand why this event is introduced and where it is recorded
> by checking one commit?
Thanks, Masami, absolutely. I'll squash these commits.