Tom Zanussi | 4d161f0 | 2010-01-27 02:27:58 -0600 | [diff] [blame] | 1 | #!/bin/bash |
2 | # description: system-wide failed syscalls, by pid | ||||
3 | # args: [comm] | ||||
Tom Zanussi | 00b21a0 | 2010-04-01 23:59:24 -0500 | [diff] [blame^] | 4 | if [ $# -gt 0 ] ; then |
5 | if ! expr match "$1" "-" ; then | ||||
6 | comm=$1 | ||||
7 | shift | ||||
8 | fi | ||||
9 | fi | ||||
10 | perf trace $@ -s ~/libexec/perf-core/scripts/python/failed-syscalls-by-pid.py $comm |