git-svn-id: http://ltt.polymtl.ca/svn@148 04897980-b3bd-0310-b5e0-8ef037075253
authoryangxx <yangxx@04897980-b3bd-0310-b5e0-8ef037075253>
Wed, 30 Jul 2003 20:29:14 +0000 (20:29 +0000)
committeryangxx <yangxx@04897980-b3bd-0310-b5e0-8ef037075253>
Wed, 30 Jul 2003 20:29:14 +0000 (20:29 +0000)
ltt/branches/poly/ltt/convert/convert.c
ltt/branches/poly/ltt/convert/core.xml

index 67ee263080e2579d49153a63089063360291660f..2b79d5d555b593296c6e6c20a5045e0eae0f9ec7 100644 (file)
@@ -384,6 +384,9 @@ int main(int argc, char ** argv){
       }
       evId = *(uint8_t *)cur_pos;
       newId = evId;
+      if(evId == TRACE_HEARTBEAT) {
+       newId = 19;
+      }
       cur_pos += sizeof(uint8_t);
       time_delta = *(uint32_t*)cur_pos;
       cur_pos += sizeof(uint32_t); 
index 261160af2dcb1972d2fad374ecf086f0bbf01f88..c7c2449b4cad53efc654b329cb78d88efb31db5b 100644 (file)
@@ -1,6 +1,15 @@
 <facility name=core>
   <description>The core facility contains the basic events</description>
 
+  <event name=facility_load>
+    <description>Facility used in the trace</description>
+    <struct>
+      <field name="name"><string/></field>
+      <field name="checksum"><uint size=4/></field>
+      <field name="base_code"><uint size=4/></field>
+    </struct>
+  </event>
+
   <event name=syscall_entry>
     <description>Entry in a given system call</description>
     <struct>
      </struct>
   </event>
 
-  <event name=change_mask>
-    <description>Change in event mask</description>
-    <struct>
-      <field name="mask"> <description>Event mask</description> <uint size=8/> </field>
-     </struct>
+  <event name=block_start>
+    <description>Block start timestamp</description>
+    <typeref name=block_timestamp/>
+  </event>
+
+  <event name=block_end>
+    <description>Block end timestamp</description>
+    <typeref name=block_timestamp/>
+  </event>
+
+  <event name=time_heartbeat>
+    <description>System time values sent periodically to minimize cycle counter
+                 drift with respect to real time clock and to detect cycle counter roolovers
+    </description>
+    <typeref name=timestamp/>
   </event>
 
+  <type name=block_timestamp>
+    <struct>
+      <field name=timestamp><typeref name=timestamp/></field>
+      <field name=block_id><uint size=4/></field>
+    </struct>
+  </type>
+
+  <type name=timestamp>
+    <struct>
+      <field name=time><typeref name=timespec/></field>
+      <field name="cycle_count"><uint size=8/></field>
+    </struct>
+  </type>
+
+  <type name=timespec>
+    <struct>
+      <field name="seconds"><uint size=4/></field>
+      <field name="nanoseconds"><uint size=4/></field>
+    </struct>
+  </type>
+
+
 </facility>
 
 
This page took 0.025804 seconds and 4 git commands to generate.