summaryrefslogtreecommitdiffstats
path: root/tools/perf/tests/attr/test-stat-no-inherit
diff options
context:
space:
mode:
Diffstat (limited to 'tools/perf/tests/attr/test-stat-no-inherit')
-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 0000000000..924fbb9300
--- /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