Re: [PATCH v3] perf symbols: Cannot disassemble some routines when debuginfo present

2018-11-28 Thread Jiri Olsa
On Wed, Nov 28, 2018 at 08:35:34AM -0800, Eric Saint-Etienne wrote: > When the kernel is compiled with -ffunction-sections and perf uses the > kernel debuginfo, perf fails the very first symbol lookup and ends up with > an hex offset inside [kernel.vmlinux]. It's due to how perf loads the maps. >

Re: [PATCH v3] perf symbols: Cannot disassemble some routines when debuginfo present

2018-11-28 Thread Jiri Olsa
On Wed, Nov 28, 2018 at 08:35:34AM -0800, Eric Saint-Etienne wrote: > When the kernel is compiled with -ffunction-sections and perf uses the > kernel debuginfo, perf fails the very first symbol lookup and ends up with > an hex offset inside [kernel.vmlinux]. It's due to how perf loads the maps. >

[PATCH v3] perf symbols: Cannot disassemble some routines when debuginfo present

2018-11-28 Thread Eric Saint-Etienne
When the kernel is compiled with -ffunction-sections and perf uses the kernel debuginfo, perf fails the very first symbol lookup and ends up with an hex offset inside [kernel.vmlinux]. It's due to how perf loads the maps. Indeed only .text gets loaded by map_groups__find() into al->map.

[PATCH v3] perf symbols: Cannot disassemble some routines when debuginfo present

2018-11-28 Thread Eric Saint-Etienne
When the kernel is compiled with -ffunction-sections and perf uses the kernel debuginfo, perf fails the very first symbol lookup and ends up with an hex offset inside [kernel.vmlinux]. It's due to how perf loads the maps. Indeed only .text gets loaded by map_groups__find() into al->map.