]> Cypherpunks repositories - gostls13.git/commitdiff
runtime/pprof: update outdated google/pprof link
authorhi-rustin <rustin.liu@gmail.com>
Mon, 19 Feb 2024 15:22:37 +0000 (15:22 +0000)
committerGopher Robot <gobot@golang.org>
Tue, 20 Feb 2024 14:59:57 +0000 (14:59 +0000)
Google/pprof changed the master branch to main, so it might be better to update it to the latest.

Change-Id: Id29aca80a9a83a9c10da215180ad65816bc88936
GitHub-Last-Rev: 0023c28dc0d84a2529e24c694acfed7a363d2d0b
GitHub-Pull-Request: golang/go#65792
Reviewed-on: https://go-review.googlesource.com/c/go/+/565177
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Than McIntosh <thanm@google.com>
Reviewed-by: Ian Lance Taylor <iant@google.com>
Auto-Submit: Ian Lance Taylor <iant@google.com>

src/runtime/pprof/pprof.go

index a8422181cca4f72bfc8a6726e5a1b0fe5cb8c980..e352b39caf5dec5bb835b7bb39a7732d294fec96 100644 (file)
@@ -352,7 +352,7 @@ func (p *Profile) Remove(value any) {
 //
 // The debug parameter enables additional output.
 // Passing debug=0 writes the gzip-compressed protocol buffer described
-// in https://github.com/google/pprof/tree/master/proto#overview.
+// in https://github.com/google/pprof/tree/main/proto#overview.
 // Passing debug=1 writes the legacy text format with comments
 // translating addresses to function names and line numbers, so that a
 // programmer can read the profile without tools.