blob: 77200b3f31003c7bd8c3a137106f461223b67a43 [file] [log] [blame]
Tom Zanussi1ae4a972009-11-25 01:15:52 -06001#!/bin/bash
Tom Zanussi4b9c0c52009-12-15 02:53:38 -06002# description: r/w activity for a program, by file
3# args: <comm>
Tom Zanussi00b21a02010-04-01 23:59:24 -05004if [ $# -lt 1 ] ; then
5 echo "usage: rw-by-file <comm>"
6 exit
7fi
8comm=$1
9shift
Arnaldo Carvalho de Melo765532c2010-12-23 13:10:22 -020010perf script $@ -s "$PERF_EXEC_PATH"/scripts/perl/rw-by-file.pl $comm