[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20240314055801.1973422-1-irogers@google.com>
Date: Wed, 13 Mar 2024 22:57:59 -0700
From: Ian Rogers <irogers@...gle.com>
To: Peter Zijlstra <peterz@...radead.org>, Ingo Molnar <mingo@...hat.com>,
Arnaldo Carvalho de Melo <acme@...nel.org>, Namhyung Kim <namhyung@...nel.org>,
Mark Rutland <mark.rutland@....com>,
Alexander Shishkin <alexander.shishkin@...ux.intel.com>, Jiri Olsa <jolsa@...nel.org>,
Ian Rogers <irogers@...gle.com>, Adrian Hunter <adrian.hunter@...el.com>,
John Garry <john.g.garry@...cle.com>, Kan Liang <kan.liang@...ux.intel.com>,
Jing Zhang <renyu.zj@...ux.alibaba.com>, Thomas Richter <tmricht@...ux.ibm.com>,
James Clark <james.clark@....com>, linux-kernel@...r.kernel.org,
linux-perf-users@...r.kernel.org, Stephane Eranian <eranian@...gle.com>
Subject: [PATCH v3 0/2] Python generated Arm64 metrics
Generate two sets of additional metrics for Arm64, where the topdown
set decomposes yet further. The metrcs primarily use json events,
where the json contains architecture standard events. Not all events
are in the json, such as for a53 where the events are in
sysfs. Workaround this by adding the sysfs events to the metrics but
longer-term such events should be added to the json.
The patches should be applied on top of:
https://lore.kernel.org/lkml/20240314055051.1960527-1-irogers@google.com/
v3. Some minor code cleanup changes.
v2. The cycles metrics are now made common and shared with AMD and
Intel, suggested by Kan Liang <kan.liang@...ux.intel.com>. This
assumes these patches come after the AMD and Intel sets.
Ian Rogers (2):
perf jevents: Add collection of topdown like metrics for arm64
perf jevents: Add cycles breakdown metric for arm64/AMD/Intel
tools/perf/pmu-events/amd_metrics.py | 3 +
tools/perf/pmu-events/arm64_metrics.py | 147 +++++++++++++++++++++++-
tools/perf/pmu-events/common_metrics.py | 18 +++
tools/perf/pmu-events/intel_metrics.py | 2 +
4 files changed, 167 insertions(+), 3 deletions(-)
create mode 100644 tools/perf/pmu-events/common_metrics.py
--
2.44.0.278.ge034bb2e1d-goog
Powered by blists - more mailing lists