]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
perf test: Skip not fail tp fields test when insufficient permissions
authorIan Rogers <irogers@google.com>
Tue, 1 Oct 2024 05:23:26 +0000 (22:23 -0700)
committerNamhyung Kim <namhyung@kernel.org>
Wed, 2 Oct 2024 21:58:03 +0000 (14:58 -0700)
commit7457bcfcfb988a5600dca2433bbc4901ba49d123
tree784c17a2b370b4b02273eb3649888ebad66c001a
parent1334ee91694c21777d2df1da20bc5d5a7022a1e5
perf test: Skip not fail 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-4-irogers@google.com
Signed-off-by: Namhyung Kim <namhyung@kernel.org>
tools/perf/tests/evsel-tp-sched.c