diff options
-rw-r--r-- | tools/perf/util/session.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/perf/util/session.c b/tools/perf/util/session.c index b3b145a8ff7c..e5d0ed9603ee 100644 --- a/tools/perf/util/session.c +++ b/tools/perf/util/session.c | |||
@@ -603,7 +603,7 @@ static int perf_session_queue_event(struct perf_session *s, event_t *event, | |||
603 | u64 timestamp = data->time; | 603 | u64 timestamp = data->time; |
604 | struct sample_queue *new; | 604 | struct sample_queue *new; |
605 | 605 | ||
606 | if (!timestamp) | 606 | if (!timestamp || timestamp == ~0ULL) |
607 | return -ETIME; | 607 | return -ETIME; |
608 | 608 | ||
609 | if (timestamp < s->ordered_samples.last_flush) { | 609 | if (timestamp < s->ordered_samples.last_flush) { |