+ <!-- Maps to a lttng_event_rule. -->
+ <xs:complexType name="trace_format_descriptor_type">
+ <xs:all>
+ <xs:element ref="tns:trace_format_descriptor_sub_type" minOccurs="1" />
+ </xs:all>
+ </xs:complexType>
+
+ <!-- Maps to a lttng_trace_format_descriptor subtypes -->
+ <xs:element name="trace_format_descriptor_sub_type" abstract="true"/>
+ <xs:element name="ctf1" type="tns:trace_format_descriptor_ctf1_type" substitutionGroup="tns:trace_format_descriptor_sub_type" />
+ <xs:element name="ctf2" type="tns:trace_format_descriptor_ctf2_type" substitutionGroup="tns:trace_format_descriptor_sub_type" />
+
+ <!-- Maps to a lttng_trace_format_ctf1_descriptor. -->
+ <xs:complexType name="trace_format_descriptor_ctf1_type">
+ <xs:all>
+ <xs:element name="major" type="tns:uint64_type" minOccurs="1" />
+ <xs:element name="minor" type="tns:uint64_type" minOccurs="1" />
+ </xs:all>
+ </xs:complexType>
+
+ <!-- Maps to a lttng_trace_format_ctf2_descriptor. -->
+ <xs:complexType name="trace_format_descriptor_ctf2_type">
+ <xs:all>
+ <xs:element name="major" type="tns:uint64_type" minOccurs="1" />
+ <xs:element name="minor" type="tns:uint64_type" minOccurs="1" />
+ </xs:all>
+ </xs:complexType>
+