diff options
author | Tom Zanussi <tzanussi@gmail.com> | 2010-05-10 00:47:00 -0400 |
---|---|---|
committer | Arnaldo Carvalho de Melo <acme@redhat.com> | 2010-05-10 18:51:02 -0400 |
commit | e61a639a794063d78fd248a37ce2c21d5c81fc19 (patch) | |
tree | 234fe87f318597cd9585a998b68d915d3ef9b480 /tools/perf/scripts | |
parent | 79e653f1bf2e52d12a952366e782dadf590b9d1d (diff) |
perf/trace/scripting: syscall-counts script cleanup
A small fix for the syscall counts 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-10-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/syscall-counts-report | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/perf/scripts/python/bin/syscall-counts-report b/tools/perf/scripts/python/bin/syscall-counts-report index 8c21552b3cdc..dc076b618796 100644 --- a/tools/perf/scripts/python/bin/syscall-counts-report +++ b/tools/perf/scripts/python/bin/syscall-counts-report | |||
@@ -2,7 +2,7 @@ | |||
2 | # description: system-wide syscall counts | 2 | # description: system-wide syscall counts |
3 | # args: [comm] | 3 | # args: [comm] |
4 | if [ $# -gt 0 ] ; then | 4 | if [ $# -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 |