package version
import "golang.org/x/exp/trace/internal/version"
Index ¶
Functions ¶
func WriteHeader ¶
WriteHeader writes a header for a trace version v to w.
Types ¶
type Version ¶
type Version uint32
Version represents the version of a trace file.
const ( Go111 Version = 11 Go119 Version = 19 Go121 Version = 21 Go122 Version = 22 Go123 Version = 23 Current = Go123 )
func ReadHeader ¶
ReadHeader reads the version of the trace out of the trace file's header, whose prefix must be present in v.
func (Version) Specs ¶
Specs returns the set of event.Specs for this version.
func (Version) Valid ¶
Source Files ¶
version.go
- Version
- v0.0.0-20250218142911-aa4b98e5adaa (latest)
- Published
- Feb 18, 2025
- Platform
- linux/amd64
- Imports
- 4 packages
- Last checked
- 3 days ago –
Tools for package owners.