Important changes to forums and questions
All forums and questions are now archived. To start a new conversation or read the latest updates go to forums.mbed.com.
7 years, 9 months ago.
How to profile with gprof in mbedOS 5?
I need to profile my application, so the best approach I found is gprof, but can't compile my project for profiling with mbed tools.
I did succed to enable profiling with gprof*, but I still have a problem, actually I don't want to profile all files, howa can we exclude some files from being profiled?
- To enable gprof you need to add -pg in your debug profile and remove another option "-fomit-frame-pointer", because both are incompatible.
posted by abdou sen 21 Mar 2017