summaryrefslogtreecommitdiffstats
path: root/tools/perf/tests/attr/test-stat-no-inherit
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--tools/perf/tests/attr/test-stat-no-inherit8
1 files changed, 8 insertions, 0 deletions
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 000000000..924fbb930
--- /dev/null
+++ b/tools/perf/tests/attr/test-stat-no-inherit
@@ -0,0 +1,8 @@
+[config]
+command = stat
+args = -i -e cycles kill >/dev/null 2>&1
+ret = 1
+
+[event:base-stat]
+inherit=0
+optional=1