From: Ian Rogers <irogers@google.com>
To: Peter Zijlstra <peterz@infradead.org>,
Ingo Molnar <mingo@redhat.com>,
Arnaldo Carvalho de Melo <acme@kernel.org>,
Mark Rutland <mark.rutland@arm.com>,
Alexander Shishkin <alexander.shishkin@linux.intel.com>,
Jiri Olsa <jolsa@kernel.org>, Namhyung Kim <namhyung@kernel.org>,
Ian Rogers <irogers@google.com>,
Adrian Hunter <adrian.hunter@intel.com>,
Kan Liang <kan.liang@linux.intel.com>,
Zhengjun Xing <zhengjun.xing@linux.intel.com>,
John Garry <john.garry@huawei.com>,
Kajol Jain <kjain@linux.ibm.com>,
Thomas Richter <tmricht@linux.ibm.com>,
linux-kernel@vger.kernel.org, linux-perf-users@vger.kernel.org
Subject: [PATCH v1 00/15] Event, metric and metric group improvements
Date: Mon, 15 May 2023 14:58:29 -0700 [thread overview]
Message-ID: <20230515215844.653610-1-irogers@google.com> (raw)
Update Intel events to the latest at: https://github.com/intel/perfmon
TMA info metrics are renamed for consistency and a fix is added that
adds back in the Valkyrie metrics such as memory_bandwidth_total,
memory_bandwidth_read and memory_bandwidth_write on icelakex.
Add a new feature to perf list to show a description of a metricgroup
via a new metricgroups.json file, add this for the generated Intel
metrics. The descriptions looks like:
```
$ perf list
...
tma_frontend_bound_group: [Metrics contributing to tma_frontend_bound category]
tma_fetch_bandwidth
[This metric represents fraction of slots the CPU
was stalled due to Frontend bandwidth issues]
tma_fetch_latency
[This metric represents fraction of slots the CPU
was stalled due to Frontend latency issues]
...
```
Ian Rogers (15):
perf vendor events intel: Update alderlake events/metrics
perf vendor events intel: Update broadwell variant events/metrics
perf vendor events intel: Update cascadelakex events/metrics
perf vendor events intel: Update elkhartlake events
perf vendor events intel: Update haswell(x) metrics
perf vendor events intel: Update icelake/icelakex events/metrics
perf vendor events intel: Update ivybridge/ivytown metrics
perf vendor events intel: Update jaketown metrics
perf vendor events intel: Update sandybridge metrics
perf vendor events intel: Update sapphirerapids events/metrics
perf vendor events intel: Update skylake/skylakex events/metrics
perf vendor events intel: Update snowridgex events
perf vendor events intel: Update tigerlake events/metrics
perf jevents: Add support for metricgroup descriptions
perf vendor events intel: Add metricgroup descriptions for all models
tools/perf/builtin-list.c | 11 +-
.../arch/x86/alderlake/adl-metrics.json | 1314 ++++++++--------
.../pmu-events/arch/x86/alderlake/cache.json | 9 +
.../pmu-events/arch/x86/alderlake/memory.json | 6 +-
.../arch/x86/alderlake/metricgroups.json | 122 ++
.../arch/x86/alderlaken/adln-metrics.json | 276 ++--
.../arch/x86/alderlaken/metricgroups.json | 26 +
.../arch/x86/broadwell/bdw-metrics.json | 580 +++----
.../arch/x86/broadwell/floating-point.json | 15 +
.../arch/x86/broadwell/metricgroups.json | 107 ++
.../arch/x86/broadwellde/bdwde-metrics.json | 556 +++----
.../arch/x86/broadwellde/floating-point.json | 15 +
.../arch/x86/broadwellde/metricgroups.json | 107 ++
.../arch/x86/broadwellx/bdx-metrics.json | 796 ++++++----
.../arch/x86/broadwellx/floating-point.json | 15 +
.../arch/x86/broadwellx/metricgroups.json | 107 ++
.../arch/x86/cascadelakex/clx-metrics.json | 1231 +++++++++------
.../arch/x86/cascadelakex/floating-point.json | 31 +
.../arch/x86/cascadelakex/metricgroups.json | 114 ++
.../arch/x86/cascadelakex/pipeline.json | 23 +-
.../arch/x86/elkhartlake/cache.json | 7 +
.../arch/x86/elkhartlake/memory.json | 2 +
.../arch/x86/elkhartlake/other.json | 10 +
.../arch/x86/elkhartlake/pipeline.json | 3 +
.../arch/x86/haswell/hsw-metrics.json | 484 +++---
.../arch/x86/haswell/metricgroups.json | 107 ++
.../arch/x86/haswellx/hsx-metrics.json | 700 ++++++---
.../arch/x86/haswellx/metricgroups.json | 107 ++
.../pmu-events/arch/x86/icelake/cache.json | 18 +
.../arch/x86/icelake/icl-metrics.json | 950 ++++++------
.../arch/x86/icelake/metricgroups.json | 113 ++
.../arch/x86/icelakex/icx-metrics.json | 1306 +++++++++-------
.../arch/x86/icelakex/metricgroups.json | 114 ++
.../arch/x86/ivybridge/ivb-metrics.json | 526 +++----
.../arch/x86/ivybridge/metricgroups.json | 107 ++
.../arch/x86/ivytown/ivt-metrics.json | 534 +++----
.../arch/x86/ivytown/metricgroups.json | 107 ++
.../arch/x86/jaketown/jkt-metrics.json | 224 +--
.../arch/x86/jaketown/metricgroups.json | 100 ++
tools/perf/pmu-events/arch/x86/mapfile.csv | 26 +-
.../arch/x86/sandybridge/metricgroups.json | 100 ++
.../arch/x86/sandybridge/snb-metrics.json | 222 +--
.../arch/x86/sapphirerapids/memory.json | 6 +-
.../arch/x86/sapphirerapids/metricgroups.json | 118 ++
.../arch/x86/sapphirerapids/spr-metrics.json | 1357 ++++++++++-------
.../sapphirerapids/uncore-interconnect.json | 2 +-
.../x86/sapphirerapids/uncore-memory.json | 8 +-
.../arch/x86/skylake/floating-point.json | 8 +
.../arch/x86/skylake/metricgroups.json | 113 ++
.../pmu-events/arch/x86/skylake/pipeline.json | 15 +-
.../arch/x86/skylake/skl-metrics.json | 875 ++++++-----
.../arch/x86/skylakex/floating-point.json | 31 +
.../arch/x86/skylakex/metricgroups.json | 114 ++
.../arch/x86/skylakex/pipeline.json | 23 +-
.../arch/x86/skylakex/skx-metrics.json | 1183 ++++++++------
.../pmu-events/arch/x86/snowridgex/cache.json | 7 +
.../arch/x86/snowridgex/memory.json | 2 +
.../pmu-events/arch/x86/snowridgex/other.json | 10 +
.../arch/x86/snowridgex/pipeline.json | 3 +
.../x86/snowridgex/uncore-interconnect.json | 14 +-
.../arch/x86/snowridgex/uncore-io.json | 8 -
.../arch/x86/snowridgex/uncore-memory.json | 7 +-
.../arch/x86/snowridgex/uncore-power.json | 6 +-
.../pmu-events/arch/x86/tigerlake/cache.json | 18 +
.../arch/x86/tigerlake/metricgroups.json | 113 ++
.../arch/x86/tigerlake/pipeline.json | 1 +
.../arch/x86/tigerlake/tgl-metrics.json | 970 ++++++------
tools/perf/pmu-events/empty-pmu-events.c | 5 +
tools/perf/pmu-events/jevents.py | 49 +-
tools/perf/pmu-events/pmu-events.h | 2 +
70 files changed, 9985 insertions(+), 6411 deletions(-)
create mode 100644 tools/perf/pmu-events/arch/x86/alderlake/metricgroups.json
create mode 100644 tools/perf/pmu-events/arch/x86/alderlaken/metricgroups.json
create mode 100644 tools/perf/pmu-events/arch/x86/broadwell/metricgroups.json
create mode 100644 tools/perf/pmu-events/arch/x86/broadwellde/metricgroups.json
create mode 100644 tools/perf/pmu-events/arch/x86/broadwellx/metricgroups.json
create mode 100644 tools/perf/pmu-events/arch/x86/cascadelakex/metricgroups.json
create mode 100644 tools/perf/pmu-events/arch/x86/haswell/metricgroups.json
create mode 100644 tools/perf/pmu-events/arch/x86/haswellx/metricgroups.json
create mode 100644 tools/perf/pmu-events/arch/x86/icelake/metricgroups.json
create mode 100644 tools/perf/pmu-events/arch/x86/icelakex/metricgroups.json
create mode 100644 tools/perf/pmu-events/arch/x86/ivybridge/metricgroups.json
create mode 100644 tools/perf/pmu-events/arch/x86/ivytown/metricgroups.json
create mode 100644 tools/perf/pmu-events/arch/x86/jaketown/metricgroups.json
create mode 100644 tools/perf/pmu-events/arch/x86/sandybridge/metricgroups.json
create mode 100644 tools/perf/pmu-events/arch/x86/sapphirerapids/metricgroups.json
create mode 100644 tools/perf/pmu-events/arch/x86/skylake/metricgroups.json
create mode 100644 tools/perf/pmu-events/arch/x86/skylakex/metricgroups.json
create mode 100644 tools/perf/pmu-events/arch/x86/tigerlake/metricgroups.json
--
2.40.1.606.ga4b1b128d6-goog
next reply other threads:[~2023-05-15 21:58 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-05-15 21:58 Ian Rogers [this message]
2023-05-15 21:58 ` [PATCH v1 04/15] perf vendor events intel: Update elkhartlake events Ian Rogers
2023-05-15 21:58 ` [PATCH v1 08/15] perf vendor events intel: Update jaketown metrics Ian Rogers
2023-05-15 21:58 ` [PATCH v1 09/15] perf vendor events intel: Update sandybridge metrics Ian Rogers
2023-05-15 21:58 ` [PATCH v1 12/15] perf vendor events intel: Update snowridgex events Ian Rogers
2023-05-15 21:58 ` [PATCH v1 14/15] perf jevents: Add support for metricgroup descriptions Ian Rogers
[not found] ` <20230515215844.653610-16-irogers@google.com>
2023-05-16 17:53 ` [PATCH v1 15/15] perf vendor events intel: Add metricgroup descriptions for all models Liang, Kan
2023-05-16 18:19 ` Ian Rogers
2023-05-16 21:41 ` Liang, Kan
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20230515215844.653610-1-irogers@google.com \
--to=irogers@google.com \
--cc=acme@kernel.org \
--cc=adrian.hunter@intel.com \
--cc=alexander.shishkin@linux.intel.com \
--cc=john.garry@huawei.com \
--cc=jolsa@kernel.org \
--cc=kan.liang@linux.intel.com \
--cc=kjain@linux.ibm.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-perf-users@vger.kernel.org \
--cc=mark.rutland@arm.com \
--cc=mingo@redhat.com \
--cc=namhyung@kernel.org \
--cc=peterz@infradead.org \
--cc=tmricht@linux.ibm.com \
--cc=zhengjun.xing@linux.intel.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).