linux-zen-server/tools/perf/scripts/perl/bin/rw-by-pid-record

3 lines
135 B
Bash

#!/bin/bash
perf record -e syscalls:sys_enter_read -e syscalls:sys_exit_read -e syscalls:sys_enter_write -e syscalls:sys_exit_write $@