mirror of https://github.com/tailscale/tailscale/
util/goroutines: let ScrubbedGoroutineDump get only current stack
ScrubbedGoroutineDump previously only returned the stacks of all goroutines. I also want to be able to use this for only the current goroutine's stack. Add a bool param to support both ways. Updates tailscale/corp#5149 Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com>pull/8429/head
parent
fbacc0bd39
commit
7c1068b7ac
Loading…
Reference in New Issue