Linux Audio

Check our new training course

Loading...
v5.4
 1#!/bin/bash
 2# description: r/w activity for a program, by file
 3# args: <comm>
 4if [ $# -lt 1 ] ; then
 5    echo "usage: rw-by-file <comm>"
 6    exit
 7fi
 8comm=$1
 9shift
10perf script $@ -s "$PERF_EXEC_PATH"/scripts/perl/rw-by-file.pl $comm
v3.15
 1#!/bin/bash
 2# description: r/w activity for a program, by file
 3# args: <comm>
 4if [ $# -lt 1 ] ; then
 5    echo "usage: rw-by-file <comm>"
 6    exit
 7fi
 8comm=$1
 9shift
10perf script $@ -s "$PERF_EXEC_PATH"/scripts/perl/rw-by-file.pl $comm