This is the mail archive of the
elfutils-devel@sourceware.org
mailing list for the elfutils project.
Re: Handling pgoff in perf elf mmap/mmap2 elf info
- From: Ulf Hermann <ulf dot hermann at qt dot io>
- To: Milian Wolff <mail at milianw dot de>, "elfutils-devel at sourceware dot org" <elfutils-devel at sourceware dot org>
- Cc: Mark Wielaard <mark at klomp dot org>, Christoph Sterz <christoph dot sterz at kdab dot com>
- Date: Thu, 11 Oct 2018 17:02:18 +0000
- Subject: Re: Handling pgoff in perf elf mmap/mmap2 elf info
- Accept-language: en-US
- References: <d0141f86-a010-ebff-e271-d11b556c30aa@kdab.com> <1537535249.6167.23.camel@klomp.org> <1592524.jgvKiEW90d@milian-kdab2> <3714108.l9E63im8cn@agathebauer>
- Spamdiagnosticmetadata: NSPM
- Spamdiagnosticoutput: 1:99
Hi Milian,
is there any pattern in how the loader maps the ELF sections into
memory? What sections does it actually map and which of those do we need
for unwinding?
I hope that only one of those MMAPs per ELF is actually meaningful and
we can simply add that one's pgoff as an extra member to Dwfl_Module and
use it whenever we poke the underlying file.
br,
Ulf