Fix: return EINVAL if agent registration fails
[lttng-tools.git] / src / common / mi_lttng.xsd
index f63065c398de007d7c19d9efe3f7419a6bfded8e..f5fc7293c044c9156aeb945b48ecf97b21578d72 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,14 @@ 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="UNKNOWN" />
                </xs:restriction>
        </xs:simpleType>
@@ -146,9 +154,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 +227,7 @@ THE SOFTWARE.
                        <xs:enumeration value="KERNEL"/>
                        <xs:enumeration value="UST"/>
                        <xs:enumeration value="JUL"/>
+                       <xs:enumeration value="LOG4J"/>
                </xs:restriction>
        </xs:simpleType>
 
This page took 0.02818 seconds and 5 git commands to generate.