linux-stable-rt/tools/perf/scripts/perl/bin/rw-by-file-record

3 lines
96 B
Bash

#!/bin/bash
perf record -c 1 -f -a -M -R -e syscalls:sys_enter_read -e syscalls:sys_enter_write