package version
import "internal/trace/v2/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 ( Go122 Version = 22 Current = Go122 )
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
- v1.22.8
- Published
- Sep 28, 2024
- Platform
- linux/amd64
- Imports
- 4 packages
- Last checked
- 1 second ago –
Tools for package owners.