Ian Rogers
2cf88f4614
perf test: Use skip in PERF_RECORD_*
...
Check if the error code is EACCES and make the test a skip with
a "permissions" skip reason if so.
Committer testing:
Before:
$ perf test PERF_RECORD
8: PERF_RECORD_* events & perf_sample fields : FAILED!
$
After:
$ perf test PERF_RECORD
8: PERF_RECORD_* events & perf_sample fields : Skip (permissions)
$
Signed-off-by: Ian Rogers <irogers@google.com>
Tested-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com>
Cc: Carsten Haitzler <carsten.haitzler@arm.com>
Cc: Ingo Molnar <mingo@redhat.com>
Cc: Jiri Olsa <jolsa@kernel.org>
Cc: John Garry <john.garry@huawei.com>
Cc: Marco Elver <elver@google.com>
Cc: Mark Rutland <mark.rutland@arm.com>
Cc: Michael Petlan <mpetlan@redhat.com>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Riccardo Mancini <rickyman7@gmail.com>
Cc: Sohaib Mohamed <sohaib.amhmd@gmail.com>
Cc: Stephane Eranian <eranian@google.com>
Link: https://lore.kernel.org/r/20220518042027.836799-9-irogers@google.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
2022-05-23 10:05:07 -03:00
..
2022-04-28 10:40:49 -03:00
2022-05-23 09:51:55 -03:00
2020-03-25 11:50:48 +01:00
2021-11-13 10:32:22 -03:00
2022-01-12 14:28:23 -03:00
2019-02-05 10:31:08 -03:00
2021-11-13 10:32:22 -03:00
2022-01-22 17:08:42 -03:00
2021-11-13 18:11:50 -03:00
2021-11-13 18:11:50 -03:00
2021-11-13 18:11:50 -03:00
2019-06-17 15:57:19 -03:00
2019-06-17 15:57:19 -03:00
2019-06-17 15:57:19 -03:00
2019-06-17 15:57:19 -03:00
2022-05-21 14:54:21 -03:00
2021-12-07 22:18:23 -03:00
2022-05-23 10:00:43 -03:00
2021-11-13 18:11:50 -03:00
2021-11-13 10:32:22 -03:00
2022-02-11 14:01:15 -03:00
2021-11-13 10:32:22 -03:00
2021-11-13 10:32:22 -03:00
2021-11-13 10:32:22 -03:00
2021-11-13 10:32:22 -03:00
2022-04-09 12:34:29 -03:00
2022-01-22 17:08:42 -03:00
2021-11-13 10:32:22 -03:00
2022-05-09 10:12:14 -03:00
2021-11-13 10:32:22 -03:00
2021-11-13 10:32:22 -03:00
2021-12-06 21:57:53 -03:00
2021-11-13 10:32:22 -03:00
2021-11-13 10:32:22 -03:00
2019-09-20 09:19:22 -03:00
2017-11-02 11:10:55 +01:00
2021-11-13 10:32:22 -03:00
2021-11-13 10:32:22 -03:00
2021-11-13 10:32:22 -03:00
2021-11-13 10:32:22 -03:00
2021-11-13 10:32:22 -03:00
2021-11-13 10:32:22 -03:00
2021-11-13 10:32:22 -03:00
2022-01-24 20:44:09 -08:00
2017-11-02 11:10:55 +01:00
2021-05-17 20:32:05 -03:00
2022-02-14 16:51:03 -03:00
2022-01-22 17:08:42 -03:00
2021-11-13 10:32:22 -03:00
2022-05-23 10:03:39 -03:00
2021-11-13 10:32:22 -03:00
2022-05-23 10:01:57 -03:00
2021-11-13 10:32:22 -03:00
2022-05-23 10:01:57 -03:00
2022-05-23 10:04:59 -03:00
2021-12-06 21:57:53 -03:00
2021-11-13 10:32:22 -03:00
2021-11-13 10:32:22 -03:00
2020-09-04 14:38:15 -03:00
2020-09-04 14:38:15 -03:00
2020-09-04 14:38:15 -03:00
2021-11-13 10:32:22 -03:00
2022-05-23 10:05:07 -03:00
2017-11-02 11:10:55 +01:00
2022-04-22 18:39:34 -03:00
2021-11-13 18:11:50 -03:00
2022-02-15 17:15:33 -03:00
2021-11-13 10:32:22 -03:00
2021-11-13 10:32:22 -03:00
2021-11-18 10:08:07 -03:00
2021-11-13 10:32:22 -03:00
2022-02-18 09:54:50 -03:00
2022-01-12 14:28:23 -03:00
2021-11-13 10:32:22 -03:00
2021-11-13 10:32:22 -03:00
2021-11-13 10:32:22 -03:00
2021-12-07 22:18:23 -03:00
2021-11-13 10:32:22 -03:00
2021-11-13 10:32:22 -03:00
2021-11-13 10:32:22 -03:00
2022-05-21 14:52:33 -03:00
2021-11-13 10:32:22 -03:00
2022-05-23 10:01:15 -03:00
2021-11-18 10:08:07 -03:00