summaryrefslogtreecommitdiff
path: root/tools/perf/tests/attr/test-stat-no-inherit
diff options
context:
space:
mode:
authorJiri Olsa <jolsa@kernel.org>2017-10-09 15:07:12 +0200
committerArnaldo Carvalho de Melo <acme@redhat.com>2017-10-23 11:20:54 -0300
commit692f5a22cd284bb8233a38e3ed86881d2d9c89d4 (patch)
treea321019c8508c6b84557729d064106310c1a18fc /tools/perf/tests/attr/test-stat-no-inherit
parent73c17d815000e425aea108226bcb57491a04f534 (diff)
perf tests attr: Make hw events optional
Otherwise we fail on virtual machines with no support for specific HW events. Signed-off-by: Jiri Olsa <jolsa@kernel.org> Cc: David Ahern <dsahern@gmail.com> Cc: Namhyung Kim <namhyung@kernel.org> Cc: Peter Zijlstra <peterz@infradead.org> Link: http://lkml.kernel.org/r/20171009130712.14747-1-jolsa@kernel.org Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/tests/attr/test-stat-no-inherit')
-rw-r--r--tools/perf/tests/attr/test-stat-no-inherit1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/perf/tests/attr/test-stat-no-inherit b/tools/perf/tests/attr/test-stat-no-inherit
index d54b2a1e3e28..924fbb9300d1 100644
--- a/tools/perf/tests/attr/test-stat-no-inherit
+++ b/tools/perf/tests/attr/test-stat-no-inherit
@@ -5,3 +5,4 @@ ret = 1
[event:base-stat]
inherit=0
+optional=1