mirror of
https://github.com/golang/go.git
synced 2024-09-21 18:38:37 +00:00
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 <iant@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Austin Clements <austin@google.com>
This commit is contained in:
parent
2c1791b13b
commit
2256e38978
@ -149,7 +149,7 @@ func SetCPUProfileRate(hz int) {
|
|||||||
|
|
||||||
cpuprof.on = true
|
cpuprof.on = true
|
||||||
// pprof binary header format.
|
// 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 := &cpuprof.log[0]
|
||||||
p[0] = 0 // count for header
|
p[0] = 0 // count for header
|
||||||
p[1] = 3 // depth for header
|
p[1] = 3 // depth for header
|
||||||
|
Loading…
Reference in New Issue
Block a user