I use the profiler (eg. gprof call graph) and good old "printf/log tracing" for this.
PS: See also -finstrument-functions in gcc : https://gcc.gnu.org/onlinedocs/gcc/Instrumentation-Options.h... and https://balau82.wordpress.com/2010/10/06/trace-and-profile-f...
I use the profiler (eg. gprof call graph) and good old "printf/log tracing" for this.
PS: See also -finstrument-functions in gcc : https://gcc.gnu.org/onlinedocs/gcc/Instrumentation-Options.h... and https://balau82.wordpress.com/2010/10/06/trace-and-profile-f...