For Kinetis Design Studio 3.0, is there a gcc profiler option for callgraph?

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

For Kinetis Design Studio 3.0, is there a gcc profiler option for callgraph?

843 Views
josekoenig
Contributor I

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. 

2 Replies

671 Views
BlackNight
NXP Employee
NXP Employee

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

0 Kudos
Reply

671 Views
Carlos_Mendoza
NXP Employee
NXP Employee

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