runtime/pprof: provide method to dump cpu profile as plain text #40204
Labels
compiler/runtime
Issues related to the Go compiler and/or runtime.
NeedsInvestigation
Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
Milestone
What version of Go are you using (
go version
)?Does this issue reproduce with the latest release?
Y
What operating system and processor architecture are you using (
go env
)?go env
OutputWhat did you do?
use runtime/pprof to dump cpu/mem/goroutine profile.
What did you expect to see?
All types of profiles should have plain text output, eg
I can write memory or any other profile as plain text:
But it's really hard to get a plain text CPU profile, especially when there is no executable go or pprof binary and no internet connection.
What did you see instead?
There is no way to dump cpu profile directly in plain text.
The text was updated successfully, but these errors were encountered: