aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/sctop.py
diff options
context:
space:
mode:
authorIngo Molnar <[email protected]>2014-07-05 09:28:13 +0000
committerIngo Molnar <[email protected]>2014-07-05 09:28:13 +0000
commit432100ba2aacc2146a2b1f26e5b5ae5d6e29972a (patch)
treede1bd7b51e55c8b61507a56d69e6e333b4c84cd7 /tools/perf/scripts/python/sctop.py
parentperf/x86: Micro-optimize nhmex_rbox_get_constraint() (diff)
parentperf trace: Add possibility to switch off syscall events (diff)
downloadkernel-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/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 42c267e292fa..c9f3058b7dd4 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()