-Common Trace Format (CTF) Specification (v1.7)
+Common Trace Format (CTF) Specification (pre-v1.8)
Mathieu Desnoyers, EfficiOS Inc.
Event packet context (all fields are optional, specified by TSDL meta-data):
-- Event packet content size (in bytes).
-- Event packet size (in bytes, includes padding).
-- Event packet content checksum (optional). Checksum excludes the event packet
+- Event packet content size (in bits).
+- Event packet size (in bits, includes padding).
+- Event packet content checksum. Checksum excludes the event packet
header.
- Per-stream event packet sequence count (to deal with UDP packet loss). The
number of significant sequence counter bits should also be present, so
event header as selector.
The target dynamic scope must be specified explicitly when referring to
-a field outside of the local static scope. The dynamic scope prefixes
-are thus:
+a field outside of the local static scope (a local static scope contains
+all fields present within the same scope, at the same nesting level).
+The dynamic scope prefixes are thus:
- Trace Packet Header: <trace.packet.header. >,
- Stream Packet Context: <stream.packet.context. >,