2 ms·
>Most confusion for me happens around dynamic dispatch. I want a good tool to generate and control dynamic call graphs. I use the profiler (eg. gprof call grap
by rramadass 3y ago
>Most confusion for me happens around dynamic dispatch. I want a good tool to generate and control dynamic call graphs.
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.html https://gcc.gnu.org/onlinedocs/gcc/Instrumentation-Options.h... and https://balau82.wordpress.com/2010/10/06/trace-and-profile-function-calls-with-gcc/ https://balau82.wordpress.com/2010/10/06/trace-and-profile-f...