]> Git Repo - linux.git/blobdiff - tools/perf/scripts/python/failed-syscalls-by-pid.py
Merge branch 'drm-next' of git://people.freedesktop.org/~airlied/linux
[linux.git] / tools / perf / scripts / python / failed-syscalls-by-pid.py
index 85805fac41167b9e531c09f51ca21595287e08aa..cafeff3d74dbdf48e86822070db580fb5dfce928 100644 (file)
@@ -39,7 +39,7 @@ def trace_end():
 
 def raw_syscalls__sys_exit(event_name, context, common_cpu,
        common_secs, common_nsecs, common_pid, common_comm,
-       id, ret):
+       common_callchain, id, ret):
        if (for_comm and common_comm != for_comm) or \
           (for_pid  and common_pid  != for_pid ):
                return
@@ -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),
This page took 0.035134 seconds and 4 git commands to generate.