summaryrefslogtreecommitdiffstats
path: root/kernel/tools/perf/tests/attr/test-stat-C0
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/tools/perf/tests/attr/test-stat-C0')
-rw-r--r--kernel/tools/perf/tests/attr/test-stat-C09
1 files changed, 9 insertions, 0 deletions
diff --git a/kernel/tools/perf/tests/attr/test-stat-C0 b/kernel/tools/perf/tests/attr/test-stat-C0
new file mode 100644
index 000000000..aa8359507
--- /dev/null
+++ b/kernel/tools/perf/tests/attr/test-stat-C0
@@ -0,0 +1,9 @@
+[config]
+command = stat
+args = -e cycles -C 0 kill >/dev/null 2>&1
+ret = 1
+
+[event:base-stat]
+# events are enabled by default when attached to cpu
+disabled=0
+enable_on_exec=0