go/src/runtime/pprof
Austin Clements 0bbd67e52f runtime/pprof: document possibility of empty stacks
I spent quite a while determining the cause of empty stacks in
profiles and reasoning out why this is okay. There isn't a great place
to record this knowledge, but a documentation comment on
appendLocsForStack is better than nothing.

Updates #51550.

Change-Id: I2eefc6ea31f1af885885c3d96199319f45edb4ce
Reviewed-on: https://go-review.googlesource.com/c/go/+/460695
Reviewed-by: Felix Geisendörfer <felix.geisendoerfer@datadoghq.com>
Run-TryBot: Austin Clements <austin@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Michael Pratt <mpratt@google.com>
2023-01-09 20:25:19 +00:00
..
testdata
elf.go
label.go runtime/pprof: set labelMap length 2022-09-19 16:58:39 +00:00
label_test.go
map.go
mprof_test.go
pe.go runtime/pprof: add memory mapping info for Windows 2022-08-20 00:18:04 +00:00
pprof.go all: add missing periods in comments 2022-11-18 17:59:44 +00:00
pprof_norusage.go runtime/pprof: report MaxRSS on windows 2022-08-19 20:04:21 +00:00
pprof_rusage.go all: use "unix" build tag where appropriate 2022-09-30 23:58:34 +00:00
pprof_test.go runtime/pprof: improve output of TestLabelSystemstack 2023-01-09 20:25:17 +00:00
pprof_windows.go runtime/pprof: report MaxRSS on windows 2022-08-19 20:04:21 +00:00
proto.go runtime/pprof: document possibility of empty stacks 2023-01-09 20:25:19 +00:00
proto_other.go runtime/pprof: add memory mapping info for Windows 2022-08-20 00:18:04 +00:00
proto_test.go runtime/pprof: use strings.Builder 2022-09-08 14:57:47 +00:00
proto_windows.go runtime/pprof: add memory mapping info for Windows 2022-08-20 00:18:04 +00:00
protobuf.go all: omit comparison bool constant to simplify code 2022-09-30 20:09:46 +00:00
protomem.go
protomem_test.go
runtime.go runtime/pprof: set Function.start_line field 2022-10-14 14:48:40 +00:00
runtime_test.go
rusage_test.go all: use "unix" build tag where appropriate 2022-09-30 23:58:34 +00:00