X-Git-Url: http://git.lttng.org./?a=blobdiff_plain;f=ltt%2Fbranches%2Fpoly%2Fdoc%2Fdeveloper%2Fformat.html;h=254700af8f61cc5bf013073da06dc5a356dc9b19;hb=75f5d93b7d1336908118ba95f8b9a90052756bc4;hp=a211ace1e9c6e9e6370e0aa77310df4901aedf7f;hpb=cb310b57eb65bb2c6a29bf69cf85cb0d4480e280;p=lttv.git diff --git a/ltt/branches/poly/doc/developer/format.html b/ltt/branches/poly/doc/developer/format.html index a211ace1..254700af 100644 --- a/ltt/branches/poly/doc/developer/format.html +++ b/ltt/branches/poly/doc/developer/format.html @@ -134,7 +134,7 @@ end uint64 cycle_count * TSC at the beginning of the buffer uint64 freq - * frequency of the CPUs at the beginning of the buffer. + * frequency of the CPUs at the end of the buffer. uint32 lost_size * number of bytes of padding at the end of the buffer. uint32 buf_size @@ -173,7 +173,7 @@ uint8 has_alignment * Is the information in this trace aligned ? Yes (1) -> aligned on min(arch size, atomic data size). No (0) -> data is packed. -uint328 freq_scale +uint32 freq_scale event time is always calculated from : trace_start_time + ((event_tsc - trace_start_tsc) * (freq / freq_scale)) uint64 start_freq @@ -356,10 +356,10 @@ Finally the type structure may be defined by referencing a named type. <typeref name=type_name/> -

Builtin events

+

Core events

-The facility named "builtin" is always present and contains at least the +The facility named "core" is always present and contains at least the following event types.


@@ -368,18 +368,27 @@ following event types.
   <struct>
     <field name="name"><string/></field>
     <field name="checksum"><uint size=4/></field>
-    <field name="base_code"><uint size=4/></field>
+    <field name="id"><uint size=4/></field>
+    <field name="int_size"><uint size=4/></field>
+    <field name="long_size"><uint size=4/></field>
+    <field name="pointer_size"><uint size=4/></field>
+    <field name="size_t_size"><uint size=4/></field>
+    <field name="has_alignment"><uint size=4/></field>
   </struct>
 </event>
 
-<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 name=state_dump_facility_load>
+  <description>Facility used in the trace</description>
+  <struct>
+    <field name="name"><string/></field>
+    <field name="checksum"><uint size=4/></field>
+    <field name="id"><uint size=4/></field>
+    <field name="int_size"><uint size=4/></field>
+    <field name="long_size"><uint size=4/></field>
+    <field name="pointer_size"><uint size=4/></field>
+    <field name="size_t_size"><uint size=4/></field>
+    <field name="has_alignment"><uint size=4/></field>
+  </struct>
 </event>
 
 <event name=time_heartbeat>
@@ -390,26 +399,14 @@ following event types.
   <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/></event>
+    <field name="seconds"><uint size=4/></field>
+    <field name="nanoseconds"><uint size=4/></field>
     <field name="cycle_count"><uint size=8/></field>
   </struct>
 </event>
 
-<type name=timespec>
-  <struct>
-    <field name="seconds"><uint size=4/></field>
-    <field name="nanoseconds"><uint size=4/></field>
-  </struct>
-</type>
 

Control files