perf vendor events amd: Add Zen 5 core events
authorSandipan Das <sandipan.das@amd.com>
Fri, 3 May 2024 07:16:19 +0000 (12:46 +0530)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Sat, 4 May 2024 18:09:33 +0000 (15:09 -0300)
commit45c072f2537ab07b38553e4d8f9e9fcf9be5fbd1
tree83e72e7d44ce29172e0cd248dcf41a04e4b162db
parent8f283fb7b8092a5cf56e87e4e1918be26f126598
perf vendor events amd: Add Zen 5 core events

Add core events taken from Section 1.4 "Core Performance Monitor
Counters" of the Performance Monitor Counters for AMD Family 1Ah Model
00h-0Fh Processors document available at the link below.

This constitutes events which capture information on op dispatch,
execution and retirement, branch prediction, L1 and L2 cache activity,
TLB activity, etc.

Reviewed-by: Ian Rogers <irogers@google.com>
Signed-off-by: Sandipan Das <sandipan.das@amd.com>
Cc: Adrian Hunter <adrian.hunter@intel.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: 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://bugzilla.kernel.org/attachment.cgi?id=305974
Link: https://lore.kernel.org/r/668d194241bf0d42dc37f1c5af8131069a0bd82c.1714717230.git.sandipan.das@amd.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/pmu-events/arch/x86/amdzen5/branch-prediction.json [new file with mode: 0644]
tools/perf/pmu-events/arch/x86/amdzen5/decode.json [new file with mode: 0644]
tools/perf/pmu-events/arch/x86/amdzen5/execution.json [new file with mode: 0644]
tools/perf/pmu-events/arch/x86/amdzen5/floating-point.json [new file with mode: 0644]
tools/perf/pmu-events/arch/x86/amdzen5/inst-cache.json [new file with mode: 0644]
tools/perf/pmu-events/arch/x86/amdzen5/l2-cache.json [new file with mode: 0644]
tools/perf/pmu-events/arch/x86/amdzen5/load-store.json [new file with mode: 0644]