perf vendor events amd: Add Zen 4 core events
authorSandipan Das <sandipan.das@amd.com>
Wed, 14 Dec 2022 08:26:49 +0000 (13:56 +0530)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Wed, 21 Dec 2022 17:52:42 +0000 (14:52 -0300)
commit658448281d190c1467295914b2e9c1a4490e41b8
tree63a5ddc8ae40c48d9a475cc636f5c2994879ca07
parent6abaa0204c34dc185783a23b0dbc35cdf9cc1399
perf vendor events amd: Add Zen 4 core events

Add core events taken from Section 2.1.15.4 "Core Performance Monitor
Counters" in the Processor Programming Reference (PPR) for AMD Family
19h Model 11h Revision B1 processors. This constitutes events which
capture op dispatch, execution and retirement, branch prediction, L1
and L2 cache activity, TLB activity, etc.

Signed-off-by: Sandipan Das <sandipan.das@amd.com>
Acked-by: Ian Rogers <irogers@google.com>
Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com>
Cc: Ananth Narayan <ananth.narayan@amd.com>
Cc: Ingo Molnar <mingo@redhat.com>
Cc: Jiri Olsa <jolsa@kernel.org>
Cc: Jirka Hladky <jhladky@redhat.com>
Cc: Mark Rutland <mark.rutland@arm.com>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Ravi Bangoria <ravi.bangoria@amd.com>
Cc: Stephane Eranian <eranian@google.com>
Link: https://lore.kernel.org/r/20221214082652.419965-2-sandipan.das@amd.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/pmu-events/arch/x86/amdzen4/branch.json [new file with mode: 0644]
tools/perf/pmu-events/arch/x86/amdzen4/cache.json [new file with mode: 0644]
tools/perf/pmu-events/arch/x86/amdzen4/core.json [new file with mode: 0644]
tools/perf/pmu-events/arch/x86/amdzen4/floating-point.json [new file with mode: 0644]
tools/perf/pmu-events/arch/x86/amdzen4/memory.json [new file with mode: 0644]
tools/perf/pmu-events/arch/x86/amdzen4/other.json [new file with mode: 0644]