blob: d83070b7eeb536d2afa455601d6e8533bbd5694a [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
10perf trace $@ -s ~/libexec/perf-core/scripts/perl/rw-by-file.pl $comm
Tom Zanussi1ae4a972009-11-25 01:15:52 -060011
12
13