mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
add trace in docker engine's pprof to show execution trace in binary form
Signed-off-by: allencloud <allen.sun@daocloud.io>
This commit is contained in:
parent
9de21de453
commit
8879458faa
1 changed files with 1 additions and 0 deletions
|
@ -18,6 +18,7 @@ func profilerSetup(mainRouter *mux.Router) {
|
|||
r.HandleFunc("/pprof/cmdline", pprof.Cmdline)
|
||||
r.HandleFunc("/pprof/profile", pprof.Profile)
|
||||
r.HandleFunc("/pprof/symbol", pprof.Symbol)
|
||||
r.HandleFunc("/pprof/trace", pprof.Trace)
|
||||
r.HandleFunc("/pprof/block", pprof.Handler("block").ServeHTTP)
|
||||
r.HandleFunc("/pprof/heap", pprof.Handler("heap").ServeHTTP)
|
||||
r.HandleFunc("/pprof/goroutine", pprof.Handler("goroutine").ServeHTTP)
|
||||
|
|
Loading…
Reference in a new issue