Hi,
I wonder how to display instruction hit counts, so that hotspots in functions can be found.
Eventually could suffice to export raw PC Samples, so hit counting and sorting can be done with external tools,
can this be done in some way?
Regards
Details of how to do this can be found in the MCUXpresso IDE SWO Trace Guide, which is provided when you install MCUXpresso IDE.
I re-checked the guide but I could not find how to extract PC samples.
With SWO Profile I can see hit counts on functions but not at instruction level, there is a coverage bitmap, but the information about hit count on each instuction is discarded.
With SWO Data I can add memory mapped addresses but it seems you can't trace the PC register.