support trace version 0.6
authorcompudj <compudj@04897980-b3bd-0310-b5e0-8ef037075253>
Fri, 16 Dec 2005 21:26:17 +0000 (21:26 +0000)
committercompudj <compudj@04897980-b3bd-0310-b5e0-8ef037075253>
Fri, 16 Dec 2005 21:26:17 +0000 (21:26 +0000)
git-svn-id: http://ltt.polymtl.ca/svn@1409 04897980-b3bd-0310-b5e0-8ef037075253

ltt/branches/poly/ltt/tracefile.c

index de046b165d7dd146df7d8d711fa766d1dbe99537..37a7c0354b287bbf709080bec0db76ea275a15f4 100644 (file)
@@ -250,30 +250,7 @@ int parse_trace_header(void *header, LttTracefile *tf, LttTrace *t)
         return 1;
       }
       break;
-    case 4:
-      {
-        struct ltt_trace_header_0_4 *vheader =
-          (struct ltt_trace_header_0_4 *)header;
-        tf->buffer_header_size =
-         sizeof(struct ltt_block_start_header) 
-            + sizeof(struct ltt_trace_header_0_4);
-        if(t) {
-          t->start_freq = ltt_get_uint64(LTT_GET_BO(tf),
-                                         &vheader->start_freq);
-          t->start_tsc = ltt_get_uint64(LTT_GET_BO(tf),
-                                        &vheader->start_tsc);
-          t->start_monotonic = ltt_get_uint64(LTT_GET_BO(tf),
-                                              &vheader->start_monotonic);
-          t->start_time = ltt_get_time(LTT_GET_BO(tf),
-                                       &vheader->start_time);
-          t->start_time.tv_nsec *= 1000; /* microsec to nanosec */
-
-          t->start_time_from_tsc = ltt_time_from_uint64(
-              (double)t->start_tsc * 1000000.0 / (double)t->start_freq);
-        }
-      }
-      break;
-    case 5:
+    case 6:
       {
         struct ltt_trace_header_0_5 *vheader =
           (struct ltt_trace_header_0_5 *)header;
This page took 0.024902 seconds and 4 git commands to generate.