projects
/
cascardo
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
perf/trace/scripting: syscall-counts script cleanup
[cascardo/linux.git]
/
tools
/
perf
/
scripts
/
python
/
bin
/
syscall-counts-by-pid-report
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
c53362e
..
9e9d8dd
100644
(file)
--- 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
@@
# 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