Docs: Grammar fixes in mi_lttng.xsd
[lttng-tools.git] / src / common / mi_lttng.xsd
index a54e6bfbf189b6393ea852f3d9566fe387726863..44a7bc97348f12a0f0f2523ad6e46d3f10acf180 100644 (file)
@@ -83,7 +83,7 @@ THE SOFTWARE.
                </xs:restriction>
        </xs:simpleType>
 
-       <!-- Maps to the lttng_loglevel_type enum -->
+       <!-- Maps to the lttng_event_context_type enum -->
        <xs:simpleType name="context_type_type">
                <xs:restriction base="xs:string">
                        <xs:enumeration value="PERF_COUNTER" />
@@ -132,6 +132,20 @@ THE SOFTWARE.
                        <xs:enumeration value="JUL_FINER" />
                        <xs:enumeration value="JUL_FINEST" />
                        <xs:enumeration value="JUL_ALL" />
+                       <xs:enumeration value="LOG4J_OFF" />
+                       <xs:enumeration value="LOG4J_FATAL" />
+                       <xs:enumeration value="LOG4J_ERROR" />
+                       <xs:enumeration value="LOG4J_WARN" />
+                       <xs:enumeration value="LOG4J_INFO" />
+                       <xs:enumeration value="LOG4J_DEBUG" />
+                       <xs:enumeration value="LOG4J_TRACE" />
+                       <xs:enumeration value="LOG4J_ALL" />
+                       <xs:enumeration value="PYTHON_CRITICAL" />
+                       <xs:enumeration value="PYTHON_ERROR" />
+                       <xs:enumeration value="PYTHON_WARNING" />
+                       <xs:enumeration value="PYTHON_INFO" />
+                       <xs:enumeration value="PYTHON_DEBUG" />
+                       <xs:enumeration value="PYTHON_NOTSET" />
                        <xs:enumeration value="UNKNOWN" />
                </xs:restriction>
        </xs:simpleType>
@@ -146,9 +160,9 @@ THE SOFTWARE.
        <!-- Maps to the lttng_event_probe_attr struct -->
        <xs:complexType name="event_probe_attributes_type">
                <xs:all>
-                       <xs:element name="address" type="uint64_type" />
-                       <xs:element name="offset" type="uint64_type" />
-                       <xs:element name="symbol_name" type="name_type" />
+                       <xs:element name="address" type="uint64_type" minOccurs="0" />
+                       <xs:element name="offset" type="uint64_type" minOccurs="0" />
+                       <xs:element name="symbol_name" type="name_type" minOccurs="0" />
                </xs:all>
        </xs:complexType>
 
@@ -219,6 +233,8 @@ THE SOFTWARE.
                        <xs:enumeration value="KERNEL"/>
                        <xs:enumeration value="UST"/>
                        <xs:enumeration value="JUL"/>
+                       <xs:enumeration value="LOG4J"/>
+                       <xs:enumeration value="PYTHON"/>
                </xs:restriction>
        </xs:simpleType>
 
@@ -347,7 +363,7 @@ THE SOFTWARE.
                </xs:all>
        </xs:complexType>
 
-       <!-- Map to the save command -->
+       <!-- Maps to the save command -->
        <xs:complexType name="save_type">
                <xs:all>
                        <xs:element name="session" type="session_type" />
@@ -355,7 +371,7 @@ THE SOFTWARE.
                </xs:all>
        </xs:complexType>
 
-       <!-- Map to the load command -->
+       <!-- Maps to the load command -->
        <xs:complexType name="load_type">
                <xs:all>
                        <xs:element name="session" type="session_type" />
@@ -370,7 +386,7 @@ THE SOFTWARE.
                </xs:all>
        </xs:complexType>
 
-       <!-- Map to lttng_event_perf_counter_ctx -->
+       <!-- Maps to lttng_event_perf_counter_ctx -->
        <xs:complexType name="perf_counter_context_type">
                <xs:all>
                        <xs:element name="type" type="uint32_type" />
@@ -379,7 +395,7 @@ THE SOFTWARE.
                </xs:all>
        </xs:complexType>
 
-       <!-- Map to lttng_event_context -->
+       <!-- Maps to lttng_event_context -->
        <xs:complexType name="context_type">
                <xs:all>
                        <xs:element name="type" type="context_type_type" />
@@ -437,7 +453,6 @@ THE SOFTWARE.
        <xs:complexType name="output_type">
                <xs:choice>
                        <xs:element name="domains" type="domains_type" minOccurs="0" />
-                       <xs:element name="session" type="session_type" minOccurs="0" />
                        <xs:element name="sessions" type="sessions_type" minOccurs="0" />
                        <xs:element name="session" type="session_type" minOccurs="0" />
                        <xs:element name="snapshot_action" type="snapshot_action_type" minOccurs="0" />
@@ -450,7 +465,6 @@ THE SOFTWARE.
                        <xs:element name="channels" type="channels_type" minOccurs="0" />
                        <xs:element name="events" type="event_list_type" minOccurs="0" />
                        <xs:element name="channel" type="channel_type" minOccurs="0" />
-                       <xs:element name="channels" type="channels_type" minOccurs="0" />
                </xs:choice>
        </xs:complexType>
 
This page took 0.025072 seconds and 4 git commands to generate.