• Eric Daniels's avatar
    runtime/traceback: support tracking goroutine ancestor tracebacks with… · d9b006a7
    Eric Daniels authored
    runtime/traceback: support tracking goroutine ancestor tracebacks with GODEBUG="tracebackancestors=N"
    
    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: 's avatarAustin Clements <austin@google.com>
    d9b006a7
Name
Last commit
Last update
..
abort.go Loading commit data...
badtraceback.go Loading commit data...
crash.go Loading commit data...
deadlock.go Loading commit data...
empty.s Loading commit data...
gc.go Loading commit data...
gettid.go Loading commit data...
gettid_none.go Loading commit data...
lockosthread.go Loading commit data...
main.go Loading commit data...
map.go Loading commit data...
memprof.go Loading commit data...
misc.go Loading commit data...
numcpu_freebsd.go Loading commit data...
panicrace.go Loading commit data...
signal.go Loading commit data...
stringconcat.go Loading commit data...
syscall_windows.go Loading commit data...
timeprof.go Loading commit data...
traceback_ancestors.go Loading commit data...