go/src/runtime/pprof
Michael Anthony Knyszek 2a98a1849f runtime: uphold goroutine profile invariants in coroswitch
Goroutine profiles require checking in with the profiler before any
goroutine starts running. coroswitch is a place where a goroutine may
start running, but where we do not check in with the profiler, which
leads to crashes. Fix this by checking in with the profiler the same way
execute does.

Fixes #69998.

Change-Id: Idef6dd31b70a73dd1c967b56c307c7a46a26ba73
Reviewed-on: https://go-review.googlesource.com/c/go/+/622016
Reviewed-by: David Chase <drchase@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
2024-10-24 17:09:10 +00:00
..
testdata
defs_darwin.go
defs_darwin_amd64.go
defs_darwin_arm64.go
elf.go
label.go all: change from sort functions to slices functions where feasible 2024-05-23 01:00:11 +00:00
label_test.go runtime: use slices and maps to clean up tests 2024-07-25 00:23:03 +00:00
map.go
mprof_test.go runtime: fix MutexProfile missing root frames 2024-09-25 17:30:33 +00:00
pe.go
pprof.go runtime: avoid multiple records with identical stacks from MutexProfile 2024-07-17 19:17:19 +00:00
pprof_norusage.go
pprof_rusage.go
pprof_test.go runtime: uphold goroutine profile invariants in coroswitch 2024-10-24 17:09:10 +00:00
pprof_windows.go
proto.go runtime/pprof: add context to short stack panic 2024-10-01 17:34:53 +00:00
proto_darwin.go
proto_other.go
proto_test.go
proto_windows.go
protobuf.go
protomem.go
protomem_test.go
runtime.go
runtime_test.go runtime: use slices and maps to clean up tests 2024-07-25 00:23:03 +00:00
rusage_test.go
vminfo_darwin.go
vminfo_darwin_test.go