• Austin Clements's avatar
    runtime: replace system goroutine whitelist with symbol test · 44286b17
    Austin Clements authored
    Currently isSystemGoroutine has a hard-coded list of known entry
    points into system goroutines. This list is annoying to maintain. For
    example, it's missing the ensureSigM goroutine.
    
    Replace it with a check that simply looks for any goroutine with
    runtime function as its entry point, with a few exceptions. This also
    matches the definition recently added to the trace viewer (CL 81315).
    
    Change-Id: Iaed723d4a6e8c2ffb7c0c48fbac1688b00b30f01
    Reviewed-on: https://go-review.googlesource.com/81655
    Run-TryBot: Austin Clements <austin@google.com>
    TryBot-Result: Gobot Gobot <gobot@golang.org>
    Reviewed-by: 's avatarKeith Randall <khr@golang.org>
    44286b17
Name
Last commit
Last update
..
autotype.go Loading commit data...
doc.go Loading commit data...
flag.go Loading commit data...
funcdata.go Loading commit data...
funcid.go Loading commit data...
head.go Loading commit data...
line.go Loading commit data...
path.go Loading commit data...
path_test.go Loading commit data...
reloctype.go Loading commit data...
reloctype_string.go Loading commit data...
stack.go Loading commit data...
symkind.go Loading commit data...
symkind_string.go Loading commit data...
typekind.go Loading commit data...
util.go Loading commit data...