Merge tag 'v3.3.7' into 3.3/master
[zen-stable.git] / tools / perf / scripts / perl / bin / rw-by-file-report
blob77200b3f31003c7bd8c3a137106f461223b67a43
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