Back to home page

OSCL-LXR

 
 

    


0001 #!/bin/bash
0002 # description: system-wide syscall counts
0003 # args: [comm]
0004 if [ $# -gt 0 ] ; then
0005     if ! expr match "$1" "-" > /dev/null ; then
0006         comm=$1
0007         shift
0008     fi
0009 fi
0010 perf script $@ -s "$PERF_EXEC_PATH"/scripts/python/syscall-counts.py $comm