diff options
| author | Tom Zanussi <[email protected]> | 2010-05-10 04:46:54 +0000 |
|---|---|---|
| committer | Arnaldo Carvalho de Melo <[email protected]> | 2010-05-10 22:50:56 +0000 |
| commit | e88a4bfbcda440b1c6b9d5a31a554a6ad9686182 (patch) | |
| tree | ba73fe7a89847aadf2584e1a537ee257a56ac564 /tools/perf/util/scripting-engines/trace-event-python.c | |
| parent | perf/trace/scripting: rw-by-pid script cleanup (diff) | |
| download | kernel-e88a4bfbcda440b1c6b9d5a31a554a6ad9686182.tar.gz kernel-e88a4bfbcda440b1c6b9d5a31a554a6ad9686182.zip | |
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 <[email protected]>
Cc: Ingo Molnar <[email protected]>
Message-Id: <[email protected]>
Signed-off-by: Tom Zanussi <[email protected]>
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions
