I have selected profiling with gprof and am also receiving
undefined reference to `__gnu_mcount_nc'
errors at link time.
Any suggestions are appreciated.
Thank you - I had already found that. I had assumed they would come in some kind of SDK from NXP's universe.... I can't believe the MCUXpresso IDE environment supports profiling, but the user is forced to generate their own source for it.
If I use the linked article, how to get the gprof source programs, should I just copy and paste them into my project?
What about this alternative that at least lives on github? https://github.com/OP-TEE/optee_os/tree/master/lib/libutee/arch/arm/gprof
In my mind at least that code is open source and source-controlled.
I appreciate your help.
Bruce