diff options
| author | Michal Marek <mmarek@suse.cz> | 2010-08-04 14:05:07 +0200 |
|---|---|---|
| committer | Michal Marek <mmarek@suse.cz> | 2010-08-04 14:05:07 +0200 |
| commit | 7a996d3ab150bb0e1b71fa182f70199a703efdd1 (patch) | |
| tree | 96a36947d90c9b96580899abd38cb3b70cd9d40b /tools/perf/scripts/python/bin/failed-syscalls-by-pid-report | |
| parent | kconfig: add savedefconfig (diff) | |
| parent | Linux 2.6.35 (diff) | |
| download | linux-7a996d3ab150bb0e1b71fa182f70199a703efdd1.tar.gz linux-7a996d3ab150bb0e1b71fa182f70199a703efdd1.zip | |
Merge commit 'v2.6.35' into kbuild/kconfig
Conflicts:
scripts/kconfig/Makefile
Diffstat (limited to 'tools/perf/scripts/python/bin/failed-syscalls-by-pid-report')
| -rw-r--r-- | tools/perf/scripts/python/bin/failed-syscalls-by-pid-report | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/tools/perf/scripts/python/bin/failed-syscalls-by-pid-report b/tools/perf/scripts/python/bin/failed-syscalls-by-pid-report new file mode 100644 index 000000000000..30293545fcc2 --- /dev/null +++ b/tools/perf/scripts/python/bin/failed-syscalls-by-pid-report @@ -0,0 +1,10 @@ +#!/bin/bash +# description: system-wide failed syscalls, by pid +# args: [comm] +if [ $# -gt 0 ] ; then + if ! expr match "$1" "-" > /dev/null ; then + comm=$1 + shift + fi +fi +perf trace $@ -s ~/libexec/perf-core/scripts/python/failed-syscalls-by-pid.py $comm |
