]> git.baikalelectronics.ru Git - kernel.git/commit
perf test: Factor out pmu-events alias comparison
authorJohn Garry <john.garry@huawei.com>
Thu, 29 Jul 2021 13:56:19 +0000 (21:56 +0800)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Tue, 10 Aug 2021 17:35:24 +0000 (14:35 -0300)
commitcfd58a9bef919155d85b7211fe46ed04c73c6ff2
treee6d9c73cd9b9935b845c7fdba2a5acf9b371a4dc
parent51f3de1661e43436f25c18d4c756f8f48f59d3ba
perf test: Factor out pmu-events alias comparison

Factor out alias test which will be used in multiple places.

Also test missing fields.

Signed-off-by: John Garry <john.garry@huawei.com>
Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com>
Cc: Ian Rogers <irogers@google.com>
Cc: Ingo Molnar <mingo@redhat.com>
Cc: Jin Yao <yao.jin@linux.intel.com>
Cc: Jiri Olsa <jolsa@redhat.com>
Cc: Mark Rutland <mark.rutland@arm.com>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: linuxarm@huawei.com
Link: https //lore.kernel.org/r/1627566986-30605-5-git-send-email-john.garry@huawei.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/tests/pmu-events.c