Is it possible to do profiling (gprof) on ESP32?

yanbin
Posts: 5
Joined: Fri Nov 09, 2018 7:01 am

Is it possible to do profiling (gprof) on ESP32?

Postby yanbin » Fri Nov 09, 2018 7:13 am

Hi,
Now I am working on ESP32 and want to do know which function used much CPU time.
When use -pg to compile project, the xtensa toolchain said: undefined reference to `_mcount'.
How can I know which function used much CPU time?
Thanks.

ESP_igrr
Posts: 1305
Joined: Tue Dec 01, 2015 8:37 am

Re: Is it possible to do profiling (gprof) on ESP32?

Postby ESP_igrr » Sat Nov 10, 2018 6:40 am

Hi yanbin,

Gprof support is in review at the moment, and should appear in master next week or so.

yanbin
Posts: 5
Joined: Fri Nov 09, 2018 7:01 am

Re: Is it possible to do profiling (gprof) on ESP32?

Postby yanbin » Wed Nov 14, 2018 7:31 am

Thank you ESP_igrr!
Looking forward to this new feature! :)

Return to “General Discussion”

Who is online

Users browsing this forum: No registered users and 10 guests