[RFC PATCH 4/5] perf cs-etm: don't process queues until cs_etm__flush_events
James Clark
james.clark at arm.com
Tue Feb 9 04:58:56 EST 2021
To make sure processing happens in the correct order, queue processing
shouldn't start until every aux queue has had its first timestamp found.
Now that we're only searching for timestamps within each aux record, we
need to wait until all aux records are delivered before starting the
processing.
Signed-off-by: James Clark <james.clark at arm.com>
---
tools/perf/util/cs-etm.c | 4 ----
1 file changed, 4 deletions(-)
diff --git a/tools/perf/util/cs-etm.c b/tools/perf/util/cs-etm.c
index efe418a7c82e..0aaa1f6d2822 100644
--- a/tools/perf/util/cs-etm.c
+++ b/tools/perf/util/cs-etm.c
@@ -2394,10 +2394,6 @@ static int cs_etm__process_event(struct perf_session *session,
else if (event->header.type == PERF_RECORD_SWITCH_CPU_WIDE)
return cs_etm__process_switch_cpu_wide(etm, event);
- if (!etm->timeless_decoding &&
- event->header.type == PERF_RECORD_AUX)
- return cs_etm__process_queues(etm);
-
return 0;
}
--
2.28.0
More information about the linux-arm-kernel
mailing list