From: Mathieu Desnoyers Date: Tue, 7 May 2013 16:00:51 +0000 (-0400) Subject: Clarify event layout X-Git-Tag: v1.8.3~19 X-Git-Url: http://git.efficios.com/?p=ctf.git;a=commitdiff_plain;h=0b174d87e0f022a098caaeba1789c99a759bca30 Clarify event layout Signed-off-by: Mathieu Desnoyers --- diff --git a/common-trace-format-specification.txt b/common-trace-format-specification.txt index 482731c..b40193f 100644 --- a/common-trace-format-specification.txt +++ b/common-trace-format-specification.txt @@ -54,7 +54,7 @@ Table of Contents 6.1 Event Header 6.1.1 Type 1 - Few event IDs 6.1.2 Type 2 - Many event IDs - 6.2 Event Context + 6.2 Stream Event Context and Event Context 6.3 Event Payload 6.3.1 Padding 6.3.2 Alignment @@ -801,11 +801,10 @@ struct event_packet_context { The overall structure of an event is: -1 - Stream Packet Context (as specified by the stream meta-data) - 2 - Event Header (as specified by the stream meta-data) - 3 - Stream Event Context (as specified by the stream meta-data) - 4 - Event Context (as specified by the event meta-data) - 5 - Event Payload (as specified by the event meta-data) +1 - Event Header (as specified by the stream meta-data) + 2 - Stream Event Context (as specified by the stream meta-data) + 3 - Event Context (as specified by the event meta-data) + 4 - Event Payload (as specified by the event meta-data) This structure defines an implicit dynamic scoping, where variants located in inner structures (those with a higher number in the listing @@ -896,7 +895,7 @@ struct event_header_2 { } align(16); /* or align(8) */ -6.2 Event Context +6.2 Stream Event Context and Event Context The event context contains information relative to the current event. The choice and meaning of this information is specified by the TSDL