11 lines · plain
1#!/bin/bash2# description: r/w activity for a program, by file3# args: <comm>4if [ $# -lt 1 ] ; then5 echo "usage: rw-by-file <comm>"6 exit7fi8comm=$19shift10perf script $@ -s "$PERF_EXEC_PATH"/scripts/perl/rw-by-file.pl $comm11