Re: [PATCH 4/4] perf report: Fix return value when loading PE DSO

2021-02-12 Thread Arnaldo Carvalho de Melo
Em Wed, Feb 10, 2021 at 02:18:02PM -0500, Nicholas Fraser escreveu: > The first time dso__load() was called on a PE file it always returned -1 > error. This caused the first call to map__find_symbol() to always fail > on a PE file so the first sample from each PE file always had symbol > . Subseque

[PATCH 4/4] perf report: Fix return value when loading PE DSO

2021-02-10 Thread Nicholas Fraser
The first time dso__load() was called on a PE file it always returned -1 error. This caused the first call to map__find_symbol() to always fail on a PE file so the first sample from each PE file always had symbol . Subsequent samples succeed however because the DSO is already loaded. This fixes ds