Fix babeltrace iterator lib: seek at time 0
authorJulien Desfossez <julien.desfossez@efficios.com>
Thu, 14 Jun 2012 12:09:44 +0000 (08:09 -0400)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Thu, 14 Jun 2012 12:09:44 +0000 (08:09 -0400)
commit5d2a5af291195537c5a589e388ddf2e2747fd6c5
tree916ed41cc284988a845d30af7cdddc829a109f70
parent2ae35d4f897d402facccddd4ce4d74df310bfb16
Fix babeltrace iterator lib: seek at time 0

When seeking by timestamp, we assumed that the timestamp passed as an
argument was a real timestamp from the trace. However LTTV uses
timestamp 0 to refer to the beginning of the trace. This fix ensures
that we read at least the first event after the seek.

Signed-off-by: Julien Desfossez <julien.desfossez@efficios.com>
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
lib/iterator.c
This page took 0.031924 seconds and 4 git commands to generate.