2 # description: syscall top
3 # args: [comm] [interval]
7 if expr match
"$i" "-" > /dev
/null
; then
10 n_args
=$
(( $n_args + 1 ))
12 if [ "$n_args" -gt 2 ] ; then
13 echo "usage: sctop-report [comm] [interval]"
16 if [ "$n_args" -gt 1 ] ; then
20 elif [ "$n_args" -gt 0 ] ; then
24 perf
script $@
-s "$PERF_EXEC_PATH"/scripts
/python
/sctop.py
$comm $interval