original_kernel/tools/perf/scripts/perl/bin
Tom Zanussi 47902f3611 perf trace/scripting: Add rwtop and sctop scripts
A couple of scripts, one in Python and the other in Perl, that
demonstrate 'live mode' tracing.  For each, the output of the
perf event stream is fed continuously to the script, which
continuously aggregates the data and reports the current results
every 3 seconds, or at the optionally specified interval.  After
the current results are displayed, the aggregations are cleared
and the cycle begins anew.

To run the scripts, simply pipe the output of the 'perf trace
record' step as input to the corresponding 'perf trace report'
step, using '-' as the filename to -o and -i:

 $ perf trace record sctop -o - | perf trace report sctop -i -

Also adds clear_term() utility functions to the Util.pm and
Util.py utility modules, for use by any script to clear the
screen.

Signed-off-by: Tom Zanussi <tzanussi@gmail.com>
Acked-by: Thomas Gleixner <tglx@linutronix.de>
Cc: fweisbec@gmail.com
Cc: rostedt@goodmis.org
Cc: k-keiichi@bx.jp.nec.com
Cc: acme@ghostprotocols.net
LKML-Reference: <1270184365-8281-10-git-send-email-tzanussi@gmail.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
2010-04-14 11:56:08 +02:00
..
check-perf-trace-record perf/scripts: Add syscall tracing scripts 2010-02-25 04:07:48 +01:00
failed-syscalls-record perf/scripts: Add syscall tracing scripts 2010-02-25 04:07:48 +01:00
failed-syscalls-report perf/scripts: Add syscall tracing scripts 2010-02-25 04:07:48 +01:00
rw-by-file-record
rw-by-file-report perf trace/scripting: List available scripts 2009-12-15 10:31:32 +01:00
rw-by-pid-record
rw-by-pid-report perf trace/scripting: List available scripts 2009-12-15 10:31:32 +01:00
rwtop-record perf trace/scripting: Add rwtop and sctop scripts 2010-04-14 11:56:08 +02:00
rwtop-report perf trace/scripting: Add rwtop and sctop scripts 2010-04-14 11:56:08 +02:00
wakeup-latency-record
wakeup-latency-report perf trace/scripting: List available scripts 2009-12-15 10:31:32 +01:00
workqueue-stats-record
workqueue-stats-report perf trace/scripting: List available scripts 2009-12-15 10:31:32 +01:00