summaryrefslogtreecommitdiffstats
path: root/tools/perf/tests/attr/test-record-spe-period
diff options
context:
space:
mode:
Diffstat (limited to 'tools/perf/tests/attr/test-record-spe-period')
-rw-r--r--tools/perf/tests/attr/test-record-spe-period12
1 files changed, 12 insertions, 0 deletions
diff --git a/tools/perf/tests/attr/test-record-spe-period b/tools/perf/tests/attr/test-record-spe-period
new file mode 100644
index 000000000..75f8c9cd8
--- /dev/null
+++ b/tools/perf/tests/attr/test-record-spe-period
@@ -0,0 +1,12 @@
+[config]
+command = record
+args = --no-bpf-event -c 2 -e arm_spe_0// -- kill >/dev/null 2>&1
+ret = 1
+arch = aarch64
+
+[event-10:base-record-spe]
+sample_period=2
+freq=0
+
+# dummy event
+[event-1:base-record-spe]