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
22 # description: system-wide syscall counts, by pid
33 # args: [comm]
44 if [ $# -gt 0 ] ; then
5− if ! expr match "$1" "-" ; then
5+ if ! expr match "$1" "-" > /dev/null ; then
66 comm=$1
77 shift
88 fi