X-Git-Url: http://git.liburcu.org/?a=blobdiff_plain;f=ltt%2Fbranches%2Fpoly%2Fltt%2Ftracefile.c;h=79063373e838d6e0f060f0767c850bcb860c64fd;hb=78f79181138e0b98b5db684d6fba4432b32ddce7;hp=3fbf3b2e05b5d735ee06159cff33c0fc93f4df0e;hpb=cf2f2d4c5f979b563ad4439aa048fb0a2ecd5c8d;p=lttv.git diff --git a/ltt/branches/poly/ltt/tracefile.c b/ltt/branches/poly/ltt/tracefile.c index 3fbf3b2e..79063373 100644 --- a/ltt/branches/poly/ltt/tracefile.c +++ b/ltt/branches/poly/ltt/tracefile.c @@ -1582,6 +1582,10 @@ int ltt_tracefile_seek_position(LttTracefile *tf, const LttEventPosition *ep) { tf->event.offset = ep->offset; + /* Put back the event real tsc */ + tf->event.tsc = ep->tsc; + tf->buffer.tsc = ep->tsc; + err = ltt_tracefile_read_update_event(tf); if(err) goto fail; err = ltt_tracefile_read_op(tf); @@ -1742,7 +1746,6 @@ int ltt_tracefile_read_update_event(LttTracefile *tf) tf->buffer.tsc = event->tsc; pos += sizeof(guint64); } - event->event_time = ltt_interpolate_time(tf, event); event->facility_id = *(guint8*)pos; pos += sizeof(guint8);