<?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>