1
0
mirror of https://github.com/google/gops.git synced 2025-02-19 19:59:55 +02:00

agent: remove debug annotations from heap profile

This commit is contained in:
Jaana Burcu Dogan 2016-11-13 21:00:00 -08:00
parent a0334e989c
commit 50ad24c982

View File

@ -101,7 +101,7 @@ func handle(conn net.Conn, msg []byte) error {
case signal.Version:
fmt.Fprintf(conn, "%v\n", runtime.Version())
case signal.HeapProfile:
pprof.Lookup("heap").WriteTo(conn, 1)
pprof.Lookup("heap").WriteTo(conn, 0)
case signal.CPUProfile:
if err := pprof.StartCPUProfile(conn); err != nil {
return nil