]> Cypherpunks repositories - gostls13.git/commitdiff
runtime/pprof: document OS X being broken
authorRuss Cox <rsc@golang.org>
Mon, 31 Oct 2011 21:50:25 +0000 (17:50 -0400)
committerRuss Cox <rsc@golang.org>
Mon, 31 Oct 2011 21:50:25 +0000 (17:50 -0400)
R=golang-dev, r
CC=golang-dev
https://golang.org/cl/5307078

src/pkg/runtime/pprof/pprof.go

index fdeceb4e8dc6747e612615f92c38cceccc188b8b..702289645450d512c5d14804e88c0f962270abfb 100644 (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.