add http trace profiling

This commit is contained in:
Ben Johnson 2016-08-12 10:02:22 -06:00
parent edce8c537c
commit 07a815eb55
No known key found for this signature in database
GPG key ID: 81741CD251883081

View file

@ -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)
}