func GoroutineHandler(summaries map[tracev2.GoID]*trace.GoroutineSummary) http.HandlerFunc
GoroutineHandler creates a handler that serves information about goroutines in a particular group.
func GoroutinesHandlerFunc(summaries map[tracev2.GoID]*trace.GoroutineSummary) http.HandlerFunc
GoroutinesHandlerFunc returns a HandlerFunc that serves list of goroutine groups.
func JSONTraceHandler(parsed *parsedTrace) http.Handler
func Main(traceFile, httpAddr, pprof string, debug int) error
Main is the main function for cmd/trace v2.
func UserRegionHandlerFunc(t *parsedTrace) http.HandlerFunc
UserRegionHandlerFunc returns a HandlerFunc that presents the details of the selected regions.
func UserRegionsHandlerFunc(t *parsedTrace) http.HandlerFunc
UserTasksHandlerFunc returns a HandlerFunc that reports all regions found in the trace.
func UserTaskHandlerFunc(t *parsedTrace) http.HandlerFunc
UserTaskHandlerFunc returns a HandlerFunc that presents the details of the selected tasks.
func UserTasksHandlerFunc(t *parsedTrace) http.HandlerFunc
UserTasksHandlerFunc returns a HandlerFunc that reports all tasks found in the trace.