]> Cypherpunks repositories - gostls13.git/commitdiff
runtime/pprof: fix missing Profile docs
authorAustin Clements <austin@google.com>
Tue, 10 Feb 2026 00:17:12 +0000 (19:17 -0500)
committerGopher Robot <gobot@golang.org>
Tue, 10 Feb 2026 00:41:50 +0000 (16:41 -0800)
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>

src/runtime/pprof/pprof.go

index c27df2289783157a9bf7eca9362526c8627dd367..d560eeade1a93f7bc0e038c6495536fd85bc71ec 100644 (file)
@@ -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