mirror of
https://github.com/golang/go
synced 2024-09-05 07:54:46 +00:00
net/http/pprof: note calling runtime.SetBlockProfileRate is required for block profile
Fixes #15076 Change-Id: I5ce8f6253245d8cc1f862a1bf618775f557f955d Reviewed-on: https://go-review.googlesource.com/21610 Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
This commit is contained in:
parent
309144b7f1
commit
b2fc9f1c23
|
@ -30,7 +30,8 @@
|
|||
//
|
||||
// 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
|
||||
//
|
||||
|
|
Loading…
Reference in a new issue