Re: [PATCH v2] perf unwind-libdw: Fix unwinding of multi-threaded processes
From: Namhyung Kim
Date: Sun Aug 02 2026 - 01:47:02 EST
On Fri, 24 Jul 2026 17:40:57 +0200, Alessio Podda wrote:
> The libdw callback API has two levels: dwfl_getthread_frames() first finds
> the requested thread using the next_thread() or get_thread() callback and
> then walks its stack.
>
> Since perf only has a snapshot of the stack of a single thread, it
> provides a stubbed-out API that always returns the pid the Dwfl was
> attached with (i.e. whatever was passed to dwfl_attach_state()), rather
> than the actual sampled thread's TID.
>
> [...]
Applied to perf-tools-next, thanks!
Best regards,
Namhyung