trace command
Trace is a tool for viewing trace files.
Trace files can be generated with:
- runtime/trace.Start
- net/http/pprof package
- go test -trace
Example usage: Generate a trace file with 'go test':
go test -trace trace.out pkg
View the trace in a web browser:
go tool trace pkg.test trace.out
- Version
- v1.5.2
- Published
- Dec 3, 2015
- Platform
- js/wasm
- Imports
- 18 packages
- Last checked
- 4 seconds ago –
Tools for package owners.