Save/load: support session trace format
[lttng-tools.git] / src / common / session.xsd
index 986fb2dda175a8df19f3cec1be20264ab92e4052..4248f8e6b384e2332ea046208e4a03d7ca8c4752 100644 (file)
@@ -512,6 +512,30 @@ by its signed 32-bit representation when converted to msec.
        </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"/>
@@ -520,6 +544,7 @@ by its signed 32-bit representation when converted to msec.
                <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>
 
This page took 0.023733 seconds and 5 git commands to generate.