mirror of https://github.com/golang/go.git
For generic functions, the previous CL makes it record the full instantiated symbol name in the runtime func table. This CL changes the pprof package to use that name in CPU profile. This way, it matches the symbol name the compiler sees, so it can apply PGO. TODO: add a test. Fixes #58712. Change-Id: If40db01cbef5f73c279adcc9c290a757ef6955b6 Reviewed-on: https://go-review.googlesource.com/c/go/+/491678 Reviewed-by: Michael Pratt <mpratt@google.com> TryBot-Result: Gopher Robot <gobot@golang.org> Run-TryBot: Cherry Mui <cherryyz@google.com> |
||
|---|---|---|
| .. | ||
| testdata | ||
| elf.go | ||
| label.go | ||
| label_test.go | ||
| map.go | ||
| mprof_test.go | ||
| pe.go | ||
| pprof.go | ||
| pprof_norusage.go | ||
| pprof_rusage.go | ||
| pprof_test.go | ||
| pprof_windows.go | ||
| proto.go | ||
| proto_other.go | ||
| proto_test.go | ||
| proto_windows.go | ||
| protobuf.go | ||
| protomem.go | ||
| protomem_test.go | ||
| runtime.go | ||
| runtime_test.go | ||
| rusage_test.go | ||