Fix typos
[ctf.git] / common-trace-format-specification.txt
index 7d013d071108dcc7fd3d6bcbbea1c008cd01f935..5568a270513c18dac05a83148245155323c64f1d 100644 (file)
@@ -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
 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
 
 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 {
 numeric value).
 
   event {
-    context = struct {
+    context := struct {
       variant <id> {
         struct { } compact;
         struct {
       variant <id> {
         struct { } compact;
         struct {
@@ -1390,7 +1392,7 @@ stream {
        event.header := struct {
                uint64_ccnt_t timestamp;
                /* ... */
        event.header := struct {
                uint64_ccnt_t timestamp;
                /* ... */
-       }
+       };
        packet.context := struct packet_context;
 };
 
        packet.context := struct packet_context;
 };
 
This page took 0.023587 seconds and 4 git commands to generate.