From: Benjamin Poirier Date: Mon, 31 Aug 2009 21:11:13 +0000 (-0400) Subject: Revert "sync frequency of all traces with the first loaded" X-Git-Tag: v0.12.26~59 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=b859864a2284eb33fafa9f7e0dbea1348ca62b1c;p=lttv.git Revert "sync frequency of all traces with the first loaded" This reverts commit 9c731a505cf0d0ded02f8e90a823fa90084c7740. Conflicts: ltt/branches/poly/ltt/tracefile.c --- 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;