tracing: optimize recordmcount.pl for offsets-handling
authorWolfram Sang <w.sang@pengutronix.de>
Tue, 5 Jan 2010 18:27:51 +0000 (19:27 +0100)
committerSteven Rostedt <rostedt@goodmis.org>
Wed, 6 Jan 2010 18:32:39 +0000 (13:32 -0500)
commitdc4f8845ee2ca39fe054a2d911729ffd269b4b66
treefc6ffa93efde6eeb58edf276970b647660ce2a7b
parent7e53bd42d14c75192b99674c40fcc359392da59d
tracing: optimize recordmcount.pl for offsets-handling

- move check for open file in front of the writing loop
- use perl-constructs to access the array

Signed-off-by: Wolfram Sang <w.sang@pengutronix.de>
LKML-Reference: <1262716072-14414-2-git-send-email-w.sang@pengutronix.de>
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
scripts/recordmcount.pl