I would like to know if the gcc --callgraph option is available in Kinetis Design Studio 3.0 and Cross ARM gcc tool chain or a paid version of it. I am not sure if this is an option that will work with embedded software or if it only run under the debug mode.
If it is about generating graphs of call/function dependencies, I'm using doxygen with Eclipse, see 5 Best Eclipse Plugins: #1 (Eclox with Doxygen, Graphviz and Mscgen) | MCU on Eclipse
To generate call graph information (in textual form), I'm using the approach described in Poor Man’s Trace: Free-of-Charge Function Entry/Exit Trace with GNU Tools | MCU on Eclipse
I hope this helps,
Erich
Hi Jose,
I think that the following post created by our colleague Erich Styger might be helpful for you, it explains the usage of GNU Profiling (gprof) with ARM Cortex-M:
Tutorial: Using GNU Profiling (gprof) with ARM Cortex-M | MCU on Eclipse
Hope it helps!
Best Regards,
Carlos Mendoza
Technical Support Engineer