Re: [PATCH v2] perf tools: Resolve symbols against debug file first

2021-02-17 Thread Arnaldo Carvalho de Melo
Em Wed, Feb 17, 2021 at 01:21:25PM +0100, Jiri Slaby escreveu: > With LTO, there are symbols like these: > /usr/lib/debug/usr/lib64/libantlr4-runtime.so.4.8-4.8-1.4.x86_64.debug > 10305: 00955fa4 0 NOTYPE LOCAL DEFAULT 29 > Predicate.cpp.2bc410e7 > > This comes from a runtime/deb

[PATCH v2] perf tools: Resolve symbols against debug file first

2021-02-17 Thread Jiri Slaby
With LTO, there are symbols like these: /usr/lib/debug/usr/lib64/libantlr4-runtime.so.4.8-4.8-1.4.x86_64.debug 10305: 00955fa4 0 NOTYPE LOCAL DEFAULT 29 Predicate.cpp.2bc410e7 This comes from a runtime/debug split done by the standard way: objcopy --only-keep-debug $runtime $debu