]> Cypherpunks repositories - gostls13.git/commit
runtime/pprof: generate heap profiles in compressed proto format
authorMichael Matloob <matloob@golang.org>
Mon, 21 Nov 2016 17:10:07 +0000 (12:10 -0500)
committerMichael Matloob <matloob@golang.org>
Tue, 22 Nov 2016 15:54:58 +0000 (15:54 +0000)
commit86ab09eed55e4b70e642ad97d243d3090550b624
tree6644a10b06ac613440eb6c810f407f8c4b377fe6
parentf88a33aeac427b57a9acb4ecf6e26d7191ab60cc
runtime/pprof: generate heap profiles in compressed proto format

When debug is 0, emit the compressed proto format.
The debug>0 format stays the same.

Updates #16093

Change-Id: I45aa1874a22d34cf44dd4aa78bbff9302381cb34
Reviewed-on: https://go-review.googlesource.com/33422
Run-TryBot: Michael Matloob <matloob@golang.org>
Reviewed-by: Russ Cox <rsc@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
src/runtime/pprof/internal/protopprof/protomemprofile.go [new file with mode: 0644]
src/runtime/pprof/internal/protopprof/protomemprofile_test.go [new file with mode: 0644]
src/runtime/pprof/pprof.go