syscall-counts-report 241 字节
Newer Older
1 2 3
#!/bin/bash
# description: system-wide syscall counts
# args: [comm]
4
if [ $# -gt 0 ] ; then
5
    if ! expr match "$1" "-" > /dev/null ; then
6 7 8 9
	comm=$1
	shift
    fi
fi
10
perf script $@ -s "$PERF_EXEC_PATH"/scripts/python/syscall-counts.py $comm