tracing: Move mcount section search to front of loop in recordmcount.pl
authorLi Hong <lihong.hi@gmail.com>
Wed, 28 Oct 2009 05:05:23 +0000 (13:05 +0800)
committerSteven Rostedt <rostedt@goodmis.org>
Thu, 29 Oct 2009 19:11:48 +0000 (15:11 -0400)
commitdb24c7dcf42f78629d89b34e5d5a98ed56ea2ff5
tree61767255769adbe8b367c77e632a2baccc58fb80
parent7b7edc27683e20624f4daf17c76041719184201c
tracing: Move mcount section search to front of loop in recordmcount.pl

Move the mcount section check to the beginning of the objdump read loop.
This makes the code easier to follow since the search for the mcount
section is performed first before the mcount callers are processed.

Signed-off-by: Li Hong <lihong.hi@gmail.com>
LKML-Reference: <20091028050523.GE30758@uhli>
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
scripts/recordmcount.pl
This page took 0.024875 seconds and 5 git commands to generate.