Implement MI and save/load support for callstack contexts
[lttng-tools.git] / src / common / mi-lttng-3.0.xsd
index 1b8322d39bb4918dbe82aa789bf7efd15d022ee6..f9ca71094ec355f14209dbaad29e400d7071b08e 100644 (file)
@@ -23,8 +23,8 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
 THE SOFTWARE.
 -->
 <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
-       targetNamespace="http://lttng.org/xml/ns/lttng-mi"
-       xmlns:tns="http://lttng.org/xml/ns/lttng-mi"
+       targetNamespace="https://lttng.org/xml/ns/lttng-mi"
+       xmlns:tns="https://lttng.org/xml/ns/lttng-mi"
        elementFormDefault="qualified" version="3.0">
 
        <!-- Maps to the uint32_t type -->
@@ -116,6 +116,8 @@ THE SOFTWARE.
                        <xs:enumeration value="PREEMPTIBLE" />
                        <xs:enumeration value="NEED_RESCHEDULE" />
                        <xs:enumeration value="MIGRATABLE" />
+                       <xs:enumeration value="CALLSTACK_USER" />
+                       <xs:enumeration value="CALLSTACK_KERNEL" />
                </xs:restriction>
        </xs:simpleType>
 
@@ -482,11 +484,14 @@ THE SOFTWARE.
 
        <!-- Maps to lttng_event_context -->
        <xs:complexType name="context_type">
-               <xs:choice>
-                       <xs:element name="type" type="tns:context_type_type"/>
-                       <xs:element name="perf" type="tns:perf_counter_context_type"/>
-                       <xs:element name="app" type="tns:app_context_type"/>
-               </xs:choice>
+               <xs:sequence>
+                       <xs:choice>
+                               <xs:element name="type" type="tns:context_type_type"/>
+                               <xs:element name="perf" type="tns:perf_counter_context_type"/>
+                               <xs:element name="app" type="tns:app_context_type"/>
+                       </xs:choice>
+                       <xs:element name="symbol" type="xs:string" minOccurs="0" />
+               </xs:sequence>
        </xs:complexType>
 
        <!-- Maps to an array of domain -->
This page took 0.026378 seconds and 5 git commands to generate.