go/src/runtime/pprof
Michael Pratt d0c9142ce3 runtime/pprof: hide map runtime frames from heap profiles
Heap profiles hide "runtime" frames like runtime.mapassign. This broke
in 1.24 because the map implementation moved to internal/runtime/maps,
and runtime/pprof only considered literal "runtime." when looking for
runtime frames.

It would be nice to use cmd/internal/objabi.PkgSpecial to find runtime
packages, but that is hidden away in cmd.

Fixes #71174.

Change-Id: I6a6a636cb42aa17539e47da16854bd3fd8cb1bfe
Reviewed-on: https://go-review.googlesource.com/c/go/+/641775
Auto-Submit: Michael Pratt <mpratt@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Michael Knyszek <mknyszek@google.com>
2025-01-09 13:59:08 -08:00
..
testdata
defs_darwin.go
defs_darwin_amd64.go
defs_darwin_arm64.go
elf.go
label.go runtime/pprof: reduce label overhead 2024-11-16 14:15:10 +00:00
label_test.go runtime/pprof: reduce label overhead 2024-11-16 14:15:10 +00:00
map.go
mprof_test.go all: skip and fix various tests with -asan and -msan 2024-10-28 21:04:51 +00:00
pe.go
pprof.go runtime/pprof: hide map runtime frames from heap profiles 2025-01-09 13:59:08 -08:00
pprof_norusage.go
pprof_rusage.go
pprof_test.go all: fix some function names and typos in comment 2024-11-21 22:16:20 +00:00
pprof_windows.go
proto.go runtime/pprof: reduce label overhead 2024-11-16 14:15:10 +00:00
proto_darwin.go
proto_other.go
proto_test.go
proto_windows.go
protobuf.go
protomem.go runtime/pprof: hide map runtime frames from heap profiles 2025-01-09 13:59:08 -08:00
protomem_test.go runtime/pprof: hide map runtime frames from heap profiles 2025-01-09 13:59:08 -08:00
runtime.go
runtime_test.go runtime/pprof: reduce label overhead 2024-11-16 14:15:10 +00:00
rusage_test.go
vminfo_darwin.go
vminfo_darwin_test.go runtime/pprof: continued attempt to deflake the VMInfo test. 2024-12-19 19:19:59 -08:00