Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
5.1 Event Packet Header Fixed Layout Description
5.1 Event Packet Header Fixed Layout Description
+The event packet header layout is indicated by the trace packet.header
+field. Here is an example structure type for the packet header with the
+fields typically expected:
+
struct event_packet_header {
uint32_t magic;
uint8_t trace_uuid[16];
uint32_t stream_id;
};
struct event_packet_header {
uint32_t magic;
uint8_t trace_uuid[16];
uint32_t stream_id;
};
+trace {
+ ...
+ packet.header := struct event_packet_header;
+};
+
5.2 Event Packet Context Description
Event packet context example. These are declared within the stream declaration
5.2 Event Packet Context Description
Event packet context example. These are declared within the stream declaration
major = value; /* Trace format version */
minor = value;
uuid = "aaaaaaaa-aaaa-aaaa-aaaa-aaaaaaaaaaaa"; /* Trace UUID */
major = value; /* Trace format version */
minor = value;
uuid = "aaaaaaaa-aaaa-aaaa-aaaa-aaaaaaaaaaaa"; /* Trace UUID */
+ packet.header := struct {
+ uint32_t magic;
+ uint8_t trace_uuid[16];
+ uint32_t stream_id;
+ };