summaryrefslogtreecommitdiffstats
path: root/tools/perf/tests/attr/test-record-data
diff options
context:
space:
mode:
Diffstat (limited to 'tools/perf/tests/attr/test-record-data')
-rw-r--r--tools/perf/tests/attr/test-record-data10
1 files changed, 10 insertions, 0 deletions
diff --git a/tools/perf/tests/attr/test-record-data b/tools/perf/tests/attr/test-record-data
new file mode 100644
index 000000000..a9cf2233b
--- /dev/null
+++ b/tools/perf/tests/attr/test-record-data
@@ -0,0 +1,10 @@
+[config]
+command = record
+args = -d kill >/dev/null 2>&1
+ret = 1
+
+[event:base-record]
+# sample_type = PERF_SAMPLE_IP | PERF_SAMPLE_TID | PERF_SAMPLE_TIME |
+# PERF_SAMPLE_ADDR | PERF_SAMPLE_PERIOD | PERF_SAMPLE_DATA_SRC
+sample_type=33039
+mmap_data=1