summaryrefslogtreecommitdiff
path: root/tools/perf/tests/attr/test-record-group
diff options
context:
space:
mode:
Diffstat (limited to 'tools/perf/tests/attr/test-record-group')
-rw-r--r--tools/perf/tests/attr/test-record-group20
1 files changed, 20 insertions, 0 deletions
diff --git a/tools/perf/tests/attr/test-record-group b/tools/perf/tests/attr/test-record-group
new file mode 100644
index 000000000..57739cacd
--- /dev/null
+++ b/tools/perf/tests/attr/test-record-group
@@ -0,0 +1,20 @@
+[config]
+command = record
+args = --group -e cycles,instructions kill >/dev/null 2>&1
+
+[event-1:base-record]
+fd=1
+group_fd=-1
+sample_type=327
+read_format=4
+
+[event-2:base-record]
+fd=2
+group_fd=1
+config=1
+sample_type=327
+read_format=4
+mmap=0
+comm=0
+enable_on_exec=0
+disabled=0