summaryrefslogtreecommitdiffstats
path: root/kernel/tools/perf/tests/attr/test-record-C0
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/tools/perf/tests/attr/test-record-C0')
-rw-r--r--kernel/tools/perf/tests/attr/test-record-C013
1 files changed, 13 insertions, 0 deletions
diff --git a/kernel/tools/perf/tests/attr/test-record-C0 b/kernel/tools/perf/tests/attr/test-record-C0
new file mode 100644
index 000000000..d6a7e43f6
--- /dev/null
+++ b/kernel/tools/perf/tests/attr/test-record-C0
@@ -0,0 +1,13 @@
+[config]
+command = record
+args = -C 0 kill >/dev/null 2>&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