Commit b2fc9f1c authored by Dan Peterson's avatar Dan Peterson Committed by Brad Fitzpatrick

net/http/pprof: note calling runtime.SetBlockProfileRate is required for block profile

Fixes #15076

Change-Id: I5ce8f6253245d8cc1f862a1bf618775f557f955d
Reviewed-on: https://go-review.googlesource.com/21610Reviewed-by: 's avatarBrad Fitzpatrick <bradfitz@golang.org>
parent 309144b7
...@@ -30,7 +30,8 @@ ...@@ -30,7 +30,8 @@
// //
// go tool pprof http://localhost:6060/debug/pprof/profile // go tool pprof http://localhost:6060/debug/pprof/profile
// //
// Or to look at the goroutine blocking profile: // Or to look at the goroutine blocking profile, after calling
// runtime.SetBlockProfileRate in your program:
// //
// go tool pprof http://localhost:6060/debug/pprof/block // go tool pprof http://localhost:6060/debug/pprof/block
// //
......
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