X-Git-Url: http://git.efficios.com/?p=ctf.git;a=blobdiff_plain;f=common-trace-format-specification.txt;h=5568a270513c18dac05a83148245155323c64f1d;hp=7d013d071108dcc7fd3d6bcbbea1c008cd01f935;hb=26e496c6ce48c9a83dfab6bc03a840157d005f87;hpb=c23c2d0d9a23d99f631375cde28e395ec3c2aecb diff --git a/common-trace-format-specification.txt b/common-trace-format-specification.txt index 7d013d0..5568a27 100644 --- a/common-trace-format-specification.txt +++ b/common-trace-format-specification.txt @@ -468,9 +468,11 @@ by the mapping from the enumeration value to the string used as variant type selector. The field to use as tag is specified by the "tag_field", specified between "< >" after the "variant" keyword for unnamed variants, and after "variant name" for named variants. It is not -required that each enumeration mapping appears as variant type tag field. -However, it is required that any enumeration mapping encountered within a -stream has a matching variant type tag field. +required that each enumeration mapping appears as variant type tag +field. It is also not required that each variant type tag appears as +enumeration mapping. However, it is required that any enumeration +mapping encountered within a stream has a matching variant type tag +field. The alignment of the variant is the alignment of the type as selected by the tag value for the specific instance of the variant. The size of the @@ -940,7 +942,7 @@ header is selected. NR_FIELDS is the number of fields within the event (a numeric value). event { - context = struct { + context := struct { variant { struct { } compact; struct { @@ -1390,7 +1392,7 @@ stream { event.header := struct { uint64_ccnt_t timestamp; /* ... */ - } + }; packet.context := struct packet_context; };