Re: How to associate Elf with Dwfl_Module returned by dwfl_report_module

2018-03-22 Thread Ulf Hermann
Hi Milian, > I am regularly seeing broken backtraces for samples where I have > the gut feeling that missing reported ELFs are to blame. But we report > everything, except for scenarios where the mmap events seemingly overlap. Actually, at least for perfparser that's not quite true. When perfpa

Re: How to associate Elf with Dwfl_Module returned by dwfl_report_module

2018-03-22 Thread Milian Wolff
On Mittwoch, 21. März 2018 22:21:13 CET Mark Wielaard wrote: > Hi Milian, > > On Wed, Mar 21, 2018 at 02:01:41PM +0100, Milian Wolff wrote: > > Here's the code for the perf tools: > > > > https://git.kernel.org/pub/scm/linux/kernel/git/acme/linux.git/tree/tools/ > > perf/util/unwind-libdw.c?h=per

Re: How to associate Elf with Dwfl_Module returned by dwfl_report_module

2018-03-22 Thread Milian Wolff
On Mittwoch, 21. März 2018 22:31:07 CET Mark Wielaard wrote: > On Wed, Mar 21, 2018 at 03:23:51PM +0100, Milian Wolff wrote: > > Here's one way to investigate where perf and dwfl disagree on the file > > mappings: > > > > diff --git a/tools/perf/util/unwind-libdw.c > > b/tools/perf/util/unwind-lib

Re: How to associate Elf with Dwfl_Module returned by dwfl_report_module

2018-03-22 Thread Milian Wolff
On Donnerstag, 22. März 2018 10:11:29 CET Ulf Hermann wrote: > Hi Milian, > > > I am regularly seeing broken backtraces for samples where I have > > the gut feeling that missing reported ELFs are to blame. But we report > > everything, except for scenarios where the mmap events seemingly overlap.