perf test: Add pmu-event test for "Compat" and new event_field.
authorJing Zhang <renyu.zj@linux.alibaba.com>
Wed, 27 Sep 2023 05:59:49 +0000 (13:59 +0800)
committerNamhyung Kim <namhyung@kernel.org>
Thu, 28 Sep 2023 04:02:41 +0000 (21:02 -0700)
commit7fded33c6971b6c8e87cbbf48e74536aacca2991
tree4b44da7bce80b39d6db2f3b460dc3c77cd17b6f7
parent3bb59e759cbb357f8fb46cc5a48d2b0da09b37c4
perf test: Add pmu-event test for "Compat" and new event_field.

Add new event test for uncore system event which is used to verify the
functionality of "Compat" matching multiple identifiers and the new event
fields "EventidCode" and "NodeType".

Signed-off-by: Jing Zhang <renyu.zj@linux.alibaba.com>
Reviewed-by: Ian Rogers <irogers@google.com>
Tested-by: Ian Rogers <irogers@google.com>
Cc: James Clark <james.clark@arm.com>
Cc: Will Deacon <will@kernel.org>
Cc: Leo Yan <leo.yan@linaro.org>
Cc: Mike Leach <mike.leach@linaro.org>
Cc: Shuai Xue <xueshuai@linux.alibaba.com>
Cc: Zhuo Song <zhuo.song@linux.alibaba.com>
Cc: John Garry <john.g.garry@oracle.com>
Cc: linux-arm-kernel@lists.infradead.org
Cc: linux-doc@vger.kernel.org
Link: https://lore.kernel.org/r/1695794391-34817-6-git-send-email-renyu.zj@linux.alibaba.com
Signed-off-by: Namhyung Kim <namhyung@kernel.org>
tools/perf/pmu-events/arch/test/test_soc/sys/uncore.json
tools/perf/pmu-events/empty-pmu-events.c
tools/perf/tests/pmu-events.c