Skip to content

Commit

Permalink
net/http/pprof: use "curl" instead of "wget" in usage example
Browse files Browse the repository at this point in the history
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: abf94855223c4ceac08dd0d18c5a2b97d1abcca9
GitHub-Pull-Request: golang/go#48718
Reviewed-on: https://go-review.googlesource.com/c/go/+/353401
Reviewed-by: Cherry Mui <[email protected]>
Reviewed-by: Ian Lance Taylor <[email protected]>
Run-TryBot: Cherry Mui <[email protected]>
TryBot-Result: Go Bot <[email protected]>
  • Loading branch information
leonklingele authored and ianlancetaylor committed Oct 2, 2021
1 parent cf241a3 commit 64da5e0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/net/http/pprof/pprof.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 https://localhost:6060/debug/pprof/trace?seconds=5
// curl -o trace.out https://localhost:6060/debug/pprof/trace?seconds=5
// go tool trace trace.out
//
// To view all available profiles, open https://localhost:6060/debug/pprof/
Expand Down

0 comments on commit 64da5e0

Please sign in to comment.