Re: [PATCH v8 0/4] Tracing contention lock owner call stack
From: Namhyung Kim
Date: Fri Feb 28 2025 - 17:26:49 EST
On Wed, 26 Feb 2025 16:28:52 -0800, Chun-Tse Shao wrote:
> For perf lock contention, the current owner tracking (-o option) only
> works with per-thread mode (-t option). Enabling call stack mode for
> owner can be useful for diagnosing why a system running slow in
> lock contention.
>
> Example output:
> $ sudo ~/linux/tools/perf/perf lock con -abvo -Y mutex -E16 perf bench sched pipe
> ...
> contended total wait max wait avg wait type caller
>
> [...]
Applied to perf-tools-next, thanks!
Best regards,
Namhyung