aboutsummaryrefslogtreecommitdiff
path: root/src/tools/perf/tests/attr/test-record-data
diff options
context:
space:
mode:
Diffstat (limited to 'src/tools/perf/tests/attr/test-record-data')
-rw-r--r--src/tools/perf/tests/attr/test-record-data11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/tools/perf/tests/attr/test-record-data b/src/tools/perf/tests/attr/test-record-data
new file mode 100644
index 0000000..716e143
--- /dev/null
+++ b/src/tools/perf/tests/attr/test-record-data
@@ -0,0 +1,11 @@
+[config]
+command = record
+args = -d kill >/dev/null 2>&1
+
+[event:base-record]
+sample_period=4000
+
+# 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