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:
parent
a0334e989c
commit
50ad24c982
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user