linux/tools/lib/perf/tests
Ian Rogers 66dd86b2a2 libperf tests: Fail when failing to get a tracepoint id
Permissions are necessary to get a tracepoint id. Fail the test when the
read fails.

Signed-off-by: Ian Rogers <irogers@google.com>
Acked-by: Jiri Olsa <jolsa@redhat.com>
Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com>
Cc: Mark Rutland <mark.rutland@arm.com>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Stephane Eranian <eranian@google.com>
Link: http://lore.kernel.org/lkml/20210114180250.3853825-2-irogers@google.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
2021-01-15 17:28:27 -03:00
..
Makefile
test-cpumap.c libperf tests: If a test fails return non-zero 2021-01-15 17:28:27 -03:00
test-evlist.c libperf tests: Fail when failing to get a tracepoint id 2021-01-15 17:28:27 -03:00
test-evsel.c libperf tests: If a test fails return non-zero 2021-01-15 17:28:27 -03:00
test-threadmap.c libperf tests: If a test fails return non-zero 2021-01-15 17:28:27 -03:00