Re: faddr2line issue

From: John Garry
Date: Thu Jul 14 2022 - 05:59:20 EST


On 08/07/2022 15:47, John Garry wrote:

+

JFYI, This issue is caused by CONFIG_DEBUG_INFO now being default off in my .config from commit f9b3cd245784 ("Kconfig.debug: make DEBUG_INFO selectable from a choice").

By enabling that config faddr2line now looks ok again.

BTW, Could we add a check for any kernel dependency in this tool?

Thanks,
John

Hi Josh,

I am finding that for a few mainline kernel releases that faddr2line does seem to be working:

./scripts/faddr2line vmlinux  sas_discover_domain+0x4dc/0x560
sas_discover_domain+0x4dc/0x560:
fs mm ??:0

This is on my arm64 system. I have not tried another arch. Are there any known issues?

Maybe I'm using it incorrectly... I can go back and see when this stopped working for me.

Cheers,
John