Back to home page

OSCL-LXR

 
 

    


0001 #!/bin/bash
0002 # description: r/w activity for a program, by file
0003 # args: <comm>
0004 if [ $# -lt 1 ] ; then
0005     echo "usage: rw-by-file <comm>"
0006     exit
0007 fi
0008 comm=$1
0009 shift
0010 perf script $@ -s "$PERF_EXEC_PATH"/scripts/perl/rw-by-file.pl $comm