Fix: mi print of probe attributes + validation
[lttng-tools.git] / src / common / mi_lttng.xsd
index f63065c398de007d7c19d9efe3f7419a6bfded8e..b115c6130654278fdc8ceda7d5e195ef187b02a4 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" />
@@ -146,9 +146,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>
 
This page took 0.024302 seconds and 5 git commands to generate.