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