summaryrefslogtreecommitdiffstats
path: root/tools/perf/tests/attr/test-stat-basic
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--tools/perf/tests/attr/test-stat-basic7
1 files changed, 7 insertions, 0 deletions
diff --git a/tools/perf/tests/attr/test-stat-basic b/tools/perf/tests/attr/test-stat-basic
new file mode 100644
index 000000000..69867d049
--- /dev/null
+++ b/tools/perf/tests/attr/test-stat-basic
@@ -0,0 +1,7 @@
+[config]
+command = stat
+args = -e cycles kill >/dev/null 2>&1
+ret = 1
+
+[event:base-stat]
+optional=1