lttng: Implement lttng clear session command
[lttng-tools.git] / src / common / mi-lttng-3.0.xsd
index 9c1a293afe78bfab1e5092781057a0d71d79c9a5..1dee284de7c80f061751364505ee8ea43275d53a 100644 (file)
@@ -73,6 +73,7 @@ THE SOFTWARE.
                        <xs:enumeration value="FUNCTION_ENTRY" />
                        <xs:enumeration value="NOOP" />
                        <xs:enumeration value="SYSCALL" />
+                       <xs:enumeration value="USERSPACE_PROBE" />
                </xs:restriction>
        </xs:simpleType>
 
@@ -118,6 +119,25 @@ THE SOFTWARE.
                        <xs:enumeration value="MIGRATABLE" />
                        <xs:enumeration value="CALLSTACK_USER" />
                        <xs:enumeration value="CALLSTACK_KERNEL" />
+                       <xs:enumeration value="CGROUP_NS" />
+                       <xs:enumeration value="IPC_NS" />
+                       <xs:enumeration value="MNT_NS" />
+                       <xs:enumeration value="NET_NS" />
+                       <xs:enumeration value="PID_NS" />
+                       <xs:enumeration value="USER_NS" />
+                       <xs:enumeration value="UTS_NS" />
+                       <xs:enumeration value="UID" />
+                       <xs:enumeration value="EUID" />
+                       <xs:enumeration value="SUID" />
+                       <xs:enumeration value="GID" />
+                       <xs:enumeration value="EGID" />
+                       <xs:enumeration value="SGID" />
+                       <xs:enumeration value="VUID" />
+                       <xs:enumeration value="VEUID" />
+                       <xs:enumeration value="VSUID" />
+                       <xs:enumeration value="VGID" />
+                       <xs:enumeration value="VEGID" />
+                       <xs:enumeration value="VSGID" />
                </xs:restriction>
        </xs:simpleType>
 
@@ -167,6 +187,23 @@ THE SOFTWARE.
                </xs:restriction>
        </xs:simpleType>
 
+       <!-- Maps to enum lttng_rotation_state -->
+       <xs:simpleType name="rotation_state_type">
+               <xs:restriction base="xs:string">
+                       <xs:enumeration value="ONGOING" />
+                       <xs:enumeration value="COMPLETED" />
+                       <xs:enumeration value="EXPIRED" />
+                       <xs:enumeration value="ERROR" />
+               </xs:restriction>
+       </xs:simpleType>
+
+       <!-- Maps to enum lttng_trace_archive_location_relay_protocol_type -->
+       <xs:simpleType name="location_relay_protocol_type">
+               <xs:restriction base="xs:string">
+                       <xs:enumeration value="TCP" />
+               </xs:restriction>
+       </xs:simpleType>
+
        <!-- Maps to the lttng_calibrate_type enum -->
        <xs:simpleType name="calibrate_type_type">
                <xs:restriction base="xs:string">
@@ -589,12 +626,36 @@ THE SOFTWARE.
                </xs:sequence>
        </xs:complexType>
 
+       <xs:complexType name="local_location_type">
+               <xs:sequence>
+                       <xs:element name="absolute_path" type="xs:string" minOccurs="1" />
+               </xs:sequence>
+       </xs:complexType>
+
+       <xs:complexType name="relay_location_type">
+               <xs:sequence>
+                       <xs:element name="host" type="xs:string" minOccurs="1" />
+                       <xs:element name="control_port" type="xs:int" minOccurs="0" />
+                       <xs:element name="data_port" type="xs:int" minOccurs="0" />
+                       <xs:element name="protocol" type="tns:location_relay_protocol_type" minOccurs="1" />
+                       <xs:element name="relative_path" type="xs:string" minOccurs="0" />
+               </xs:sequence>
+       </xs:complexType>
+
+       <xs:complexType name="location_type">
+               <xs:choice>
+                       <xs:element name="local" type="tns:local_location_type" minOccurs="0" />
+                       <xs:element name="relay" type="tns:relay_location_type" minOccurs="0" />
+               </xs:choice>
+       </xs:complexType>
+
        <!-- Maps to the rotate command -->
-       <xs:complexType name="rotation_type">
-               <xs:all>
-                       <xs:element name="status" type="xs:string" />
-                       <xs:element name="path" type="xs:string" minOccurs="0" />
-               </xs:all>
+       <xs:complexType name="rotate_type">
+               <xs:sequence>
+                       <xs:element name="session_name" type="tns:name_type" minOccurs="1" />
+                       <xs:element name="state" type="tns:rotation_state_type" minOccurs="1" />
+                       <xs:element name="location" type="tns:location_type" minOccurs="0" />
+               </xs:sequence>
        </xs:complexType>
 
        <xs:complexType name="rotation_schedule_result_type">
@@ -630,7 +691,7 @@ THE SOFTWARE.
                        <xs:element name="targets" type="tns:targets_type" minOccurs="0" />
                        <xs:element name="metadata_action" type="tns:metadata_cmd_type" minOccurs="0" />
                        <xs:element name="regenerate_action" type="tns:regenerate_cmd_type" minOccurs="0" />
-                       <xs:element name="rotation" type="tns:rotation_type" minOccurs="0" />
+                       <xs:element name="rotation" type="tns:rotate_type" minOccurs="0" />
                        <xs:element name="rotation_schedule_results" type="tns:rotation_schedule_cmd_type" minOccurs="0" />
                </xs:choice>
        </xs:complexType>
@@ -661,6 +722,7 @@ THE SOFTWARE.
                        <xs:enumeration value="rotate" />
                        <xs:enumeration value="enable-rotation" />
                        <xs:enumeration value="disable-rotation" />
+                       <xs:enumeration value="clear" />
                </xs:restriction>
        </xs:simpleType>
 
This page took 0.025545 seconds and 5 git commands to generate.