-
Peter Weinberger authored
runtime.SetMutexProfileFraction(n int) will capture 1/n-th of stack traces of goroutines holding contended mutexes if n > 0. From runtime/pprof, pprot.Lookup("mutex").WriteTo writes the accumulated stack traces to w (in essentially the same format that blocking profiling uses). Change-Id: Ie0b54fa4226853d99aa42c14cb529ae586a8335a Reviewed-on: https://go-review.googlesource.com/29650Reviewed-by: Austin Clements <austin@google.com>
ca922b6d
Name |
Last commit
|
Last update |
---|---|---|
.. | ||
iotest | ||
quick | ||
allocs.go | ||
allocs_test.go | ||
benchmark.go | ||
benchmark_test.go | ||
cover.go | ||
example.go | ||
export_test.go | ||
match.go | ||
match_test.go | ||
sub_test.go | ||
testing.go | ||
testing_test.go |