]> www.infradead.org Git - users/jedix/linux-maple.git/commit
perf test: Skip not fail syscall tp fields test when insufficient permissions
authorIan Rogers <irogers@google.com>
Tue, 1 Oct 2024 05:23:27 +0000 (22:23 -0700)
committerNamhyung Kim <namhyung@kernel.org>
Wed, 2 Oct 2024 21:58:03 +0000 (14:58 -0700)
commitad321b19d2bb6ed0380ad53a06972ea7f4e7d7b1
tree85dd36eba0c777dd3504d09cc73e1e44df4ba170
parent7457bcfcfb988a5600dca2433bbc4901ba49d123
perf test: Skip not fail syscall tp fields test when insufficient permissions

Clean up return value to be TEST_* rather than unspecific integer. Add
test case skip reason. Skip test if EACCES comes back from
evsel__newtp.

Signed-off-by: Ian Rogers <irogers@google.com>
Link: https://lore.kernel.org/r/20241001052327.7052-5-irogers@google.com
Signed-off-by: Namhyung Kim <namhyung@kernel.org>
tools/perf/tests/openat-syscall-tp-fields.c