Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 79e653f1 authored by Tom Zanussi's avatar Tom Zanussi Committed by Arnaldo Carvalho de Melo
Browse files

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

Cc: Frédéric Weisbecker <fweisbec@gmail.com>
Cc: Ingo Molnar <mingo@elte.hu>
LKML-Reference: <1273466820-9330-9-git-send-email-tzanussi@gmail.com>
Signed-off-by: default avatarTom Zanussi <tzanussi@gmail.com>
Signed-off-by: default avatarArnaldo Carvalho de Melo <acme@redhat.com>
parent a4ab0c12
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -2,7 +2,7 @@
# description: system-wide syscall counts, by pid
# description: system-wide syscall counts, by pid
# args: [comm]
# args: [comm]
if [ $# -gt 0 ] ; then
if [ $# -gt 0 ] ; then
    if ! expr match "$1" "-" ; then
    if ! expr match "$1" "-" > /dev/null ; then
	comm=$1
	comm=$1
	shift
	shift
    fi
    fi