Merge branch 'tip/perf/ringbuffer-2' of git://git.kernel.org/pub/scm/linux/kernel...
[sfrench/cifs-2.6.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 trace $@ -s "$PERF_EXEC_PATH"/scripts/perl/rw-by-file.pl $comm
11
12
13