From: Ian Lance Taylor Date: Fri, 27 May 2016 21:33:23 +0000 (-0700) Subject: runtime: update pprof binary header URL X-Git-Tag: go1.7beta1~27 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=2256e38978a38a954df72ab50423c1883f1063d7;p=gostls13.git runtime: update pprof binary header URL 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 TryBot-Result: Gobot Gobot Reviewed-by: Austin Clements --- diff --git a/src/runtime/cpuprof.go b/src/runtime/cpuprof.go index 4b9dfafb90..b9a6b88b0c 100644 --- a/src/runtime/cpuprof.go +++ b/src/runtime/cpuprof.go @@ -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