go/src/testing
Peter Weinberger ca922b6d36 runtime: Profile goroutines holding contended mutexes.
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/29650
Reviewed-by: Austin Clements <austin@google.com>
2016-10-28 11:47:16 +00:00
..
iotest all: single space after period. 2016-03-02 00:13:47 +00:00
quick all: freeze net/rpc and reword the 'frozen' message in other frozen packages 2016-10-26 16:11:07 +00:00
allocs.go all: single space after period. 2016-03-02 00:13:47 +00:00
allocs_test.go all: make copyright headers consistent with one space after period 2016-03-01 23:34:33 +00:00
benchmark.go cmd/go, testing: indicate when no tests are run 2016-10-19 02:34:44 +00:00
benchmark_test.go
cover.go
example.go cmd/go, testing: indicate when no tests are run 2016-10-19 02:34:44 +00:00
export_test.go
match.go testing: add matching of subtest 2016-04-21 19:58:31 +00:00
match_test.go testing: fix vet warning 2016-05-12 16:22:42 +00:00
sub_test.go testing: don't be silent if a test's goroutine fails a test after test exits 2016-05-24 16:27:47 +00:00
testing.go runtime: Profile goroutines holding contended mutexes. 2016-10-28 11:47:16 +00:00
testing_test.go all: make copyright headers consistent with one space after period 2016-03-01 23:34:33 +00:00