MCPcopy
hub / github.com/uber-go/goleak / All

Function All

internal/stack/stacks.go:228–230  ·  view source on GitHub ↗

All returns the stacks for all running goroutines.

()

Source from the content-addressed store, hash-verified

226
227// All returns the stacks for all running goroutines.
228func All() []Stack {
229 return getStacks(true)
230}
231
232// Current returns the stack for the current goroutine.
233func Current() Stack {

Callers 6

TestOptionsFiltersFunction · 0.92
getStableAllFunction · 0.92
IgnoreCurrentFunction · 0.92
FindFunction · 0.92
TestAllFunction · 0.85

Calls 1

getStacksFunction · 0.85

Tested by 4

TestOptionsFiltersFunction · 0.74
getStableAllFunction · 0.74
TestAllFunction · 0.68