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 -->
<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>
<xs:element name="channels" type="tns:channels_type" minOccurs="0" />
<xs:element name="domains" type="tns:domains_type" minOccurs="0" />
<xs:element name="snapshots" type="tns:snapshots_type" minOccurs="0" />
+ <xs:element name="rotation_schedule_size" type="tns:uint64_type" default="0" minOccurs="0" /> <!-- bytes -->
+ <xs:element name="rotation_schedule_timer_period" type="tns:uint64_type" default="0" minOccurs="0" /> <!-- usec -->
</xs:all>
</xs:complexType>
<!-- 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 -->
</xs:sequence>
</xs:complexType>
+ <!-- Maps to the rotate command -->
+ <xs:complexType name="rotation_type">
+ <xs:all>
+ <xs:element name="session_name" type="tns:name_type" minOccurs="0" />
+ <xs:element name="status" type="xs:string" />
+ <xs:element name="path" type="xs:string" minOccurs="0" />
+ </xs:all>
+ </xs:complexType>
+
+ <!-- Maps to an array of rotations -->
+ <xs:complexType name="rotations_type">
+ <xs:sequence>
+ <xs:element name="rotation" type="tns:rotation_type" minOccurs="0" maxOccurs="unbounded" />
+ </xs:sequence>
+ </xs:complexType>
+
+ <!-- Maps to the enable-rotation command -->
+ <xs:complexType name="rotation_schedule_type">
+ <xs:sequence>
+ <xs:element name="session_name" type="tns:name_type" minOccurs="0" />
+ <xs:element name="rotation_schedule_size" type="tns:uint64_type" default="0" minOccurs="0" /> <!-- bytes -->
+ <xs:element name="rotation_schedule_timer_period" type="tns:uint64_type" default="0" minOccurs="0" /> <!-- usec -->
+ <xs:element name="status" type="xs:string" minOccurs="0"/>
+ </xs:sequence>
+ </xs:complexType>
+
<xs:complexType name="output_type">
<xs:choice>
<xs:element name="domains" type="tns:domains_type" minOccurs="0" />
<xs:element name="metadata_action" type="tns:metadata_cmd_type" minOccurs="0" />
<xs:element name="regenerate_action" type="tns:regenerate_cmd_type" minOccurs="0" />
<xs:element name="rotations" type="tns:rotations_type" minOccurs="0" />
+ <xs:element name="rotation_schedule" type="tns:rotation_schedule_type" minOccurs="0" />
</xs:choice>
</xs:complexType>
<xs:enumeration value="metadata" />
<xs:enumeration value="regenerate" />
<xs:enumeration value="rotate" />
+ <xs:enumeration value="enable-rotation" />
+ <xs:enumeration value="disable-rotation" />
</xs:restriction>
</xs:simpleType>