Tom Zanussi | 1ae4a97 | 2009-11-25 01:15:52 -0600 | [diff] [blame] | 1 | #!/bin/bash |
Tom Zanussi | 4b9c0c5 | 2009-12-15 02:53:38 -0600 | [diff] [blame] | 2 | # description: r/w activity for a program, by file |
3 | # args: <comm> | ||||
Tom Zanussi | 00b21a0 | 2010-04-01 23:59:24 -0500 | [diff] [blame^] | 4 | if [ $# -lt 1 ] ; then |
5 | echo "usage: rw-by-file <comm>" | ||||
6 | exit | ||||
7 | fi | ||||
8 | comm=$1 | ||||
9 | shift | ||||
10 | perf trace $@ -s ~/libexec/perf-core/scripts/perl/rw-by-file.pl $comm | ||||
Tom Zanussi | 1ae4a97 | 2009-11-25 01:15:52 -0600 | [diff] [blame] | 11 | |
12 | |||||
13 |