CLI: Add trace format mi to session mi
[lttng-tools.git] / src / common / mi-lttng-4.1.xsd
index 7d68b2e8eb9332efe3b90e4948919ffb4a895d8e..557e3f19395c7a6577443e97240a86a1697647f4 100644 (file)
@@ -665,11 +665,40 @@ SPDX-License-Identifier: MIT
                </xs:sequence>
        </xs:complexType>
 
+       <!-- 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>
+
        <!-- Maps to a lttng_session -->
        <xs:complexType name="session_type">
                <xs:all>
                        <xs:element name="name" type="tns:name_type" />
                        <xs:element name="path" type="xs:string" minOccurs="0" />
+                       <xs:element name="trace_format" type="tns:trace_format_descriptor_type" minOccurs="0" />
                        <xs:element name="enabled" type="xs:boolean" default="false" minOccurs="0" />
                        <xs:element name="snapshot_mode" type="tns:uint32_type" minOccurs="0" />
                        <xs:element name="live_timer_interval" type="tns:uint32_type" minOccurs="0" />
This page took 0.0243 seconds and 5 git commands to generate.