summaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/sctop.py
diff options
context:
space:
mode:
authorIngo Molnar <mingo@kernel.org>2014-07-05 11:28:13 +0200
committerIngo Molnar <mingo@kernel.org>2014-07-05 11:28:13 +0200
commit432100ba2aacc2146a2b1f26e5b5ae5d6e29972a (patch)
treede1bd7b51e55c8b61507a56d69e6e333b4c84cd7 /tools/perf/scripts/python/sctop.py
parent2172c1f5aa58310784f358ca20fdddfcdc2a0d7b (diff)
parente281a9606d7073c517f2571e83faaff029ddc1cf (diff)
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 <acme@redhat.com> Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/sctop.py')
-rw-r--r--tools/perf/scripts/python/sctop.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/tools/perf/scripts/python/sctop.py b/tools/perf/scripts/python/sctop.py
index 42c267e292f..c9f3058b7dd 100644
--- a/tools/perf/scripts/python/sctop.py
+++ b/tools/perf/scripts/python/sctop.py
@@ -53,6 +53,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(interval):
while 1:
clear_term()