tracing: Add regex for weak functions in recordmcount.pl
authorLi Hong <lihong.hi@gmail.com>
Wed, 28 Oct 2009 05:06:19 +0000 (13:06 +0800)
committerSteven Rostedt <rostedt@goodmis.org>
Thu, 29 Oct 2009 19:11:52 +0000 (15:11 -0400)
Add a variable to contain the regex needed to find weak functions
in the 'nm' output. This will allow other archs to easily override it.

Also rename the regex variable $nm_regex to $local_regex to be more
descriptive.

Signed-off-by: Li Hong <lihong.hi@gmail.com>
LKML-Reference: <20091028050619.GF30758@uhli>
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
scripts/recordmcount.pl

Simple merge