</xs:choice>
</xs:complexType>
+ <!-- Maps to a lttng_event_rule. -->
+ <xs:complexType name="trace_format_descriptor_type">
+ <xs:all>
+ <xs:element ref="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="trace_format_descriptor_ctf1_type" substitutionGroup="trace_format_descriptor_sub_type" />
+ <xs:element name="ctf2" type="trace_format_descriptor_ctf2_type" substitutionGroup="trace_format_descriptor_sub_type" />
+
+ <!-- Maps to a lttng_trace_format_ctf1_descriptor. -->
+ <xs:complexType name="trace_format_descriptor_ctf1_type">
+ <xs:all>
+ </xs:all>
+ </xs:complexType>
+
+ <!-- Maps to a lttng_trace_format_ctf2_descriptor. -->
+ <xs:complexType name="trace_format_descriptor_ctf2_type">
+ <xs:all>
+ </xs:all>
+ </xs:complexType>
+
<xs:complexType name="session_type">
<xs:all>
<xs:element name="name" type="name_type"/>
<xs:element name="started" type="xs:boolean" default="0" minOccurs="0"/>
<xs:element name="attributes" type="session_attributes_type" minOccurs="0"/>
<xs:element name="output" type="session_output_type" minOccurs="0"/>
+ <xs:element name="trace_format" type="trace_format_descriptor_type" minOccurs="0" />
</xs:all>
</xs:complexType>