mirror of
https://github.com/golang/go
synced 2024-11-21 17:34:40 -07:00
runtime/pprof: document OS X being broken
R=golang-dev, r CC=golang-dev https://golang.org/cl/5307078
This commit is contained in:
parent
a7e473be95
commit
d0eaa58b5a
@ -17,6 +17,9 @@ import (
|
||||
"sync"
|
||||
)
|
||||
|
||||
// BUG(rsc): CPU profiling is broken on OS X, due to an Apple kernel bug.
|
||||
// For details, see http://code.google.com/p/go/source/detail?r=35b716c94225.
|
||||
|
||||
// WriteHeapProfile writes a pprof-formatted heap profile to w.
|
||||
// If a write to w returns an error, WriteHeapProfile returns that error.
|
||||
// Otherwise, WriteHeapProfile returns nil.
|
||||
|
Loading…
Reference in New Issue
Block a user