Re: [PATCH] perf unwind: Set userdata for all __report_module paths

From
Jan Kratochvil <hidden>
Date
2021-02-18 19:01:15
Reply to
unknown sender, 2021-02-18
On Thu, 18 Feb 2021 17:56:54 +0100, d.rigby@me.com wrote:
From: Dave Rigby <redacted>

When locating the dwarf module for a given address, __find_debuginfo()
requires a 'struct dso' passed via the userdata argument.

However, this field is only set in __report_module() if the module is
found in via dwfl_addrmodule(), not if it is found later via dwfl_report_elf().

Set userdata irrespective of how the dwarf module was found, as long
as we found a module.

Fixes: bf53fc6b5f41 ("perf unwind: Fix separate debug info files when using elfutils' libdw's unwinder")
Cc: <redacted>
Cc: Arnaldo Carvalho de Melo <acme@kernel.org>
Cc: Jan Kratochvil <redacted>
Cc: Jiri Olsa <redacted>
Acked-by: Jan Kratochvil <redacted>


Sorry for the regression,
Jan
Thread (6 messages) 6 messages, 3 authors, last reply 2021-02-18
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help