PS: One more question:
Christian Hergert wrote:
We have an in-tree parser for ELF that allows us to avoid a lot of
extraneous code when extracting symbols. Partially because libunwind is
incredibly slow (by profiler requirements), and partially because
historically we never had to stash stack frames for contextual unwinding.
Frank Ch. Eigler mentions that elfutils has a more modern unwinding library.
Could that perhaps solve your performance issues with libunwind?
Kevin Kofler