runtime/pprof: use full file paths in source #45283
Labels
compiler/runtime
Issues related to the Go compiler and/or runtime.
NeedsFix
The path to resolution is known, but the work has not been done.
Milestone
What version of Go are you using (
go version
)?Does this issue reproduce with the latest release?
Yes
What operating system and processor architecture are you using (
go env
)?go env
OutputWhat did you do?
Coming here from google/pprof#611 in which
and when I tried to pprof with code in Go modules, I'd fail as shown above with
and I found that this could be resolved by passing in the Go mod path, and I sent a change to github.com/google/pprof but @ghemawat raised a great point that perhaps we should fix this in Go itself which makes lots of sense /cc @aalexand
What did you expect to see?
Ability to use
go tool pprof
with no sweatWhat did you see instead?
Failed to open files that are with go modules.
The text was updated successfully, but these errors were encountered: