Linux-libre 4.14.132-gnu
[librecmc/linux-libre.git] / tools / perf / scripts / perl / bin / rw-by-file-report
1 #!/bin/bash
2 # description: r/w activity for a program, by file
3 # args: <comm>
4 if [ $# -lt 1 ] ; then
5     echo "usage: rw-by-file <comm>"
6     exit
7 fi
8 comm=$1
9 shift
10 perf script $@ -s "$PERF_EXEC_PATH"/scripts/perl/rw-by-file.pl $comm