mirror of https://github.com/golang/go.git
net/http/pprof: use "curl" instead of "wget" in usage example
The "curl" binary is already used at several other places inside
the code base, whereas this was the only occurrence of "wget".
Change-Id: I2b9c5c353d08b3ba8289819b4a602c51f1ebd593
GitHub-Last-Rev: abf9485522
GitHub-Pull-Request: golang/go#48718
Reviewed-on: https://go-review.googlesource.com/c/go/+/353401
Reviewed-by: Cherry Mui <cherryyz@google.com>
Reviewed-by: Ian Lance Taylor <iant@golang.org>
Run-TryBot: Cherry Mui <cherryyz@google.com>
TryBot-Result: Go Bot <gobot@golang.org>
This commit is contained in:
parent
cf241a34a2
commit
64da5e0fd5
|
|
@ -44,7 +44,7 @@
|
|||
// The package also exports a handler that serves execution trace data
|
||||
// for the "go tool trace" command. To collect a 5-second execution trace:
|
||||
//
|
||||
// wget -O trace.out http://localhost:6060/debug/pprof/trace?seconds=5
|
||||
// curl -o trace.out http://localhost:6060/debug/pprof/trace?seconds=5
|
||||
// go tool trace trace.out
|
||||
//
|
||||
// To view all available profiles, open http://localhost:6060/debug/pprof/
|
||||
|
|
|
|||
Loading…
Reference in New Issue