summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/perl/bin/rw-by-file-record
diff options
context:
space:
mode:
Diffstat (limited to 'tools/perf/scripts/perl/bin/rw-by-file-record')
-rw-r--r--tools/perf/scripts/perl/bin/rw-by-file-record3
1 files changed, 3 insertions, 0 deletions
diff --git a/tools/perf/scripts/perl/bin/rw-by-file-record b/tools/perf/scripts/perl/bin/rw-by-file-record
new file mode 100644
index 000000000..33efc8673
--- /dev/null
+++ b/tools/perf/scripts/perl/bin/rw-by-file-record
@@ -0,0 +1,3 @@
+#!/bin/bash
+perf record -e syscalls:sys_enter_read -e syscalls:sys_enter_write $@
+