summaryrefslogtreecommitdiff
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-inherit7
1 files changed, 7 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..d54b2a1e3
--- /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