From: Mathieu Desnoyers Date: Tue, 26 Nov 2013 17:46:18 +0000 (-0500) Subject: Forbid events of length 0 X-Git-Tag: v1.8.3~15 X-Git-Url: http://git.efficios.com/?p=ctf.git;a=commitdiff_plain;h=7409082d5b87159a0b2caefb8a631f8529fb2b61;ds=sidebyside Forbid events of length 0 Signed-off-by: Mathieu Desnoyers --- diff --git a/common-trace-format-specification.txt b/common-trace-format-specification.txt index 00ffe4a..dd00ca1 100644 --- a/common-trace-format-specification.txt +++ b/common-trace-format-specification.txt @@ -816,6 +816,12 @@ located in inner structures (those with a higher number in the listing above) can refer to the fields of outer structures (with lower number in the listing above). See Section 7.3 TSDL Scopes for more detail. +The total length of an event is defined as the difference between the +end of its Event Payload and the end of the previous event's Event +Payload. Therefore, it includes the event header alignment padding, and +all its fields and their respective alignment padding. Events of length +0 are forbidden. + 6.1 Event Header Event headers can be described within the meta-data. We hereby propose, as an