]> git.karo-electronics.de Git - mv-sheeva.git/blob - tools/perf/scripts/perl/bin/rw-by-file-report
77200b3f31003c7bd8c3a137106f461223b67a43
[mv-sheeva.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