Re: [PATCH] elfutils/configure.ac: use $READELF, not readelf

2020-06-15 Thread Mark Wielaard
Hi Sergei, On Sun, 2020-06-14 at 20:28 +0100, Sergei Trofimovich wrote: > Allow user to specify own readelf. Use detected readelf, > not 'readelf'. You are absolutely right. We have an explicit AC_CHECK_TOOL for readelf, so we should use the result whenever we use READELF. Added ChangeLog entry

Re: Difference between dwarf_getscopes and dwarf_getscopes_die

2020-06-15 Thread Josh Stone via Elfutils-devel
On 6/13/20 10:34 AM, Milian Wolff wrote: > Hey all, > > can someone explain me the difference between dwarf_getscopes and > dwarf_getscopes_die? Ideally, this should then be added to the documentation > too. dwarf_getscopes_die just follows the DWARF structure of direct DIE parents, whereas dwa

Re: Can dwarf_getscopes{,_die} performance be improved?

2020-06-15 Thread Josh Stone via Elfutils-devel
On 6/13/20 10:40 AM, Milian Wolff wrote: > Has anyone an idea on how to to post-process the DWARF data to optimize the > lookup of inlined frames? SystemTap implements its own cache for repeated lookups -- see dwflpp::get_die_parents().

[COMMITTED] tests: Use #/usr/bin/env bash in scripts that use bash

2020-06-15 Thread Mark Wielaard
Some systems don't have bash in /bin. Signed-off-by: Mark Wielaard --- config/ChangeLog | 4 +++ config/upload-release.sh | 2 +- tests/ChangeLog | 30 +++ tests/coverage.sh | 2 +-