Commit d0eaa58b authored by Russ Cox's avatar Russ Cox

runtime/pprof: document OS X being broken

R=golang-dev, r
CC=golang-dev
https://golang.org/cl/5307078
parent a7e473be
...@@ -17,6 +17,9 @@ import ( ...@@ -17,6 +17,9 @@ import (
"sync" "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. // WriteHeapProfile writes a pprof-formatted heap profile to w.
// If a write to w returns an error, WriteHeapProfile returns that error. // If a write to w returns an error, WriteHeapProfile returns that error.
// Otherwise, WriteHeapProfile returns nil. // Otherwise, WriteHeapProfile returns nil.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment