mirror of https://github.com/golang/go.git
Currently, collecting a stack trace via runtime.Stack captures the stack for the immediately running goroutines. This change extends those tracebacks to include the tracebacks of their ancestors. This is done with a low memory cost and only utilized when debug option tracebackancestors is set to a value greater than 0. Resolves #22289 Change-Id: I7edacc62b2ee3bd278600c4a21052c351f313f3a Reviewed-on: https://go-review.googlesource.com/70993 Run-TryBot: Brad Fitzpatrick <bradfitz@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Austin Clements <austin@google.com> |
||
|---|---|---|
| .. | ||
| abort.go | ||
| badtraceback.go | ||
| crash.go | ||
| deadlock.go | ||
| empty.s | ||
| gc.go | ||
| gettid.go | ||
| gettid_none.go | ||
| lockosthread.go | ||
| main.go | ||
| map.go | ||
| memprof.go | ||
| misc.go | ||
| numcpu_freebsd.go | ||
| panicrace.go | ||
| signal.go | ||
| stringconcat.go | ||
| syscall_windows.go | ||
| timeprof.go | ||
| traceback_ancestors.go | ||