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.
Is it possible to do profiling (gprof) on ESP32?
Re: Is it possible to do profiling (gprof) on ESP32?
Hi yanbin,
Gprof support is in review at the moment, and should appear in master next week or so.
Gprof support is in review at the moment, and should appear in master next week or so.
Re: Is it possible to do profiling (gprof) on ESP32?
Thank you ESP_igrr!
Looking forward to this new feature!
Looking forward to this new feature!
Re: Is it possible to do profiling (gprof) on ESP32?
Hi. Any update on this? Is the gprof finally supported?
Re: Is it possible to do profiling (gprof) on ESP32?
Anything new @igrr on this topic?
Re: Is it possible to do profiling (gprof) on ESP32?
Any updates on this? Sounds like a neat thing to try out!
-
- Posts: 5
- Joined: Mon Oct 25, 2021 8:37 am
Re: Is it possible to do profiling (gprof) on ESP32?
I would be also interested in this.
-
- Posts: 168
- Joined: Sun May 22, 2022 2:42 pm
Re: Is it possible to do profiling (gprof) on ESP32?
Resurrecting this old thread… it seems it's available these days via https://components.espressif.com/compon ... ssif/gprof -- any experiences with doing it that way? Were the results expected / accurate?
Who is online
Users browsing this forum: No registered users and 92 guests