mirror of
https://github.com/golang/go
synced 2024-11-05 11:46:12 -07:00
4ccd092f47
When the -count flag is provided, instead of having each run overwrite the previous profile, add a count suffix to the profile filename. Then you can combine the profiles with go tool pprof `go tool -n compile` <all profile files here> This was done for CPU profiles in https://golang.org/cl/39718. Change-Id: I4aa66d745fe18088655fc1d9cf3ecf29f68370bb Reviewed-on: https://go-review.googlesource.com/c/tools/+/166523 Run-TryBot: Josh Bleecher Snyder <josharian@gmail.com> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Matthew Dempsky <mdempsky@google.com> |
||
---|---|---|
.. | ||
main.go |