aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/bin/syscall-counts-report
diff options
context:
space:
mode:
authorTom Zanussi <tzanussi@gmail.com>2010-01-27 03:27:58 -0500
committerFrederic Weisbecker <fweisbec@gmail.com>2010-02-24 22:07:48 -0500
commit4d161f0360d00d46a89827b3fd6da395f00c5d90 (patch)
tree7a5d786a0f1a75fba9036076eb791dc759d8009f /tools/perf/scripts/python/bin/syscall-counts-report
parent7e4b21b84c43bb8a80b916e40718ca4ed1fc52e6 (diff)
perf/scripts: Add syscall tracing scripts
Adds a set of scripts that aggregate system call totals and system call errors. Most are Python scripts that also test basic functionality of the new Python engine, but there's also one Perl script added for comparison and for reference in some new Documentation contained in a later patch. Signed-off-by: Tom Zanussi <tzanussi@gmail.com> Cc: Ingo Molnar <mingo@elte.hu> Cc: Steven Rostedt <rostedt@goodmis.org> Cc: Keiichi KII <k-keiichi@bx.jp.nec.com> Cc: Peter Zijlstra <a.p.zijlstra@chello.nl> Cc: Paul Mackerras <paulus@samba.org> Cc: Arnaldo Carvalho de Melo <acme@redhat.com> LKML-Reference: <1264580883-15324-8-git-send-email-tzanussi@gmail.com> Signed-off-by: Frederic Weisbecker <fweisbec@gmail.com>
Diffstat (limited to 'tools/perf/scripts/python/bin/syscall-counts-report')
-rw-r--r--tools/perf/scripts/python/bin/syscall-counts-report4
1 files changed, 4 insertions, 0 deletions
diff --git a/tools/perf/scripts/python/bin/syscall-counts-report b/tools/perf/scripts/python/bin/syscall-counts-report
new file mode 100644
index 000000000000..a366aa61612f
--- /dev/null
+++ b/tools/perf/scripts/python/bin/syscall-counts-report
@@ -0,0 +1,4 @@
1#!/bin/bash
2# description: system-wide syscall counts
3# args: [comm]
4perf trace -s ~/libexec/perf-core/scripts/python/syscall-counts.py $1