update
[ltt-control.git] / ltt-control / facilities / compact.xml
index 822e14ee8392d0846bd532f1092d6d72403cc1f3..e48ae33f218d4a2cddfa33a098e0141ee5b857ee 100644 (file)
@@ -1,7 +1,22 @@
 <?xml version="1.0"?>
-<facility name="compact">
+<facility name="compact" align="0">
   <description>The compact facility contains high rate compact events.</description>
 
+  <event name="time_heartbeat" scope="tracefile">
+    <description>System time values sent periodically to detect cycle counter
+     rollovers. Useful when only the 32 LSB of the TSC are saved in events
+     header : we save the full 64 bits in this event. Put here for core.xml
+     facility compatibility.
+    </description>
+  </event>
+
+  <event name="time_heartbeat_full" scope="tracefile" scope="trace" attribute="force">
+    <description>System time, full 64 bits TSC. Saved before trace restart.
+    Forced write, even if trace is stopped.
+    </description>
+               <field name="tsc"><uint_fixed size="8"/></field>
+  </event>
+
   <event name="event_a">
     <description>Compact event with no data</description>
   </event>
     <field name="data1"> <uint_fixed size="8"/> </field>
   </event>
 
+  <event name="event_d" attribute="compact_data">
+    <description>Compact data event</description>
+    <field name="data1"> <uint_fixed size="4"/> </field>
+  </event>
+
+  <event name="event_e" attribute="compact_data">
+    <description>Compact data event</description>
+    <field name="data1"> <uint_fixed size="4"/> </field>
+    <field name="data2"> <uint_fixed size="8"/> </field>
+  </event>
+
+
 </facility>
This page took 0.023116 seconds and 4 git commands to generate.