rw-by-file-report 232 B

1234567891011
  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