]> Cypherpunks repositories - gostls13.git/commit
runtime/pprof: emit count profiles with debug=0 as proto profiles
authorMichael Matloob <matloob@golang.org>
Fri, 11 Nov 2016 20:01:58 +0000 (15:01 -0500)
committerMichael Matloob <matloob@golang.org>
Mon, 21 Nov 2016 17:15:30 +0000 (17:15 +0000)
commitccd69d058278ef97dfd9b122d3832ec027455e90
tree4ae914f5d4aeb5989fcb754b80e57f62b4d38b03
parent0bae74e8c9b5fab3baf61bde0169f4aa5e287bdc
runtime/pprof: emit count profiles with debug=0 as proto profiles

count profiles with debug=1 retain their previous format.
Also add a test check for the proto profiles since all runtime/pprof
tests only look at the debug=1 profiles.

Change-Id: Ibe805585b597e5d3570807115940a1dc4535c03f
Reviewed-on: https://go-review.googlesource.com/33148
Run-TryBot: Michael Matloob <matloob@golang.org>
Reviewed-by: Russ Cox <rsc@golang.org>
src/go/build/deps_test.go
src/runtime/pprof/pprof.go
src/runtime/pprof/pprof_test.go