aboutsummaryrefslogtreecommitdiff
path: root/src/net/http
diff options
context:
space:
mode:
authorOleksandr Redko <oleksandr.red+github@gmail.com>2024-10-24 14:11:30 +0300
committerCherry Mui <cherryyz@google.com>2024-10-25 15:32:34 +0000
commitdd4fee7ec63a30783fac7bfdc9a26b1e06a4b376 (patch)
tree347b426f1d1b3a7bcbe67cbfb6d7eba16c473c9f /src/net/http
parentb45c7f1661a88d6765e2a5e1eaff4c06c5af33ed (diff)
downloadgo-dd4fee7ec63a30783fac7bfdc9a26b1e06a4b376.tar.xz
net/http/pprof: fix typo in the symbol profile description
Change-Id: I55e1c559bc73537c8cd42c213c56e2ddaf33aa44 Reviewed-on: https://go-review.googlesource.com/c/go/+/622097 Reviewed-by: Dmitri Shuralyov <dmitshur@google.com> LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com> Reviewed-by: Cherry Mui <cherryyz@google.com>
Diffstat (limited to 'src/net/http')
-rw-r--r--src/net/http/pprof/pprof.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/net/http/pprof/pprof.go b/src/net/http/pprof/pprof.go
index 2167f060be..be3e44c6d2 100644
--- a/src/net/http/pprof/pprof.go
+++ b/src/net/http/pprof/pprof.go
@@ -367,7 +367,7 @@ var profileDescriptions = map[string]string{
"heap": "A sampling of memory allocations of live objects. You can specify the gc GET parameter to run GC before taking the heap sample.",
"mutex": "Stack traces of holders of contended mutexes",
"profile": "CPU profile. You can specify the duration in the seconds GET parameter. After you get the profile file, use the go tool pprof command to investigate the profile.",
- "symbol": "Maps given program counters to function names. Counters can be specifed in a GET raw query or POST body, multiple counters are separated by '+'.",
+ "symbol": "Maps given program counters to function names. Counters can be specified in a GET raw query or POST body, multiple counters are separated by '+'.",
"threadcreate": "Stack traces that led to the creation of new OS threads",
"trace": "A trace of execution of the current program. You can specify the duration in the seconds GET parameter. After you get the trace file, use the go tool trace command to investigate the trace.",
}