From 50ad24c98209dc1677b8acaef43fe49e198545b1 Mon Sep 17 00:00:00 2001 From: Jaana Burcu Dogan Date: Sun, 13 Nov 2016 21:00:00 -0800 Subject: [PATCH] agent: remove debug annotations from heap profile --- agent/agent.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/agent/agent.go b/agent/agent.go index 0031c6b..4d7696f 100644 --- a/agent/agent.go +++ b/agent/agent.go @@ -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