pprof
pprof copied to clipboard
pprof is a tool for visualization and analysis of profiling data
if objectfile's buildid is not consistent with mapping buildid. the source html would not work right.
Resolves #837
### What version of pprof are you using? ```bash (moose) pw-moose@pwmoose-PowerEdge-T640:~/go/bin$ go version go version go1.18.1 linux/amd64 ``` > If you run pprof from GitHub, what's the Git revision? Today,...
Please answer these questions before submitting your issue. Thanks! ### What version of pprof are you using? If you are using pprof via `go tool pprof`, what's your `go env`...
#891 added support for populating function start lines using llvm-symbolizer data. One caveat is that if llvm-symbolizer is not available, the default `go test ./...` run fails with the error...
This comment reflects how the pprof toolchain already treats this case, so this change is primarily to signify that it is the expected behavior from consumers. @aalexand
use go run golang.org/x/tools/gopls/internal/analysis/modernize/cmd/modernize@latest -fix -test ./... to make the code more modern and easy to read.
This is so that pprof itself can be profiled when needed. Tested: started the web UI, collected /debug/pprof/heap and /debug/pprof/profile profiles.
### What version of pprof are you using? the pprof of go version go1.23.7 linux/amd64 ### What operating system and processor architecture are you using? Linux n37-109-068 5.4.143.bsk.8-amd64 #5.4.143.bsk.8 SMP...
Repro (needs to be on OSX, in `pprof` repo) ``` $ go test -o ./profile/foo -c -memprofile=mem.pb.gz ./profile/ $ (cd profile/ && ./foo -test.memprofile ../mem.pb.gz) PASS $ go tool pprof...