Re: LTS perf unwind fix

From: Rantala, Tommi T. (Nokia - FI/Espoo)
Date: Thu May 27 2021 - 06:05:02 EST


Hi Greg,

Please apply these two commits to 5.4.y
(other LTSes are probably fine too, but I didn't test):


commit bf53fc6b5f415cddc7118091cb8fd6a211b2320d
Author: Jan Kratochvil <jan.kratochvil@xxxxxxxxxx>
Date: Fri Dec 4 09:17:02 2020 -0300

perf unwind: Fix separate debug info files when using elfutils'
libdw's unwinder


commit 4e1481445407b86a483616c4542ffdc810efb680
Author: Dave Rigby <d.rigby@xxxxxx>
Date: Thu Feb 18 16:56:54 2021 +0000

perf unwind: Set userdata for all __report_module() paths

[...]

Fixes: bf53fc6b5f41 ("perf unwind: Fix separate debug info files
when using elfutils' libdw's unwinder")


These commits fix some broken backtraces when using the perf tool.

Thanks!
-Tommi