summaryrefslogtreecommitdiff
path: root/tools/perf/pmu-events/arch/test
diff options
context:
space:
mode:
authorJohn Garry <john.garry@huawei.com>2021-09-16 15:34:24 +0300
committerArnaldo Carvalho de Melo <acme@redhat.com>2021-09-28 22:15:15 +0300
commitb8b350afaa4bd007261c1ce367123444f6953a42 (patch)
treeb9121b077beffabd49767e092a35661a8a2367a1 /tools/perf/pmu-events/arch/test
parent56be05103a408b7f56c5e75717b2b23a5adf1ddb (diff)
downloadlinux-b8b350afaa4bd007261c1ce367123444f6953a42.tar.xz
perf test: Add pmu-event test for event described as "config="
Add a new test event for a system event whose event member is in form "config=". Signed-off-by: John Garry <john.garry@huawei.com> Acked-by: Ian Rogers <irogers@google.com> Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com> Cc: Ingo Molnar <mingo@redhat.com> Cc: Jiri Olsa <jolsa@redhat.com> Cc: Leo Yan <leo.yan@linaro.org> Cc: Mark Rutland <mark.rutland@arm.com> Cc: Mathieu Poirier <mathieu.poirier@linaro.org> Cc: Namhyung Kim <namhyung@kernel.org> Cc: Peter Zijlstra <peterz@infradead.org> Cc: Shaokun Zhang <zhangshaokun@hisilicon.com> Cc: Will Deacon <will@kernel.org> Cc: linux-arm-kernel@lists.infradead.org Cc: linuxarm@huawei.com Cc: liuqi115@huawei.com Link: https://lore.kernel.org/r/1631795665-240946-5-git-send-email-john.garry@huawei.com Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/pmu-events/arch/test')
-rw-r--r--tools/perf/pmu-events/arch/test/test_soc/sys/uncore.json7
1 files changed, 7 insertions, 0 deletions
diff --git a/tools/perf/pmu-events/arch/test/test_soc/sys/uncore.json b/tools/perf/pmu-events/arch/test/test_soc/sys/uncore.json
index 0f681a6e10ea..c7e7528db315 100644
--- a/tools/perf/pmu-events/arch/test/test_soc/sys/uncore.json
+++ b/tools/perf/pmu-events/arch/test/test_soc/sys/uncore.json
@@ -6,4 +6,11 @@
"Unit": "sys_ddr_pmu",
"Compat": "v8"
},
+ {
+ "BriefDescription": "ccn read-cycles event",
+ "ConfigCode": "0x2c",
+ "EventName": "sys_ccn_pmu.read_cycles",
+ "Unit": "sys_ccn_pmu",
+ "Compat": "0x01"
+ }
]