]> git.kernelconcepts.de Git - karo-tx-linux.git/blobdiff - tools/perf/scripts/python/syscall-counts.py
perf scripts: Fallback to syscalls:* when raw_syscalls:* is not available
[karo-tx-linux.git] / tools / perf / scripts / python / syscall-counts.py
index b435d3f188e84c421819802cb2efcefd62cff0d2..92b29381bd39b46af8304e2570f206b8cedf0201 100644 (file)
@@ -44,6 +44,11 @@ def raw_syscalls__sys_enter(event_name, context, common_cpu,
        except TypeError:
                syscalls[id] = 1
 
+def syscalls__sys_enter(event_name, context, common_cpu,
+       common_secs, common_nsecs, common_pid, common_comm,
+       id, args):
+       raw_syscalls__sys_enter(**locals())
+
 def print_syscall_totals():
     if for_comm is not None:
            print "\nsyscall events for %s:\n\n" % (for_comm),