2022-12-07 06:15:30

by Sandipan Das

[permalink] [raw]
Subject: [PATCH 0/4] perf vendor events amd: Add Zen 4 events and metrics

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
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


2022-12-07 06:34:58

by Ian Rogers

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

On Tue, Dec 6, 2022 at 9:30 PM Sandipan Das <[email protected]> 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
>

2022-12-07 07:16:55

by Sandipan Das

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

On 12/7/2022 11:36 AM, Ian Rogers wrote:
> On Tue, Dec 6, 2022 at 9:30 PM Sandipan Das <[email protected]> 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.
>

Agreed. Will fix this in the next version.

- Sandipan