aboutsummaryrefslogtreecommitdiff
path: root/src/runtime/pprof/pprof.go
diff options
context:
space:
mode:
authorAustin Clements <austin@google.com>2026-02-09 19:17:12 -0500
committerGopher Robot <gobot@golang.org>2026-02-09 16:41:50 -0800
commit86f7959aa6e4cb9a0ac67ccd84c5586701583ca4 (patch)
tree450cfcd07c90542adbfa67fd3894222f18304b4b /src/runtime/pprof/pprof.go
parent0f550bcfc3ad8525331d535d1f1e844d86472cbe (diff)
downloadgo-86f7959aa6e4cb9a0ac67ccd84c5586701583ca4.tar.xz
runtime/pprof: fix missing Profile docs
CL 688335 accidentally introduced a blank line between the Profile doc comment and the type definition, causing the entire doc to get dropped. Change-Id: I97b1c0e57d142d7caea6e543a0138ed6dcd1c3fe Reviewed-on: https://go-review.googlesource.com/c/go/+/743660 LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com> Reviewed-by: Carlos Amedee <carlos@golang.org> Auto-Submit: Austin Clements <austin@google.com>
Diffstat (limited to 'src/runtime/pprof/pprof.go')
-rw-r--r--src/runtime/pprof/pprof.go1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/runtime/pprof/pprof.go b/src/runtime/pprof/pprof.go
index c27df22897..d560eeade1 100644
--- a/src/runtime/pprof/pprof.go
+++ b/src/runtime/pprof/pprof.go
@@ -171,7 +171,6 @@ import (
// holds a lock for 1s while 5 other goroutines are waiting for the entire
// second to acquire the lock, its unlock call stack will report 5s of
// contention.
-
type Profile struct {
name string
mu sync.Mutex