From: Mathieu Desnoyers Date: Wed, 13 Jul 2011 14:12:24 +0000 (-0400) Subject: Update: packet context sizes expressed in bits X-Git-Tag: v1.8~24 X-Git-Url: http://git.efficios.com/?p=ctf.git;a=commitdiff_plain;h=4dfca05b5dd7e266fd9fe48921382a222efbdd7c;hp=cda896824d4ebb68d04027a16031a026cdf382a3;ds=sidebyside Update: packet context sizes expressed in bits The rest of the specification express sizes in bits rather than bytes. The Babeltrace and LTTng reference implementations use bits rather than bytes for the packet context content_size and packet_size fields. Standardizing on bits rather than bytes makes the specification more consistent. Signed-off-by: Mathieu Desnoyers --- diff --git a/common-trace-format-specification.txt b/common-trace-format-specification.txt index b924b6f..d0636cf 100644 --- a/common-trace-format-specification.txt +++ b/common-trace-format-specification.txt @@ -1,4 +1,4 @@ -Common Trace Format (CTF) Specification (v1.7) +Common Trace Format (CTF) Specification (pre-v1.8) Mathieu Desnoyers, EfficiOS Inc. @@ -662,8 +662,8 @@ Event packet header (all fields are optional, specified by TSDL meta-data): Event packet context (all fields are optional, specified by TSDL meta-data): -- Event packet content size (in bytes). -- Event packet size (in bytes, includes padding). +- Event packet content size (in bits). +- Event packet size (in bits, includes padding). - Event packet content checksum. Checksum excludes the event packet header. - Per-stream event packet sequence count (to deal with UDP packet loss). The