summaryrefslogtreecommitdiffstats
path: root/net/dccp/diag.c
diff options
context:
space:
mode:
authorTom Zanussi <tzanussi@gmail.com>2010-05-09 23:46:54 -0500
committerArnaldo Carvalho de Melo <acme@redhat.com>2010-05-10 19:50:56 -0300
commite88a4bfbcda440b1c6b9d5a31a554a6ad9686182 (patch)
treeba73fe7a89847aadf2584e1a537ee257a56ac564 /net/dccp/diag.c
parent6922c3d772711239e75ddaea760e6b0535e7e7a6 (diff)
downloadop-kernel-dev-e88a4bfbcda440b1c6b9d5a31a554a6ad9686182.zip
op-kernel-dev-e88a4bfbcda440b1c6b9d5a31a554a6ad9686182.tar.gz
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>
Diffstat (limited to 'net/dccp/diag.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud