linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Ian Rogers <irogers@google.com>
To: Kan Liang <kan.liang@linux.intel.com>,
	Zhengjun Xing <zhengjun.xing@linux.intel.com>,
	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@redhat.com>, Namhyung Kim <namhyung@kernel.org>,
	Maxime Coquelin <mcoquelin.stm32@gmail.com>,
	Alexandre Torgue <alexandre.torgue@foss.st.com>,
	Andi Kleen <ak@linux.intel.com>,
	James Clark <james.clark@arm.com>,
	John Garry <john.garry@huawei.com>,
	linux-kernel@vger.kernel.org, linux-perf-users@vger.kernel.org
Cc: Stephane Eranian <eranian@google.com>, Ian Rogers <irogers@google.com>
Subject: [PATCH v2 00/26] Update Intel events and metrics
Date: Mon, 31 Jan 2022 17:58:32 -0800	[thread overview]
Message-ID: <20220201015858.1226914-1-irogers@google.com> (raw)

Fetch and update Intel events and metrics using the script at:
https://github.com/intel/event-converter-for-linux-perf/pull/10
Generated events and metrics were added 1-by-1 and tested as much as
possible. Sometimes event data is the same but the files were
regenerated so the script improvements or a stable ordering would
occur. A particular improvement is to reintroduce TMA/Topdown metrics
generated from the full version of the spreadsheet.

v2. Addresses an issue with TMA metrics for broadwell-de and adds
    Kan's reviewed-by, except on the broadwell-de patch that is updated
    for the metrics.

Ian Rogers (26):
  perf test: Allow skip for all metrics test
  perf vendor events: Update metrics for SkyLake Server
  perf vendor events: Update metrics for Broadwell DE
  perf vendor events: Update metrics for CascadelakeX
  perf vendor events: Update metrics for HaswellX
  perf vendor events: Update metrics for Ivybridge
  perf vendor events: Update for Westmere EP-DP
  perf vendor events: Update metrics for IcelakeX
  perf vendor events: Update for Bonnell
  perf vendor events: Update metrics for Broadwell
  perf vendor events: Update metrics for BroadwellX
  perf vendor events: Update for Goldmont
  perf vendor events: Update for GoldmontPlus
  perf vendor events: Update metrics for Haswell
  perf vendor events: Update metrics for Icelake
  perf vendor events: Update metrics for Ivytown
  perf vendor events: Update metrics for Jaketown
  perf vendor events: Update Knights Landing
  perf vendor events: Update Nehalem EP
  perf vendor events: Update metrics for Skylake
  perf vendor events: Update Sandybridge
  perf vendor events: Update Silvermont
  perf vendor events: Update Tigerlake
  perf vendor events: Update Westmere EP-SP
  perf vendor events: Update Westmere EX
  perf vendor events: Update TremontX

 .../pmu-events/arch/x86/bonnell/cache.json    |  748 +--
 .../arch/x86/bonnell/floating-point.json      |  274 +-
 .../pmu-events/arch/x86/bonnell/frontend.json |   96 +-
 .../pmu-events/arch/x86/bonnell/memory.json   |  152 +-
 .../pmu-events/arch/x86/bonnell/other.json    |  452 +-
 .../pmu-events/arch/x86/bonnell/pipeline.json |  402 +-
 .../arch/x86/bonnell/virtual-memory.json      |  126 +-
 .../arch/x86/broadwell/bdw-metrics.json       |  353 +-
 .../pmu-events/arch/x86/broadwell/cache.json  | 4713 +++++++++--------
 .../arch/x86/broadwell/floating-point.json    |  235 +-
 .../arch/x86/broadwell/frontend.json          |  361 +-
 .../pmu-events/arch/x86/broadwell/memory.json | 4312 +++++++--------
 .../pmu-events/arch/x86/broadwell/other.json  |   42 +-
 .../arch/x86/broadwell/pipeline.json          | 1903 ++++---
 .../arch/x86/broadwell/virtual-memory.json    |  412 +-
 .../arch/x86/broadwellde/bdwde-metrics.json   |  407 +-
 .../arch/x86/broadwellde/cache.json           | 1122 ++--
 .../arch/x86/broadwellde/floating-point.json  |  222 +-
 .../arch/x86/broadwellde/frontend.json        |  335 +-
 .../arch/x86/broadwellde/memory.json          |  608 +--
 .../arch/x86/broadwellde/other.json           |   28 +-
 .../arch/x86/broadwellde/pipeline.json        | 1892 ++++---
 .../arch/x86/broadwellde/virtual-memory.json  |  394 +-
 .../arch/x86/broadwellx/bdx-metrics.json      |  351 +-
 .../pmu-events/arch/x86/broadwellx/cache.json | 1300 ++---
 .../arch/x86/broadwellx/floating-point.json   |  224 +-
 .../arch/x86/broadwellx/frontend.json         |  335 +-
 .../arch/x86/broadwellx/memory.json           |  974 ++--
 .../pmu-events/arch/x86/broadwellx/other.json |   28 +-
 .../arch/x86/broadwellx/pipeline.json         | 1891 ++++---
 .../arch/x86/broadwellx/virtual-memory.json   |  394 +-
 .../arch/x86/cascadelakex/cache.json          |  967 ++--
 .../arch/x86/cascadelakex/clx-metrics.json    |  469 +-
 .../arch/x86/cascadelakex/floating-point.json |   50 +-
 .../arch/x86/cascadelakex/frontend.json       |   18 +-
 .../arch/x86/cascadelakex/memory.json         | 1008 ++--
 .../arch/x86/cascadelakex/other.json          |  952 ++--
 .../arch/x86/cascadelakex/pipeline.json       |   11 +
 .../arch/x86/cascadelakex/uncore-other.json   |   23 +
 .../pmu-events/arch/x86/goldmont/cache.json   | 1466 +++--
 .../arch/x86/goldmont/floating-point.json     |   33 +
 .../arch/x86/goldmont/frontend.json           |   78 +-
 .../pmu-events/arch/x86/goldmont/memory.json  |   38 +-
 .../pmu-events/arch/x86/goldmont/other.json   |   92 +-
 .../arch/x86/goldmont/pipeline.json           |  538 +-
 .../arch/x86/goldmont/virtual-memory.json     |   94 +-
 .../arch/x86/goldmontplus/cache.json          | 1730 +++---
 .../arch/x86/goldmontplus/floating-point.json |   38 +
 .../arch/x86/goldmontplus/frontend.json       |   88 +-
 .../arch/x86/goldmontplus/memory.json         |   44 +-
 .../arch/x86/goldmontplus/other.json          |  106 +-
 .../arch/x86/goldmontplus/pipeline.json       |  616 +--
 .../arch/x86/goldmontplus/virtual-memory.json |  214 +-
 .../pmu-events/arch/x86/haswell/cache.json    | 1446 +++--
 .../arch/x86/haswell/floating-point.json      |  129 +-
 .../pmu-events/arch/x86/haswell/frontend.json |  362 +-
 .../arch/x86/haswell/hsw-metrics.json         |  265 +-
 .../pmu-events/arch/x86/haswell/memory.json   | 1004 ++--
 .../pmu-events/arch/x86/haswell/other.json    |   40 +-
 .../pmu-events/arch/x86/haswell/pipeline.json | 1796 +++----
 .../arch/x86/haswell/uncore-cache.json        |  252 +
 .../arch/x86/haswell/uncore-other.json        |   69 +
 .../pmu-events/arch/x86/haswell/uncore.json   |  374 --
 .../arch/x86/haswell/virtual-memory.json      |  552 +-
 .../pmu-events/arch/x86/haswellx/cache.json   | 1434 ++---
 .../arch/x86/haswellx/floating-point.json     |  116 +-
 .../arch/x86/haswellx/frontend.json           |  336 +-
 .../arch/x86/haswellx/hsx-metrics.json        |  263 +-
 .../pmu-events/arch/x86/haswellx/memory.json  | 1070 ++--
 .../pmu-events/arch/x86/haswellx/other.json   |   28 +-
 .../arch/x86/haswellx/pipeline.json           | 1763 +++---
 .../arch/x86/haswellx/virtual-memory.json     |  512 +-
 .../pmu-events/arch/x86/icelake/cache.json    |  658 +--
 .../arch/x86/icelake/floating-point.json      |   69 +-
 .../pmu-events/arch/x86/icelake/frontend.json |  449 +-
 .../arch/x86/icelake/icl-metrics.json         |  338 +-
 .../pmu-events/arch/x86/icelake/memory.json   |  591 ++-
 .../pmu-events/arch/x86/icelake/other.json    |  630 +--
 .../pmu-events/arch/x86/icelake/pipeline.json | 1081 ++--
 .../arch/x86/icelake/virtual-memory.json      |  178 +-
 .../pmu-events/arch/x86/icelakex/cache.json   |  851 +--
 .../arch/x86/icelakex/floating-point.json     |   51 +-
 .../arch/x86/icelakex/frontend.json           |  501 +-
 .../arch/x86/icelakex/icx-metrics.json        |  304 +-
 .../pmu-events/arch/x86/icelakex/memory.json  |  601 ++-
 .../pmu-events/arch/x86/icelakex/other.json   |  794 ++-
 .../arch/x86/icelakex/pipeline.json           | 1112 ++--
 .../arch/x86/icelakex/uncore-other.json       |   61 +-
 .../arch/x86/icelakex/virtual-memory.json     |  150 +-
 .../pmu-events/arch/x86/ivybridge/cache.json  | 1446 ++---
 .../arch/x86/ivybridge/floating-point.json    |  212 +-
 .../arch/x86/ivybridge/frontend.json          |  386 +-
 .../arch/x86/ivybridge/ivb-metrics.json       |  287 +-
 .../pmu-events/arch/x86/ivybridge/memory.json |  290 +-
 .../pmu-events/arch/x86/ivybridge/other.json  |   42 +-
 .../arch/x86/ivybridge/pipeline.json          | 1769 +++----
 .../arch/x86/ivybridge/uncore-cache.json      |  252 +
 .../arch/x86/ivybridge/uncore-other.json      |   91 +
 .../pmu-events/arch/x86/ivybridge/uncore.json |  314 --
 .../arch/x86/ivybridge/virtual-memory.json    |  208 +-
 .../pmu-events/arch/x86/ivytown/cache.json    | 1594 +++---
 .../arch/x86/ivytown/floating-point.json      |  212 +-
 .../pmu-events/arch/x86/ivytown/frontend.json |  386 +-
 .../arch/x86/ivytown/ivt-metrics.json         |  277 +-
 .../pmu-events/arch/x86/ivytown/memory.json   |  562 +-
 .../pmu-events/arch/x86/ivytown/other.json    |   42 +-
 .../pmu-events/arch/x86/ivytown/pipeline.json | 1769 +++----
 .../arch/x86/ivytown/virtual-memory.json      |  232 +-
 .../pmu-events/arch/x86/jaketown/cache.json   | 1582 +++---
 .../arch/x86/jaketown/floating-point.json     |  160 +-
 .../arch/x86/jaketown/frontend.json           |  363 +-
 .../arch/x86/jaketown/jkt-metrics.json        |  140 +-
 .../pmu-events/arch/x86/jaketown/memory.json  |  478 +-
 .../pmu-events/arch/x86/jaketown/other.json   |   58 +-
 .../arch/x86/jaketown/pipeline.json           | 1556 +++---
 .../arch/x86/jaketown/virtual-memory.json     |  178 +-
 .../arch/x86/knightslanding/cache.json        | 2602 +++++----
 .../x86/knightslanding/floating-point.json    |   29 +
 .../arch/x86/knightslanding/frontend.json     |   48 +-
 .../arch/x86/knightslanding/memory.json       | 1226 ++---
 .../arch/x86/knightslanding/pipeline.json     |  465 +-
 .../x86/knightslanding/virtual-memory.json    |   68 +-
 .../pmu-events/arch/x86/nehalemep/cache.json  | 3062 +++++------
 .../arch/x86/nehalemep/floating-point.json    |  180 +-
 .../arch/x86/nehalemep/frontend.json          |   18 +-
 .../pmu-events/arch/x86/nehalemep/memory.json |  670 +--
 .../pmu-events/arch/x86/nehalemep/other.json  |  156 +-
 .../arch/x86/nehalemep/pipeline.json          |  764 +--
 .../arch/x86/nehalemep/virtual-memory.json    |   90 +-
 .../arch/x86/sandybridge/cache.json           | 2298 ++++----
 .../arch/x86/sandybridge/floating-point.json  |  172 +-
 .../arch/x86/sandybridge/frontend.json        |  365 +-
 .../arch/x86/sandybridge/memory.json          |  520 +-
 .../arch/x86/sandybridge/other.json           |   66 +-
 .../arch/x86/sandybridge/pipeline.json        | 1634 +++---
 .../arch/x86/sandybridge/snb-metrics.json     |  150 +-
 .../arch/x86/sandybridge/uncore-cache.json    |  252 +
 .../arch/x86/sandybridge/uncore-other.json    |   91 +
 .../arch/x86/sandybridge/uncore.json          |  314 --
 .../arch/x86/sandybridge/virtual-memory.json  |  160 +-
 .../pmu-events/arch/x86/silvermont/cache.json |  940 ++--
 .../arch/x86/silvermont/floating-point.json   |   11 +
 .../arch/x86/silvermont/frontend.json         |   75 +-
 .../arch/x86/silvermont/memory.json           |    8 +-
 .../pmu-events/arch/x86/silvermont/other.json |   20 +-
 .../arch/x86/silvermont/pipeline.json         |  422 +-
 .../arch/x86/silvermont/virtual-memory.json   |   76 +-
 .../pmu-events/arch/x86/skylake/cache.json    | 2611 ++++-----
 .../arch/x86/skylake/floating-point.json      |   48 +-
 .../pmu-events/arch/x86/skylake/frontend.json |  578 +-
 .../pmu-events/arch/x86/skylake/memory.json   | 1566 +++---
 .../pmu-events/arch/x86/skylake/other.json    |   46 +-
 .../pmu-events/arch/x86/skylake/pipeline.json | 1083 ++--
 .../arch/x86/skylake/skl-metrics.json         |  497 +-
 .../arch/x86/skylake/virtual-memory.json      |  274 +-
 .../pmu-events/arch/x86/skylakex/cache.json   |  111 +-
 .../arch/x86/skylakex/floating-point.json     |   24 +-
 .../arch/x86/skylakex/frontend.json           |   18 +-
 .../pmu-events/arch/x86/skylakex/memory.json  |   96 +-
 .../arch/x86/skylakex/pipeline.json           |   11 +
 .../arch/x86/skylakex/skx-metrics.json        |  461 +-
 .../arch/x86/skylakex/uncore-other.json       |   23 +
 .../pmu-events/arch/x86/tigerlake/cache.json  |   44 +-
 .../arch/x86/tigerlake/floating-point.json    |   11 +-
 .../arch/x86/tigerlake/frontend.json          |   17 +-
 .../arch/x86/tigerlake/pipeline.json          |   37 +-
 .../pmu-events/arch/x86/tremontx/cache.json   |  282 +-
 .../arch/x86/tremontx/floating-point.json     |   24 +
 .../arch/x86/tremontx/frontend.json           |   97 +-
 .../pmu-events/arch/x86/tremontx/memory.json  |  449 +-
 .../pmu-events/arch/x86/tremontx/other.json   | 1786 ++++++-
 .../arch/x86/tremontx/pipeline.json           |  341 +-
 .../arch/x86/tremontx/uncore-memory.json      |  156 +-
 .../arch/x86/tremontx/uncore-other.json       | 2045 ++++++-
 .../arch/x86/tremontx/virtual-memory.json     |  320 +-
 .../arch/x86/westmereep-dp/cache.json         | 2734 +++++-----
 .../x86/westmereep-dp/floating-point.json     |  180 +-
 .../arch/x86/westmereep-dp/frontend.json      |   18 +-
 .../arch/x86/westmereep-dp/memory.json        |  686 +--
 .../arch/x86/westmereep-dp/other.json         |  238 +-
 .../arch/x86/westmereep-dp/pipeline.json      |  780 +--
 .../x86/westmereep-dp/virtual-memory.json     |  138 +-
 .../arch/x86/westmereep-sp/cache.json         | 3142 +++++------
 .../x86/westmereep-sp/floating-point.json     |  180 +-
 .../arch/x86/westmereep-sp/frontend.json      |   18 +-
 .../arch/x86/westmereep-sp/memory.json        |  670 +--
 .../arch/x86/westmereep-sp/other.json         |  238 +-
 .../arch/x86/westmereep-sp/pipeline.json      |  780 +--
 .../x86/westmereep-sp/virtual-memory.json     |  120 +-
 .../pmu-events/arch/x86/westmereex/cache.json | 3142 +++++------
 .../arch/x86/westmereex/floating-point.json   |  180 +-
 .../arch/x86/westmereex/frontend.json         |   18 +-
 .../arch/x86/westmereex/memory.json           |  676 +--
 .../pmu-events/arch/x86/westmereex/other.json |  238 +-
 .../arch/x86/westmereex/pipeline.json         |  784 ++-
 .../arch/x86/westmereex/virtual-memory.json   |  138 +-
 tools/perf/tests/shell/stat_all_metrics.sh    |   10 +-
 197 files changed, 61336 insertions(+), 52655 deletions(-)
 create mode 100644 tools/perf/pmu-events/arch/x86/goldmont/floating-point.json
 create mode 100644 tools/perf/pmu-events/arch/x86/goldmontplus/floating-point.json
 create mode 100644 tools/perf/pmu-events/arch/x86/haswell/uncore-cache.json
 create mode 100644 tools/perf/pmu-events/arch/x86/haswell/uncore-other.json
 delete mode 100644 tools/perf/pmu-events/arch/x86/haswell/uncore.json
 create mode 100644 tools/perf/pmu-events/arch/x86/ivybridge/uncore-cache.json
 create mode 100644 tools/perf/pmu-events/arch/x86/ivybridge/uncore-other.json
 delete mode 100644 tools/perf/pmu-events/arch/x86/ivybridge/uncore.json
 create mode 100644 tools/perf/pmu-events/arch/x86/knightslanding/floating-point.json
 create mode 100644 tools/perf/pmu-events/arch/x86/sandybridge/uncore-cache.json
 create mode 100644 tools/perf/pmu-events/arch/x86/sandybridge/uncore-other.json
 delete mode 100644 tools/perf/pmu-events/arch/x86/sandybridge/uncore.json
 create mode 100644 tools/perf/pmu-events/arch/x86/silvermont/floating-point.json
 create mode 100644 tools/perf/pmu-events/arch/x86/tremontx/floating-point.json

-- 
2.35.0.rc2.247.g8bbb082509-goog


             reply	other threads:[~2022-02-01  1:59 UTC|newest]

Thread overview: 29+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-02-01  1:58 Ian Rogers [this message]
2022-02-01  1:58 ` [PATCH v2 01/26] perf test: Allow skip for all metrics test Ian Rogers
2022-02-01 10:39   ` John Garry
2022-02-01  1:58 ` [PATCH v2 02/26] perf vendor events: Update metrics for SkyLake Server Ian Rogers
2022-02-01  1:58 ` [PATCH v2 03/26] perf vendor events: Update metrics for Broadwell DE Ian Rogers
2022-02-01 13:08   ` Liang, Kan
2022-02-01  1:58 ` [PATCH v2 04/26] perf vendor events: Update metrics for CascadelakeX Ian Rogers
2022-02-01  1:58 ` [PATCH v2 05/26] perf vendor events: Update metrics for HaswellX Ian Rogers
2022-02-01  1:58 ` [PATCH v2 06/26] perf vendor events: Update metrics for Ivybridge Ian Rogers
2022-02-01  1:58 ` [PATCH v2 07/26] perf vendor events: Update for Westmere EP-DP Ian Rogers
2022-02-01  1:58 ` [PATCH v2 08/26] perf vendor events: Update metrics for IcelakeX Ian Rogers
2022-02-01  1:58 ` [PATCH v2 09/26] perf vendor events: Update for Bonnell Ian Rogers
2022-02-01  1:58 ` [PATCH v2 10/26] perf vendor events: Update metrics for Broadwell Ian Rogers
2022-02-01  1:58 ` [PATCH v2 11/26] perf vendor events: Update metrics for BroadwellX Ian Rogers
2022-02-01  1:58 ` [PATCH v2 12/26] perf vendor events: Update for Goldmont Ian Rogers
2022-02-01  1:58 ` [PATCH v2 13/26] perf vendor events: Update for GoldmontPlus Ian Rogers
2022-02-01  1:58 ` [PATCH v2 14/26] perf vendor events: Update metrics for Haswell Ian Rogers
2022-02-01  1:58 ` [PATCH v2 15/26] perf vendor events: Update metrics for Icelake Ian Rogers
2022-02-01  1:58 ` [PATCH v2 16/26] perf vendor events: Update metrics for Ivytown Ian Rogers
2022-02-01  1:58 ` [PATCH v2 17/26] perf vendor events: Update metrics for Jaketown Ian Rogers
2022-02-01  1:58 ` [PATCH v2 18/26] perf vendor events: Update Knights Landing Ian Rogers
2022-02-01  1:58 ` [PATCH v2 19/26] perf vendor events: Update Nehalem EP Ian Rogers
2022-02-01  1:58 ` [PATCH v2 20/26] perf vendor events: Update metrics for Skylake Ian Rogers
2022-02-01  1:58 ` [PATCH v2 21/26] perf vendor events: Update Sandybridge Ian Rogers
2022-02-01  1:58 ` [PATCH v2 22/26] perf vendor events: Update Silvermont Ian Rogers
2022-02-01  1:58 ` [PATCH v2 23/26] perf vendor events: Update Tigerlake Ian Rogers
2022-02-01  1:58 ` [PATCH v2 24/26] perf vendor events: Update Westmere EP-SP Ian Rogers
2022-02-01  1:58 ` [PATCH v2 25/26] perf vendor events: Update Westmere EX Ian Rogers
2022-02-01  1:58 ` [PATCH v2 26/26] perf vendor events: Update TremontX Ian Rogers

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=20220201015858.1226914-1-irogers@google.com \
    --to=irogers@google.com \
    --cc=acme@kernel.org \
    --cc=ak@linux.intel.com \
    --cc=alexander.shishkin@linux.intel.com \
    --cc=alexandre.torgue@foss.st.com \
    --cc=eranian@google.com \
    --cc=james.clark@arm.com \
    --cc=john.garry@huawei.com \
    --cc=jolsa@redhat.com \
    --cc=kan.liang@linux.intel.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-perf-users@vger.kernel.org \
    --cc=mark.rutland@arm.com \
    --cc=mcoquelin.stm32@gmail.com \
    --cc=mingo@redhat.com \
    --cc=namhyung@kernel.org \
    --cc=peterz@infradead.org \
    --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).