diff options
| author | Tom Zanussi <[email protected]> | 2010-05-10 04:47:00 +0000 |
|---|---|---|
| committer | Arnaldo Carvalho de Melo <[email protected]> | 2010-05-10 22:51:02 +0000 |
| commit | e61a639a794063d78fd248a37ce2c21d5c81fc19 (patch) | |
| tree | 234fe87f318597cd9585a998b68d915d3ef9b480 /tools/perf/scripts/python | |
| parent | perf/trace/scripting: syscall-counts-by-pid script cleanup (diff) | |
| download | kernel-e61a639a794063d78fd248a37ce2c21d5c81fc19.tar.gz kernel-e61a639a794063d78fd248a37ce2c21d5c81fc19.zip | |
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 <[email protected]>
Cc: Ingo Molnar <[email protected]>
LKML-Reference: <[email protected]>
Signed-off-by: Tom Zanussi <[email protected]>
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
| -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 @@ # description: system-wide syscall counts # args: [comm] if [ $# -gt 0 ] ; then - if ! expr match "$1" "-" ; then + if ! expr match "$1" "-" > /dev/null ; then comm=$1 shift fi |
