perf test: Skip CoreSight tests if cs_etm// event is not available
authorMichael Petlan <mpetlan@redhat.com>
Thu, 19 Oct 2023 09:11:37 +0000 (11:11 +0200)
committerNamhyung Kim <namhyung@kernel.org>
Wed, 25 Oct 2023 17:02:01 +0000 (10:02 -0700)
commitcbf5f58461b25f3f3e19704e2e51ad002c11080c
tree253e7400819db061b49acdefb765cb4ab5669268
parentc4a852635eddcf4130a93e687bc7b120b19fd1b7
perf test: Skip CoreSight tests if cs_etm// event is not available

CoreSight might be not available, in such case, skip the tests.

Signed-off-by: Michael Petlan <mpetlan@redhat.com>
Reviewed-by: Leo Yan <leo.yan@linaro.org>
Reviewed-by: Carsten Haitzler <carsten.haitzler@arm.com>
Cc: vmolnaro@redhat.com
Link: https://lore.kernel.org/r/20231019091137.22525-1-mpetlan@redhat.com
Signed-off-by: Namhyung Kim <namhyung@kernel.org>
tools/perf/tests/shell/lib/coresight.sh