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