mirror of
https://github.com/golang/go
synced 2024-11-02 11:50:30 +00: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
1 changed files with 3 additions and 0 deletions
|
@ -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 a new issue