diff options
author | Ingo Molnar <mingo@kernel.org> | 2014-07-05 11:28:13 +0200 |
---|---|---|
committer | Ingo Molnar <mingo@kernel.org> | 2014-07-05 11:28:13 +0200 |
commit | 432100ba2aacc2146a2b1f26e5b5ae5d6e29972a (patch) | |
tree | de1bd7b51e55c8b61507a56d69e6e333b4c84cd7 /tools/perf/scripts/python/syscall-counts.py | |
parent | 2172c1f5aa58310784f358ca20fdddfcdc2a0d7b (diff) | |
parent | e281a9606d7073c517f2571e83faaff029ddc1cf (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/syscall-counts.py')
-rw-r--r-- | tools/perf/scripts/python/syscall-counts.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/tools/perf/scripts/python/syscall-counts.py b/tools/perf/scripts/python/syscall-counts.py index b435d3f188e..92b29381bd3 100644 --- a/tools/perf/scripts/python/syscall-counts.py +++ b/tools/perf/scripts/python/syscall-counts.py @@ -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), |