summaryrefslogtreecommitdiffstats
path: root/tools/perf/tests/attr/test-record-C0
diff options
context:
space:
mode:
Diffstat (limited to 'tools/perf/tests/attr/test-record-C0')
-rw-r--r--tools/perf/tests/attr/test-record-C014
1 files changed, 14 insertions, 0 deletions
diff --git a/tools/perf/tests/attr/test-record-C0 b/tools/perf/tests/attr/test-record-C0
new file mode 100644
index 000000000..cb0a3138f
--- /dev/null
+++ b/tools/perf/tests/attr/test-record-C0
@@ -0,0 +1,14 @@
+[config]
+command = record
+args = -C 0 kill >/dev/null 2>&1
+ret = 1
+
+[event:base-record]
+cpu=0
+
+# no enable on exec for CPU attached
+enable_on_exec=0
+
+# PERF_SAMPLE_IP | PERF_SAMPLE_TID PERF_SAMPLE_TIME | # PERF_SAMPLE_PERIOD
+# + PERF_SAMPLE_CPU added by -C 0
+sample_type=391