summaryrefslogtreecommitdiff
path: root/tools/perf/tests/shell/attr/test-record-group1
diff options
context:
space:
mode:
Diffstat (limited to 'tools/perf/tests/shell/attr/test-record-group1')
-rw-r--r--tools/perf/tests/shell/attr/test-record-group124
1 files changed, 24 insertions, 0 deletions
diff --git a/tools/perf/tests/shell/attr/test-record-group1 b/tools/perf/tests/shell/attr/test-record-group1
new file mode 100644
index 000000000..5fdd52885
--- /dev/null
+++ b/tools/perf/tests/shell/attr/test-record-group1
@@ -0,0 +1,24 @@
+[config]
+command = record
+args = --no-bpf-event -e '{cycles,default_core/legacy-hardware-config=1/}' kill >/dev/null 2>&1
+ret = 1
+requires = core-pmu
+
+[event-1:base-record]
+fd=1
+group_fd=-1
+sample_type=327
+read_format=4|20
+
+[event-2:base-record]
+fd=2
+group_fd=1
+type=0
+config=1
+sample_type=327
+read_format=4|20
+mmap=0
+comm=0
+task=0
+enable_on_exec=0
+disabled=0