Revert "sync frequency of all traces with the first loaded"
authorBenjamin Poirier <benjamin.poirier@polymtl.ca>
Mon, 31 Aug 2009 21:11:13 +0000 (17:11 -0400)
committerBenjamin Poirier <benjamin.poirier@polymtl.ca>
Fri, 18 Dec 2009 19:03:24 +0000 (14:03 -0500)
This reverts commit 9c731a505cf0d0ded02f8e90a823fa90084c7740.

Conflicts:

ltt/branches/poly/ltt/tracefile.c

ltt/tracefile.c

index d61f4af879f2425ef243abc63549dbdbd6e5b848..1d6f2a8646619430a3751ff316a08eedf173aae3 100644 (file)
@@ -80,8 +80,6 @@ GQuark LTT_TRACEFILE_NAME_METADATA;
 #define PAGE_MASK (~(page_size-1))
 #define PAGE_ALIGN(addr)  (((addr)+page_size-1)&PAGE_MASK)
 
-LttTrace *father_trace = NULL;
-
 /* set the offset of the fields belonging to the event,
    need the information of the archecture */
 //void set_fields_offsets(LttTracefile *tf, LttEventType *event_type);
@@ -164,12 +162,6 @@ static int parse_trace_header(ltt_subbuffer_header_t *header,
                                          &vheader->start_freq);
           t->freq_scale = ltt_get_uint32(LTT_GET_BO(tf),
                                          &vheader->freq_scale);
-          if(father_trace) {
-            t->start_freq = father_trace->start_freq;
-            t->freq_scale = father_trace->freq_scale;
-          } else {
-            father_trace = t;
-          }
           t->start_tsc = ltt_get_uint64(LTT_GET_BO(tf),
                                         &vheader->cycle_count_begin);
           t->start_monotonic = 0;
This page took 0.02441 seconds and 4 git commands to generate.