Re: [PATCH] perf tools: Use symfs when opening debuginfo by path
From: Namhyung Kim
Date: Thu Feb 13 2025 - 12:21:49 EST
On Wed, 12 Feb 2025 14:14:45 -0800, Namhyung Kim wrote:
> I found that it failed to load a binary using --symfs option. Say I
> have a binary in /home/user/prog/xxx and a perf data file with it. If I
> move them to a different machine and use --symfs, it tries to find the
> binary in some locations under symfs using dso__read_binary_type_filename(),
> but not the last one.
>
> ${symfs}/usr/lib/debug/home/user/prog/xxx.debug
> ${symfs}/usr/lib/debug/home/user/prog/xxx
> ${symfs}/home/user/prog/.debug/xxx
> /home/user/prog/xxx
>
> [...]
Applied to perf-tools-next, thanks!
Best regards,
Namhyung