From: Jiri Olsa Date: Tue, 30 Oct 2012 22:02:00 +0000 (+0100) Subject: perf tests: Add attr stat no-inherit test X-Git-Tag: v3.8-rc1~171^2~5^2~33 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=9602681f705830955eff1c2dd18283e5a01be58c;p=platform%2Fkernel%2Flinux-stable.git perf tests: Add attr stat no-inherit test Adding test to validate perf_event_attr data for command: 'stat -i' Signed-off-by: Jiri Olsa Cc: Corey Ashford Cc: Frederic Weisbecker Cc: Ingo Molnar Cc: Paul Mackerras Cc: Peter Zijlstra Link: http://lkml.kernel.org/r/1351634526-1516-20-git-send-email-jolsa@redhat.com Signed-off-by: Arnaldo Carvalho de Melo --- diff --git a/tools/perf/tests/attr/test-stat-no-inherit b/tools/perf/tests/attr/test-stat-no-inherit new file mode 100644 index 0000000..d54b2a1e --- /dev/null +++ b/tools/perf/tests/attr/test-stat-no-inherit @@ -0,0 +1,7 @@ +[config] +command = stat +args = -i -e cycles kill >/dev/null 2>&1 +ret = 1 + +[event:base-stat] +inherit=0