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

Message ID 20221207053007.336806-1-sandipan.das@amd.com
Headers
Series perf vendor events amd: Add Zen 4 events and metrics |

Message

Sandipan Das Dec. 7, 2022, 5:30 a.m. UTC
  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
  

Comments

Ian Rogers Dec. 7, 2022, 6:06 a.m. UTC | #1
On Tue, Dec 6, 2022 at 9:30 PM Sandipan Das <sandipan.das@amd.com> 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
>
  
Sandipan Das Dec. 7, 2022, 6:53 a.m. UTC | #2
On 12/7/2022 11:36 AM, Ian Rogers wrote:
> On Tue, Dec 6, 2022 at 9:30 PM Sandipan Das <sandipan.das@amd.com> 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