Re: How to associate Elf with Dwfl_Module returned by dwfl_report_module

2018-03-21 Thread Milian Wolff
On Dienstag, 20. März 2018 23:05:49 CET Mark Wielaard wrote: > Hi Milian, Hey Mark :) > On Sat, Mar 17, 2018 at 02:14:48PM +0100, Milian Wolff wrote: > > a recurring issue in the libdwfl integration of perf and perfparser are > > supposedly overlapping modules. The perf data file contains the exa

Re: How to associate Elf with Dwfl_Module returned by dwfl_report_module

2018-03-21 Thread Milian Wolff
On Mittwoch, 21. März 2018 14:01:41 CET Milian Wolff wrote: > On Dienstag, 20. März 2018 23:05:49 CET Mark Wielaard wrote: > > Hi Milian, > > Hey Mark :) > > > On Sat, Mar 17, 2018 at 02:14:48PM +0100, Milian Wolff wrote: > > > a recurring issue in the libdwfl integration of perf and perfparser a

Re: How to associate Elf with Dwfl_Module returned by dwfl_report_module

2018-03-21 Thread Ulf Hermann
> MEH: heaptrack_print | mmap: 56166e9d4000 56166ea39000 | dwfl: 56166e9d4000 > 56166ea38880 > MEH: ld-2.26.so | mmap: 7fd0afc6c000 7fd0afe93000 | dwfl: 7fd0afc6c000 > 7fd0afe920f8 > MEH: libc-2.26.so | mmap: 7fd0ae16a000 7fd0ae521000 | dwfl: 7fd0ae16a000 > 7fd0ae5208f0 > MEH: libstdc++.so.6.0.2

Re: How to associate Elf with Dwfl_Module returned by dwfl_report_module

2018-03-21 Thread Mark Wielaard
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=perf/core#n52 > > Here's the code for the perfparser: > > http://code.qt.io/

Re: How to associate Elf with Dwfl_Module returned by dwfl_report_module

2018-03-21 Thread Mark Wielaard
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-libdw.c > index 7bdd239c795c..739c68b73772 100644 > --- a/tools/perf/util/unw