Skip to main content

Module header

Module header 

Source
Expand description

Trace header: magic, format version, schema hash, and capture metadata.

Structs§

HostInfo
Host information recorded in the header.
TraceHeader
Trace session header.

Constants§

FORMAT_VERSION
The trace format version. Bump on any backward-incompatible change.
SCHEMA_HASH
Compile-time hash of the schema description.
SCHEMA_STRING
A canonical description of the v1 schema. Changing this string must change SCHEMA_HASH, which forces old readers to notice.
TRACE_MAGIC
Magic bytes at the start of every trace file: KATRATRC.