projects
/
linux-2.6-microblaze.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
perf test: Fix error message for test case 71 on s390, where it is not supported
[linux-2.6-microblaze.git]
/
tools
/
perf
/
tests
/
perf-time-to-tsc.c
diff --git
a/tools/perf/tests/perf-time-to-tsc.c
b/tools/perf/tests/perf-time-to-tsc.c
index
cc6df49
..
4ad0dfb
100644
(file)
--- a/
tools/perf/tests/perf-time-to-tsc.c
+++ b/
tools/perf/tests/perf-time-to-tsc.c
@@
-123,6
+123,10
@@
static int test__perf_time_to_tsc(struct test_suite *test __maybe_unused, int su
evsel->core.attr.enable_on_exec = 0;
}
+ if (evlist__open(evlist) == -ENOENT) {
+ err = TEST_SKIP;
+ goto out_err;
+ }
CHECK__(evlist__open(evlist));
CHECK__(evlist__mmap(evlist, UINT_MAX));