X-Git-Url: http://git.lttng.org./?a=blobdiff_plain;f=ltt%2Fbranches%2Fpoly%2Flttv%2Flttv%2Ftracecontext.c;h=98ffffa7f29aea1d066c4174886bb8c0f101ddb9;hb=1c4347f913692f7837cdfd141d1d67d6813398aa;hp=ea7cdf62eddc00e7798f67c1b2d4d255a8db41fa;hpb=b4aeb12d2c3a48e62c1fde1762a8a628f6bcafce;p=lttv.git diff --git a/ltt/branches/poly/lttv/lttv/tracecontext.c b/ltt/branches/poly/lttv/lttv/tracecontext.c index ea7cdf62..98ffffa7 100644 --- a/ltt/branches/poly/lttv/lttv/tracecontext.c +++ b/ltt/branches/poly/lttv/lttv/tracecontext.c @@ -1458,7 +1458,8 @@ guint lttv_process_traceset_seek_n_backward(LttvTracesetContext *self, } /* if we have the same time twice, it means we are at the beginning of the * trace, and we seek back at the same position */ - if(ltt_time_compare(last_time, time) == 0) break; + if(ltt_time_compare(last_time, time) == 0 + && ltt_time_compare(time, self->time_span.start_time) == 0) break; last_time = time; /* Process the traceset, calling a hook which adds events