summaryrefslogtreecommitdiffstats
path: root/tools/perf/tests/attr/test-record-pfm-period
diff options
context:
space:
mode:
Diffstat (limited to 'tools/perf/tests/attr/test-record-pfm-period')
-rw-r--r--tools/perf/tests/attr/test-record-pfm-period9
1 files changed, 9 insertions, 0 deletions
diff --git a/tools/perf/tests/attr/test-record-pfm-period b/tools/perf/tests/attr/test-record-pfm-period
new file mode 100644
index 000000000..368f5b814
--- /dev/null
+++ b/tools/perf/tests/attr/test-record-pfm-period
@@ -0,0 +1,9 @@
+[config]
+command = record
+args = --no-bpf-event -c 10000 --pfm-events=cycles:period=77777 kill >/dev/null 2>&1
+ret = 1
+
+[event:base-record]
+sample_period=77777
+sample_type=7
+freq=0