aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/net/http/pprof/pprof.go3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/net/http/pprof/pprof.go b/src/net/http/pprof/pprof.go
index 35b3285a08..a237f58609 100644
--- a/src/net/http/pprof/pprof.go
+++ b/src/net/http/pprof/pprof.go
@@ -20,6 +20,9 @@
// log.Println(http.ListenAndServe("localhost:6060", nil))
// }()
//
+// If you are not using DefaultServeMux, you will have to register handlers
+// with the mux you are using.
+//
// Then use the pprof tool to look at the heap profile:
//
// go tool pprof http://localhost:6060/debug/pprof/heap