diff options
| author | Austin Clements <austin@google.com> | 2026-02-09 19:17:12 -0500 |
|---|---|---|
| committer | Junyang Shao <shaojunyang@google.com> | 2026-02-09 17:09:22 -0800 |
| commit | 2b56adf3d1ea5fb5ad1f0644e15937fa412785bf (patch) | |
| tree | 91f28a4154f041c1880e1eaa8147e0981785faa1 | |
| parent | bf69803f97c1afadcfb29fea820326ffe8e87c6d (diff) | |
| download | go-2b56adf3d1ea5fb5ad1f0644e15937fa412785bf.tar.xz | |
[release-branch.go1.26] 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/+/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>
| -rw-r--r-- | src/runtime/pprof/pprof.go | 1 |
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 |
