aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts
diff options
context:
space:
mode:
authorTom Zanussi <tzanussi@gmail.com>2010-05-10 00:46:58 -0400
committerArnaldo Carvalho de Melo <acme@redhat.com>2010-05-10 18:51:00 -0400
commita4ab0c12975d1286b2696370f5e0576450609bf0 (patch)
treea24a95071fdcc67af777b0012e287e5fdadb6d89 /tools/perf/scripts
parent3824a4e8da9791f4eed99d69bfcdb3b42f440426 (diff)
perf/trace/scripting: failed-syscalls-by-pid script cleanup
A small fixe for the failed syscalls 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-8-git-send-email-tzanussi@gmail.com> Signed-off-by: Tom Zanussi <tzanussi@gmail.com> Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/scripts')
-rw-r--r--tools/perf/scripts/python/bin/failed-syscalls-by-pid-report2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/perf/scripts/python/bin/failed-syscalls-by-pid-report b/tools/perf/scripts/python/bin/failed-syscalls-by-pid-report
index 8c128eff9c0a..30293545fcc2 100644
--- a/tools/perf/scripts/python/bin/failed-syscalls-by-pid-report
+++ b/tools/perf/scripts/python/bin/failed-syscalls-by-pid-report
@@ -2,7 +2,7 @@
2# description: system-wide failed syscalls, by pid 2# description: system-wide failed syscalls, by pid
3# args: [comm] 3# args: [comm]
4if [ $# -gt 0 ] ; then 4if [ $# -gt 0 ] ; then
5 if ! expr match "$1" "-" ; then 5 if ! expr match "$1" "-" > /dev/null ; then
6 comm=$1 6 comm=$1
7 shift 7 shift
8 fi 8 fi