git.openpandora.org
/
pandora-kernel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'sched-core-for-linus' of git://git.kernel.org/pub/scm/linux/kernel...
[pandora-kernel.git]
/
tools
/
perf
/
scripts
/
perl
/
bin
/
failed-syscalls-report
diff --git
a/tools/perf/scripts/perl/bin/failed-syscalls-report
b/tools/perf/scripts/perl/bin/failed-syscalls-report
index
8bfc660
..
e3a5e55
100644
(file)
--- a/
tools/perf/scripts/perl/bin/failed-syscalls-report
+++ b/
tools/perf/scripts/perl/bin/failed-syscalls-report
@@
-1,4
+1,10
@@
#!/bin/bash
# description: system-wide failed syscalls
# args: [comm]
#!/bin/bash
# description: system-wide failed syscalls
# args: [comm]
-perf trace -s ~/libexec/perf-core/scripts/perl/failed-syscalls.pl $1
+if [ $# -gt 0 ] ; then
+ if ! expr match "$1" "-" > /dev/null ; then
+ comm=$1
+ shift
+ fi
+fi
+perf trace $@ -s ~/libexec/perf-core/scripts/perl/failed-syscalls.pl $comm