change header struct name for 0_6
authorcompudj <compudj@04897980-b3bd-0310-b5e0-8ef037075253>
Fri, 16 Dec 2005 22:28:08 +0000 (22:28 +0000)
committercompudj <compudj@04897980-b3bd-0310-b5e0-8ef037075253>
Fri, 16 Dec 2005 22:28:08 +0000 (22:28 +0000)
git-svn-id: http://ltt.polymtl.ca/svn@1411 04897980-b3bd-0310-b5e0-8ef037075253

ltt/branches/poly/ltt/ltt-private.h
ltt/branches/poly/ltt/tracefile.c

index 5dde46322f92de00d4a62d6cf1af6a25dd4f434e..8af6e3bff4e8c17bfd0fa3e4ef7c47c9a0f6c049 100644 (file)
@@ -179,30 +179,9 @@ struct ltt_trace_header_0_3 {
        uint8_t                          has_tsc;
 } LTT_PACKED_STRUCT;
 
-/* For version 0.4 */
+/* For version 0.6 */
 
-struct ltt_trace_header_0_4 {
-  uint32_t        magic_number;
-  uint32_t        arch_type;
-  uint32_t        arch_variant;
-  uint32_t        float_word_order;
-  uint8_t         arch_size;
-  uint8_t         major_version;
-  uint8_t         minor_version;
-  uint8_t         flight_recorder;
-  uint8_t         has_heartbeat;
-  uint8_t         has_alignment;  /* Event header alignment */
-       uint8_t         has_tsc;
-  uint64_t        start_freq;
-  uint64_t        start_tsc;
-  uint64_t        start_monotonic;
-  struct timeval       start_time;
-} LTT_PACKED_STRUCT;
-
-
-/* For version 0.5 */
-
-struct ltt_trace_header_0_5 {
+struct ltt_trace_header_0_6 {
   uint32_t        magic_number;
   uint32_t        arch_type;
   uint32_t        arch_variant;
index 37a7c0354b287bbf709080bec0db76ea275a15f4..5ddabdbd0adebe857d717cad29f202c400b5e4ee 100644 (file)
@@ -252,11 +252,11 @@ int parse_trace_header(void *header, LttTracefile *tf, LttTrace *t)
       break;
     case 6:
       {
-        struct ltt_trace_header_0_5 *vheader =
-          (struct ltt_trace_header_0_5 *)header;
+        struct ltt_trace_header_0_6 *vheader =
+          (struct ltt_trace_header_0_6 *)header;
         tf->buffer_header_size =
          sizeof(struct ltt_block_start_header) 
-            + sizeof(struct ltt_trace_header_0_5);
+            + sizeof(struct ltt_trace_header_0_6);
         if(t) {
           t->start_freq = ltt_get_uint64(LTT_GET_BO(tf),
                                          &vheader->start_freq);
This page took 0.026505 seconds and 4 git commands to generate.