perf vendor events intel: Add metricgroup descriptions for all models
authorIan Rogers <irogers@google.com>
Wed, 17 May 2023 17:38:04 +0000 (10:38 -0700)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Sat, 27 May 2023 01:27:41 +0000 (22:27 -0300)
commit6ac2230b55d392e6294ea9f406619ed39fd9050f
tree033475f198731f7784b39de8ca33e62afa3f0db8
parent66c6e0c1002771754c27ea5e14eeaa1405e3d088
perf vendor events intel: Add metricgroup descriptions for all models

Add metric group descriptions created by:
https://github.com/intel/perfmon/blob/main/scripts/create_perf_json.py
The descriptions add some additional detail in perf list.

Committer notes:

Removed unrelated changes to tools/perf/pmu-events/arch/x86/mapfile.csv
that removed AMD mappings and ended up breaking the build with things
like:

    CC      /tmp/build/perf-tools-next/pmu-events/pmu-events.o
  /tmp/build/perf-tools-next/pmu-events/pmu-events.c:23808:39: error: ‘pmu_metrics__amdzen4’ defined but not used [-Werror=unused-const-variable=]
  23808 | static const struct compact_pmu_event pmu_metrics__amdzen4[] = {
        |                                       ^~~~~~~~~~~~~~~~~~~~
  /tmp/build/perf-tools-next/pmu-events/pmu-events.c:23316:39: error: ‘pmu_events__amdzen4’ defined but not used [-Werror=unused-const-variable=]
  23316 | static const struct compact_pmu_event pmu_events__amdzen4[] = {
        |                                       ^~~~~~~~~~~~~~~~~~~

Reviewed-by: Kan Liang <kan.liang@linux.intel.com>
Signed-off-by: Ian Rogers <irogers@google.com>
Cc: Adrian Hunter <adrian.hunter@intel.com>
Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com>
Cc: Ingo Molnar <mingo@redhat.com>
Cc: Jiri Olsa <jolsa@kernel.org>
Cc: John Garry <john.g.garry@oracle.com>
Cc: Kajol Jain <kjain@linux.ibm.com>
Cc: Mark Rutland <mark.rutland@arm.com>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Thomas Richter <tmricht@linux.ibm.com>
Cc: Xing Zhengjun <zhengjun.xing@linux.intel.com>
Link: https://lore.kernel.org/r/20230517173805.602113-16-irogers@google.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
18 files changed:
tools/perf/pmu-events/arch/x86/alderlake/metricgroups.json [new file with mode: 0644]
tools/perf/pmu-events/arch/x86/alderlaken/metricgroups.json [new file with mode: 0644]
tools/perf/pmu-events/arch/x86/broadwell/metricgroups.json [new file with mode: 0644]
tools/perf/pmu-events/arch/x86/broadwellde/metricgroups.json [new file with mode: 0644]
tools/perf/pmu-events/arch/x86/broadwellx/metricgroups.json [new file with mode: 0644]
tools/perf/pmu-events/arch/x86/cascadelakex/metricgroups.json [new file with mode: 0644]
tools/perf/pmu-events/arch/x86/haswell/metricgroups.json [new file with mode: 0644]
tools/perf/pmu-events/arch/x86/haswellx/metricgroups.json [new file with mode: 0644]
tools/perf/pmu-events/arch/x86/icelake/metricgroups.json [new file with mode: 0644]
tools/perf/pmu-events/arch/x86/icelakex/metricgroups.json [new file with mode: 0644]
tools/perf/pmu-events/arch/x86/ivybridge/metricgroups.json [new file with mode: 0644]
tools/perf/pmu-events/arch/x86/ivytown/metricgroups.json [new file with mode: 0644]
tools/perf/pmu-events/arch/x86/jaketown/metricgroups.json [new file with mode: 0644]
tools/perf/pmu-events/arch/x86/sandybridge/metricgroups.json [new file with mode: 0644]
tools/perf/pmu-events/arch/x86/sapphirerapids/metricgroups.json [new file with mode: 0644]
tools/perf/pmu-events/arch/x86/skylake/metricgroups.json [new file with mode: 0644]
tools/perf/pmu-events/arch/x86/skylakex/metricgroups.json [new file with mode: 0644]
tools/perf/pmu-events/arch/x86/tigerlake/metricgroups.json [new file with mode: 0644]