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

yanbin
Posts: 1
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: 1183
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.

Who is online

Users browsing this forum: axellin, jumjum123 and 17 guests