From 91d6a9c82eefc8fea4348aaa1e7817897c70f2e4 Mon Sep 17 00:00:00 2001 From: Tom Zanussi Date: Sun, 9 May 2010 23:46:59 -0500 Subject: [PATCH] --- yaml --- r: 191342 b: refs/heads/master c: 79e653f1bf2e52d12a952366e782dadf590b9d1d h: refs/heads/master v: v3 --- [refs] | 2 +- .../tools/perf/scripts/python/bin/syscall-counts-by-pid-report | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/[refs] b/[refs] index b687bbe4d6ab..02d4c1bad6dc 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: a4ab0c12975d1286b2696370f5e0576450609bf0 +refs/heads/master: 79e653f1bf2e52d12a952366e782dadf590b9d1d diff --git a/trunk/tools/perf/scripts/python/bin/syscall-counts-by-pid-report b/trunk/tools/perf/scripts/python/bin/syscall-counts-by-pid-report index c53362e48602..9e9d8ddd72ce 100644 --- a/trunk/tools/perf/scripts/python/bin/syscall-counts-by-pid-report +++ b/trunk/tools/perf/scripts/python/bin/syscall-counts-by-pid-report @@ -2,7 +2,7 @@ # description: system-wide syscall counts, by pid # args: [comm] if [ $# -gt 0 ] ; then - if ! expr match "$1" "-" ; then + if ! expr match "$1" "-" > /dev/null ; then comm=$1 shift fi