From b859864a2284eb33fafa9f7e0dbea1348ca62b1c Mon Sep 17 00:00:00 2001 From: Benjamin Poirier Date: Mon, 31 Aug 2009 17:11:13 -0400 Subject: [PATCH] Revert "sync frequency of all traces with the first loaded" This reverts commit 9c731a505cf0d0ded02f8e90a823fa90084c7740. Conflicts: ltt/branches/poly/ltt/tracefile.c --- ltt/tracefile.c | 8 -------- 1 file changed, 8 deletions(-) diff --git a/ltt/tracefile.c b/ltt/tracefile.c index d61f4af8..1d6f2a86 100644 --- a/ltt/tracefile.c +++ b/ltt/tracefile.c @@ -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; -- 2.39.5