aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/perl/bin/rwtop-record
diff options
context:
space:
mode:
Diffstat (limited to 'tools/perf/scripts/perl/bin/rwtop-record')
-rw-r--r--tools/perf/scripts/perl/bin/rwtop-record2
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/perf/scripts/perl/bin/rwtop-record b/tools/perf/scripts/perl/bin/rwtop-record
new file mode 100644
index 00000000000..6e0b2f7755a
--- /dev/null
+++ b/tools/perf/scripts/perl/bin/rwtop-record
@@ -0,0 +1,2 @@
+#!/bin/bash
+perf record -a -e syscalls:sys_enter_read -e syscalls:sys_exit_read -e syscalls:sys_enter_write -e syscalls:sys_exit_write $@