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().

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