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)
commit306dcf47d28aaf9aedfafb17a602768584cfc0f2
treecfa3be3256de61fd93136cfdbb9a1e6b3f43dbfe
parentdb24c7dcf42f78629d89b34e5d5a98ed56ea2ff5
tracing: Add regex for weak functions in recordmcount.pl

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