From 07a815eb55e85ed3b480fe2aae30b2ef565c0ba9 Mon Sep 17 00:00:00 2001 From: Ben Johnson Date: Fri, 12 Aug 2016 10:02:22 -0600 Subject: [PATCH] add http trace profiling --- handler.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/handler.go b/handler.go index 2c1510d53..fe4cecd85 100644 --- a/handler.go +++ b/handler.go @@ -59,6 +59,8 @@ func (h *Handler) ServeHTTP(w http.ResponseWriter, r *http.Request) { pprof.Profile(w, r) case "/debug/pprof/symbol": pprof.Symbol(w, r) + case "/debug/pprof/trace": + pprof.Trace(w, r) default: pprof.Index(w, r) }