]> Cypherpunks.ru repositories - gostls13.git/commitdiff
runtime: update pprof binary header URL
authorIan Lance Taylor <iant@golang.org>
Fri, 27 May 2016 21:33:23 +0000 (14:33 -0700)
committerIan Lance Taylor <iant@golang.org>
Tue, 31 May 2016 21:10:20 +0000 (21:10 +0000)
The code has moved from code.google.com to github.com.

Change-Id: I0cc9eb69b3fedc9e916417bc7695759632f2391f
Reviewed-on: https://go-review.googlesource.com/23523
Run-TryBot: Ian Lance Taylor <iant@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Austin Clements <austin@google.com>
src/runtime/cpuprof.go

index 4b9dfafb909e06c229da5bad419514c70455e5ff..b9a6b88b0c486d17a230b48a0e4eaa1bb30b1bc6 100644 (file)
@@ -149,7 +149,7 @@ func SetCPUProfileRate(hz int) {
 
                cpuprof.on = true
                // pprof binary header format.
-               // http://code.google.com/p/google-perftools/source/browse/trunk/src/profiledata.cc#117
+               // https://github.com/gperftools/gperftools/blob/master/src/profiledata.cc#L119
                p := &cpuprof.log[0]
                p[0] = 0                 // count for header
                p[1] = 3                 // depth for header