diff options
| author | Ingo Molnar <[email protected]> | 2014-07-05 09:28:13 +0000 |
|---|---|---|
| committer | Ingo Molnar <[email protected]> | 2014-07-05 09:28:13 +0000 |
| commit | 432100ba2aacc2146a2b1f26e5b5ae5d6e29972a (patch) | |
| tree | de1bd7b51e55c8b61507a56d69e6e333b4c84cd7 /tools/perf/scripts/python/failed-syscalls-by-pid.py | |
| parent | perf/x86: Micro-optimize nhmex_rbox_get_constraint() (diff) | |
| parent | perf trace: Add possibility to switch off syscall events (diff) | |
| download | kernel-432100ba2aacc2146a2b1f26e5b5ae5d6e29972a.tar.gz kernel-432100ba2aacc2146a2b1f26e5b5ae5d6e29972a.zip | |
Merge tag 'perf-core-for-mingo' of git://git.kernel.org/pub/scm/linux/kernel/git/acme/linux into perf/core
Pull perf/core improvements and fixes from Arnaldo Carvalho de Melo:
New features:
* Add support for pagefault tracing in 'trace', please see multiple examples
in the changeset messages (Stanislav Fomichev).
User visible changes:
* Fallback to syscalls:* when raw_syscalls:* is not available in the perl and
python perf scripts. (Daniel Bristot de Oliveira)
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/failed-syscalls-by-pid.py')
| -rw-r--r-- | tools/perf/scripts/python/failed-syscalls-by-pid.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/tools/perf/scripts/python/failed-syscalls-by-pid.py b/tools/perf/scripts/python/failed-syscalls-by-pid.py index 85805fac4116..266a8364bce5 100644 --- a/tools/perf/scripts/python/failed-syscalls-by-pid.py +++ b/tools/perf/scripts/python/failed-syscalls-by-pid.py @@ -50,6 +50,11 @@ def raw_syscalls__sys_exit(event_name, context, common_cpu, except TypeError: syscalls[common_comm][common_pid][id][ret] = 1 +def syscalls__sys_exit(event_name, context, common_cpu, + common_secs, common_nsecs, common_pid, common_comm, + id, ret): + raw_syscalls__sys_exit(**locals()) + def print_error_totals(): if for_comm is not None: print "\nsyscall errors for %s:\n\n" % (for_comm), |
