xref: /linux/tools/perf/scripts/perl/bin/rw-by-file-report (revision 00b21a01935892a2b97613f10300434998f45093)
11ae4a971STom Zanussi#!/bin/bash
24b9c0c59STom Zanussi# description: r/w activity for a program, by file
34b9c0c59STom Zanussi# args: <comm>
4*00b21a01STom Zanussiif [ $# -lt 1 ] ; then
5*00b21a01STom Zanussi    echo "usage: rw-by-file <comm>"
6*00b21a01STom Zanussi    exit
7*00b21a01STom Zanussifi
8*00b21a01STom Zanussicomm=$1
9*00b21a01STom Zanussishift
10*00b21a01STom Zanussiperf trace $@ -s ~/libexec/perf-core/scripts/perl/rw-by-file.pl $comm
111ae4a971STom Zanussi
121ae4a971STom Zanussi
131ae4a971STom Zanussi
14