History

perf/trace/scripting: syscall-counts-by-pid script cleanup

A small fix for the syscall counts by pid script: - silence the match output in the shell script

Tom Zanussi committed 16 years ago

Commit 79e653f1 parent a4ab0c11 file · +1 −1Browse files

Showing the changes to tools/perf/scripts/python (1 of 1 file). Show all

Unified · Split

tools/perf/scripts/python/bin/syscall-counts-by-pid-report+1−1
@@ -2,7 +2,7 @@ · 1 unmodified line
2# description: system-wide syscall counts, by pid2# description: system-wide syscall counts, by pid
3# args: [comm]3# args: [comm]
4if [ $# -gt 0 ] ; then4if [ $# -gt 0 ] ; then
5 if ! expr match "$1" "-" ; then5 if ! expr match "$1" "-" > /dev/null ; then
6 comm=$16 comm=$1
7 shift7 shift
8 fi8 fi