Re: [PATCH 0/4] perf vendor events amd: Add Zen 4 events and metrics

From: Ian Rogers
Date: Wed Dec 07 2022 - 01:07:14 EST


On Tue, Dec 6, 2022 at 9:30 PM Sandipan Das <sandipan.das@xxxxxxx> wrote:
>
> Add events and metrics taken from the Processor Programming Reference
> (PPR) for AMD Family 19h Model 11h Revision B1 processors which can be
> found at: https://www.amd.com/system/files/TechDocs/55901_0.25.zip
>
> Sandipan Das (4):
> perf vendor events amd: Add Zen 4 mapping

Adding the mapping first may break the build until the core events are added.

Thanks,
Ian

> perf vendor events amd: Add Zen 4 core events
> perf vendor events amd: Add Zen 4 uncore events
> perf vendor events amd: Add Zen 4 metrics
>
> .../pmu-events/arch/x86/amdzen4/branch.json | 82 ++
> .../pmu-events/arch/x86/amdzen4/cache.json | 772 ++++++++++++
> .../pmu-events/arch/x86/amdzen4/core.json | 122 ++
> .../arch/x86/amdzen4/data-fabric.json | 1090 +++++++++++++++++
> .../arch/x86/amdzen4/floating-point.json | 818 +++++++++++++
> .../pmu-events/arch/x86/amdzen4/memory.json | 174 +++
> .../pmu-events/arch/x86/amdzen4/other.json | 138 +++
> .../pmu-events/arch/x86/amdzen4/pipeline.json | 98 ++
> .../arch/x86/amdzen4/recommended.json | 334 +++++
> tools/perf/pmu-events/arch/x86/mapfile.csv | 3 +-
> 10 files changed, 3630 insertions(+), 1 deletion(-)
> create mode 100644 tools/perf/pmu-events/arch/x86/amdzen4/branch.json
> create mode 100644 tools/perf/pmu-events/arch/x86/amdzen4/cache.json
> create mode 100644 tools/perf/pmu-events/arch/x86/amdzen4/core.json
> create mode 100644 tools/perf/pmu-events/arch/x86/amdzen4/data-fabric.json
> create mode 100644 tools/perf/pmu-events/arch/x86/amdzen4/floating-point.json
> create mode 100644 tools/perf/pmu-events/arch/x86/amdzen4/memory.json
> create mode 100644 tools/perf/pmu-events/arch/x86/amdzen4/other.json
> create mode 100644 tools/perf/pmu-events/arch/x86/amdzen4/pipeline.json
> create mode 100644 tools/perf/pmu-events/arch/x86/amdzen4/recommended.json
>
> --
> 2.34.1
>