projects
/
lttv.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fix heartbeat
[lttv.git]
/
ltt
/
branches
/
poly
/
ltt
/
tracefile.c
diff --git
a/ltt/branches/poly/ltt/tracefile.c
b/ltt/branches/poly/ltt/tracefile.c
index 3fbf3b2e05b5d735ee06159cff33c0fc93f4df0e..79063373e838d6e0f060f0767c850bcb860c64fd 100644
(file)
--- 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;
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);
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);
}
tf->buffer.tsc = event->tsc;
pos += sizeof(guint64);
}
-
event->event_time = ltt_interpolate_time(tf, event);
event->facility_id = *(guint8*)pos;
pos += sizeof(guint8);
event->event_time = ltt_interpolate_time(tf, event);
event->facility_id = *(guint8*)pos;
pos += sizeof(guint8);
This page took
0.023403 seconds
and
4
git commands to generate.