trace

package standard library
go1.22.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 5, 2024 License: BSD-3-Clause Imports: 22 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GoroutineHandler

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

func GoroutinesHandlerFunc(summaries map[tracev2.GoID]*trace.GoroutineSummary) http.HandlerFunc

GoroutinesHandlerFunc returns a HandlerFunc that serves list of goroutine groups.

func JSONTraceHandler

func JSONTraceHandler(parsed *parsedTrace) http.Handler

func Main

func Main(traceFile, httpAddr, pprof string, debug int) error

Main is the main function for cmd/trace v2.

func UserRegionHandlerFunc

func UserRegionHandlerFunc(t *parsedTrace) http.HandlerFunc

UserRegionHandlerFunc returns a HandlerFunc that presents the details of the selected regions.

func UserRegionsHandlerFunc

func UserRegionsHandlerFunc(t *parsedTrace) http.HandlerFunc

UserTasksHandlerFunc returns a HandlerFunc that reports all regions found in the trace.

func UserTaskHandlerFunc

func UserTaskHandlerFunc(t *parsedTrace) http.HandlerFunc

UserTaskHandlerFunc returns a HandlerFunc that presents the details of the selected tasks.

func UserTasksHandlerFunc

func UserTasksHandlerFunc(t *parsedTrace) http.HandlerFunc

UserTasksHandlerFunc returns a HandlerFunc that reports all tasks found in the trace.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL