[Not related to gnulib, but of general interest anyway.] You find in the Gnow-How wiki a writeup about profiling tools, how to use them, and their respective advantages and drawbacks:
https://gitlab.com/ghwiki/gnow-how/-/wikis/Profiling/with_call_graph If you would like to contribute to this wiki, drop me a note. Your experience matters just as much as mine! Bruno