diff options
author | Ian Rogers <irogers@google.com> | 2021-01-14 19:02:50 +0100 |
---|---|---|
committer | Arnaldo Carvalho de Melo <acme@redhat.com> | 2021-01-15 21:28:27 +0100 |
commit | 66dd86b2a2bee129c70f7ff054d3a6a2e5f8eb20 (patch) | |
tree | d6ba9d8fc7fe3f01e9f3a34c5e425af82d39ef2d /mm/truncate.c | |
parent | libperf tests: If a test fails return non-zero (diff) | |
download | linux-66dd86b2a2bee129c70f7ff054d3a6a2e5f8eb20.tar.xz linux-66dd86b2a2bee129c70f7ff054d3a6a2e5f8eb20.zip |
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>
Diffstat (limited to 'mm/truncate.c')
0 files changed, 0 insertions, 0 deletions