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: 1454
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! :)

Malishev
Posts: 3
Joined: Tue Mar 05, 2019 7:35 am

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

Postby Malishev » Tue Mar 05, 2019 7:39 am

Hi. Any update on this? Is the gprof finally supported?

zhivko
Posts: 22
Joined: Tue Dec 01, 2015 12:02 pm

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

Postby zhivko » Fri Mar 15, 2019 7:54 pm

Anything new @igrr on this topic?

vyo2003
Posts: 17
Joined: Fri Dec 22, 2017 8:36 am

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

Postby vyo2003 » Wed Apr 10, 2019 6:56 pm

Any updates on this? Sounds like a neat thing to try out!

Who is online

Users browsing this forum: chibill, emilts, kbulusu and 16 guests