diff --git a/tools/perf/util/session.c b/tools/perf/util/session.c index 2fdbccf10770..3c140daba63a 100644 --- a/tools/perf/util/session.c +++ b/tools/perf/util/session.c @@ -773,10 +773,10 @@ int __perf_session__process_events(struct perf_session *session, err = -errno; goto out_err; } + ui_progress__update(progress, file_offset); more: event = (event_t *)(buf + head); - ui_progress__update(progress, file_offset); if (session->header.needs_swap) perf_event_header__bswap(&event->header);