From: Tom Zanussi Date: Mon, 10 May 2010 04:46:54 +0000 (-0500) Subject: perf/trace/scripting: rwtop script cleanup X-Git-Tag: v2.6.35-rc1~522^2~34 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e88a4bfbcda440b1c6b9d5a31a554a6ad9686182;p=pandora-kernel.git 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 Cc: Ingo Molnar Message-Id: <1273466820-9330-4-git-send-email-tzanussi@gmail.com> Signed-off-by: Tom Zanussi Signed-off-by: Arnaldo Carvalho de Melo --- Reading git-diff-tree failed