Add MI output to the metadata regenerate command
[lttng-tools.git] / src / common / mi-lttng-3.0.xsd
index d51f409d830e495e7dd70d298571921c685e1a78..cfccc2a655cbfa9923516ac4956bcad106d925ce 100644 (file)
@@ -197,7 +197,6 @@ THE SOFTWARE.
                        <xs:element name="loglevel" type="tns:loglevel_string_type" default="" minOccurs="0" />
                        <xs:element name="enabled" type="xs:boolean" default="false" minOccurs="0" />
                        <xs:element name="filter_expression" type="xs:string" minOccurs="0" />
-                       <xs:element name="exclusion" type="xs:boolean" minOccurs="0" />
                        <xs:element name="exclusions" type="tns:event_exclusion_list_type" minOccurs="0"/>
                        <xs:element name="attributes" type="tns:event_attributes_type" minOccurs="0" />
                        <xs:element name="event_fields" type="tns:event_fields_type" minOccurs="0" />
@@ -361,6 +360,8 @@ THE SOFTWARE.
                        <xs:element name="tracefile_size" type="tns:uint64_type" default="0" minOccurs="0" /> <!-- bytes -->
                        <xs:element name="tracefile_count" type="tns:uint64_type" default="0" minOccurs="0" />
                        <xs:element name="live_timer_interval" type="tns:uint32_type" default="0" minOccurs="0" /> <!-- usec -->
+                       <xs:element name="discarded_events" type="tns:uint64_type" default="0" minOccurs="0" />
+                       <xs:element name="lost_packets" type="tns:uint64_type" default="0" minOccurs="0" />
                </xs:all>
        </xs:complexType>
 
@@ -488,7 +489,7 @@ THE SOFTWARE.
                </xs:sequence>
        </xs:complexType>
 
-       <!-- Maps to an action dutring snapshot command -->
+       <!-- Maps to an action during snapshot command -->
        <xs:complexType name="snapshot_action_type">
                <xs:sequence>
                        <xs:element name="name" type="tns:snapshot_actiontype_type" minOccurs="0" />
@@ -506,6 +507,20 @@ THE SOFTWARE.
                </xs:restriction>
        </xs:simpleType>
 
+       <!-- Maps to an action during metadata command -->
+       <xs:complexType name="metadata_action_type">
+               <xs:sequence>
+                       <xs:element name="name" type="tns:metadata_actiontype_type" minOccurs="0" />
+               </xs:sequence>
+       </xs:complexType>
+
+       <!-- Type of metadata commands -->
+       <xs:simpleType name="metadata_actiontype_type">
+               <xs:restriction base="xs:string">
+                       <xs:enumeration value="regenerate" />
+               </xs:restriction>
+       </xs:simpleType>
+
        <xs:complexType name="output_type">
                <xs:choice>
                        <xs:element name="domains" type="tns:domains_type" minOccurs="0" />
@@ -522,6 +537,7 @@ THE SOFTWARE.
                        <xs:element name="events" type="tns:event_list_type" minOccurs="0" />
                        <xs:element name="channel" type="tns:channel_type" minOccurs="0" />
                        <xs:element name="targets" type="tns:targets_type" minOccurs="0" />
+                       <xs:element name="metadata_action" type="tns:metadata_action_type" minOccurs="0" />
                </xs:choice>
        </xs:complexType>
 
@@ -546,6 +562,7 @@ THE SOFTWARE.
                        <xs:enumeration value="disable-channel" />
                        <xs:enumeration value="track" />
                        <xs:enumeration value="untrack" />
+                       <xs:enumeration value="metadata" />
                </xs:restriction>
        </xs:simpleType>
 
This page took 0.024583 seconds and 4 git commands to generate.