From: Mathieu Desnoyers Date: Thu, 5 May 2011 22:34:31 +0000 (-0400) Subject: Explain that content size and packet size are opt. X-Git-Tag: v1.8~52 X-Git-Url: http://git.efficios.com/?p=ctf.git;a=commitdiff_plain;h=6a7c61df4c4610004973ce0cff21fc72d8969de5 Explain that content size and packet size are opt. Signed-off-by: Mathieu Desnoyers --- diff --git a/common-trace-format-proposal.txt b/common-trace-format-proposal.txt index efd780f..0e57046 100644 --- a/common-trace-format-proposal.txt +++ b/common-trace-format-proposal.txt @@ -604,8 +604,9 @@ don't need to declare a "stream_id" field. 5.2 Event Packet Context Description Event packet context example. These are declared within the stream declaration -in the metadata. All these fields are optional except for "content_size" and -"packet_size", which must be present in the context. +in the metadata. All these fields are optional. If the packet size field is +missing, the whole stream only contains a single packet. If the content +size field is missing, the packet is filled (no padding). An example event packet context type: