[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20210212144513.31765-5-james.clark@arm.com>
Date: Fri, 12 Feb 2021 16:45:10 +0200
From: James Clark <james.clark@....com>
To: coresight@...ts.linaro.org
Cc: al.grant@....com, branislav.rankov@....com, denik@...omium.org,
suzuki.poulose@....com, James Clark <james.clark@....com>,
Mike Leach <mike.leach@...aro.org>,
Leo Yan <leo.yan@...aro.org>,
Mark Rutland <mark.rutland@....com>,
Alexander Shishkin <alexander.shishkin@...ux.intel.com>,
Jiri Olsa <jolsa@...hat.com>,
Namhyung Kim <namhyung@...nel.org>,
John Garry <john.garry@...wei.com>,
Will Deacon <will@...nel.org>,
Mathieu Poirier <mathieu.poirier@...aro.org>,
linux-arm-kernel@...ts.infradead.org, linux-kernel@...r.kernel.org
Subject: [PATCH 4/7] perf cs-etm: don't process queues until cs_etm__flush_events
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@....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 88b541b2a804..5ab037c2dabe 100644
--- a/tools/perf/util/cs-etm.c
+++ b/tools/perf/util/cs-etm.c
@@ -2398,10 +2398,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
Powered by blists - more mailing lists