1
0
mirror of https://github.com/golang/go synced 2024-11-21 22:54: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:
Russ Cox 2011-10-31 17:50:25 -04:00
parent a7e473be95
commit d0eaa58b5a

View File

@ -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.