diff options
Diffstat (limited to 'tools')
-rw-r--r-- | tools/perf/scripts/python/bin/syscall-counts-by-pid-report | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/perf/scripts/python/bin/syscall-counts-by-pid-report b/tools/perf/scripts/python/bin/syscall-counts-by-pid-report index c53362e48602..9e9d8ddd72ce 100644 --- a/tools/perf/scripts/python/bin/syscall-counts-by-pid-report +++ b/tools/perf/scripts/python/bin/syscall-counts-by-pid-report | |||
@@ -2,7 +2,7 @@ | |||
2 | # description: system-wide syscall counts, by pid | 2 | # description: system-wide syscall counts, by pid |
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 |