Update trace format version to 2.6
authorMathieu Desnoyers <mathieu.desnoyers@polymtl.ca>
Wed, 10 Feb 2010 20:52:17 +0000 (15:52 -0500)
committerMathieu Desnoyers <mathieu.desnoyers@polymtl.ca>
Wed, 10 Feb 2010 20:52:17 +0000 (15:52 -0500)
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
ltt/ltt-private.h
ltt/tracefile.c

index e432dc5b04010394d9372a0183c5ccbd21cf1572..65d73d18746fe2e21c3becf50a2b5f34a95919ec 100644 (file)
@@ -66,7 +66,7 @@ typedef guint32 uint32_t;
 typedef guint64 uint64_t;
 
 /* Subbuffer header */
-struct ltt_subbuffer_header_2_5 {
+struct ltt_subbuffer_header_2_6 {
        uint64_t cycle_count_begin;     /* Cycle count at subbuffer start */
        uint64_t cycle_count_end;       /* Cycle count at subbuffer end */
        uint32_t magic_number;          /*
@@ -99,7 +99,7 @@ struct ltt_subbuffer_header_2_5 {
        char header_end[0];             /* End of header */
 };
 
-typedef struct ltt_subbuffer_header_2_5 ltt_subbuffer_header_t;
+typedef struct ltt_subbuffer_header_2_6 ltt_subbuffer_header_t;
 
 /*
  * Return header size without padding after the structure. Don't use packed
index 2ac0fa5865a15a1ef10acf234045c95c935992ca..c206b0466e06147e53597f48fb608af5280095c9 100644 (file)
@@ -148,9 +148,9 @@ static int parse_trace_header(ltt_subbuffer_header_t *header,
     break;
   case 2:
     switch(header->minor_version) {
-    case 5:
+    case 6:
       {
-        struct ltt_subbuffer_header_2_5 *vheader = header;
+        struct ltt_subbuffer_header_2_6 *vheader = header;
         tf->buffer_header_size = ltt_subbuffer_header_size();
         tf->tscbits = 27;
         tf->eventbits = 5;
This page took 0.028277 seconds and 4 git commands to generate.