From 7409082d5b87159a0b2caefb8a631f8529fb2b61 Mon Sep 17 00:00:00 2001 From: Mathieu Desnoyers Date: Tue, 26 Nov 2013 12:46:18 -0500 Subject: [PATCH] Forbid events of length 0 Signed-off-by: Mathieu Desnoyers --- common-trace-format-specification.txt | 6 ++++++ 1 file changed, 6 insertions(+) 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 -- 2.34.1