perf/trace/scripting: rw-by-pid script cleanup
authorTom Zanussi <tzanussi@gmail.com>
Mon, 10 May 2010 04:46:53 +0000 (23:46 -0500)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Mon, 10 May 2010 22:50:55 +0000 (19:50 -0300)
commit6922c3d772711239e75ddaea760e6b0535e7e7a6
treeea34f016551dee09005a71f5f99f8317c81ff22f
parentc3f5fd287aa897f710f3305367a1d256c9cf3e83
perf/trace/scripting: rw-by-pid script cleanup

Some minor fixes for the rw-by-pid script:

- Fix nuisance 'use of uninitialized value' warnings

- Change the failed read/write sections to sort by error counts

Cc: Frédéric Weisbecker <fweisbec@gmail.com>
Cc: Ingo Molnar <mingo@elte.hu>
LKML-Reference: <1273466820-9330-3-git-send-email-tzanussi@gmail.com>
Signed-off-by: Tom Zanussi <tzanussi@gmail.com>
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/scripts/perl/rw-by-pid.pl