linux_old1/tools/perf/scripts/perl
Tom Zanussi e88a4bfbcd perf/trace/scripting: rwtop script cleanup
A couple of fixes for the rwtop script:

- printing the totals and clearing the hashes in the signal handler
  eventually leads to various random and serious problems when running
  the rwtop script continuously.  Moving the print_totals() calls to
  the event handlers solves that problem, and the event handlers are
  invoked frequently enough that it doesn't affect the timeliness of
  the output.

- Fix nuisance 'use of uninitialized value' warnings

Cc: Frédéric Weisbecker <fweisbec@gmail.com>
Cc: Ingo Molnar <mingo@elte.hu>
Message-Id: <1273466820-9330-4-git-send-email-tzanussi@gmail.com>
Signed-off-by: Tom Zanussi <tzanussi@gmail.com>
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
2010-05-10 19:50:56 -03:00
..
Perf-Trace-Util perf trace/scripting: Add rwtop and sctop scripts 2010-04-14 11:56:08 +02:00
bin perf/trace/scripting: failed-syscalls script cleanup 2010-05-10 19:50:54 -03:00
check-perf-trace.pl perf trace: Add interface to access perf data from Perl handlers 2009-11-28 10:04:27 +01:00
failed-syscalls.pl perf/trace/scripting: failed-syscalls script cleanup 2010-05-10 19:50:54 -03:00
rw-by-file.pl perf trace/scripting: Add support for script args 2009-12-15 10:31:31 +01:00
rw-by-pid.pl perf/trace/scripting: rw-by-pid script cleanup 2010-05-10 19:50:55 -03:00
rwtop.pl perf/trace/scripting: rwtop script cleanup 2010-05-10 19:50:56 -03:00
wakeup-latency.pl perf trace: Add perf trace scripting support modules for Perl 2009-11-28 10:04:26 +01:00
workqueue-stats.pl perf trace: Add perf trace scripting support modules for Perl 2009-11-28 10:04:26 +01:00