]> Cypherpunks repositories - gostls13.git/commitdiff
[release-branch.go1.26] runtime/pprof: fix missing Profile docs
authorAustin Clements <austin@google.com>
Tue, 10 Feb 2026 00:17:12 +0000 (19:17 -0500)
committerJunyang Shao <shaojunyang@google.com>
Tue, 10 Feb 2026 01:09:22 +0000 (17:09 -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/+/743680
Auto-Submit: Austin Clements <austin@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Junyang Shao <shaojunyang@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