[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <8b3e6667-ac48-9ca9-6645-b2eebbc828aa@huawei.com>
Date: Tue, 13 Apr 2021 10:45:44 +0100
From: John Garry <john.garry@...wei.com>
To: Jiri Olsa <jolsa@...hat.com>, Andi Kleen <ak@...ux.intel.com>,
"Arnaldo Carvalho de Melo" <acme@...nel.org>
CC: <will@...nel.org>, <mathieu.poirier@...aro.org>,
<leo.yan@...aro.org>, <peterz@...radead.org>, <mingo@...hat.com>,
<acme@...nel.org>, <mark.rutland@....com>,
<alexander.shishkin@...ux.intel.com>, <namhyung@...nel.org>,
<irogers@...gle.com>, <linuxarm@...wei.com>, <kjain@...ux.ibm.com>,
<kan.liang@...ux.intel.com>, <linux-kernel@...r.kernel.org>,
<linux-arm-kernel@...ts.infradead.org>,
<zhangshaokun@...ilicon.com>, <pc@...ibm.com>,
<huanglingyan2@...wei.com>
Subject: perf arm64 --topdown support (was "perf arm64 metricgroup support")
On 08/04/2021 13:06, Jiri Olsa wrote:
> perf stat --topdown is not supported, as this requires the CPU PMU to
> expose (alias) events for the TopDown L1 metrics from sysfs, which arm
> does not do. To get that to work, we probably need to make perf use the
> pmu-events cpumap to learn about those alias events.
Hi guys,
About supporting --topdown command for other archs apart from x86, it
seems not possible today. Support there is based on kernel support for
"topdown" CPU events used in the metric calculations. However, arm64,
for example, does not support these "topdown" events.
It seems to me that we can change to use pmu-events framework +
metricgroup support here, rather than hardcoded events - has anyone
considered this approach previously? Seems a pretty big job, so thought
I'd ask first ...
Thanks,
John
Powered by blists - more mailing lists