From: Li Hong Date: Wed, 28 Oct 2009 05:07:43 +0000 (+0800) Subject: tracing: Exit with error if a weak function is used in recordmcount.pl X-Git-Tag: v2.6.33-rc1~400^2~13 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c4b8ac2c1aee1398b9378b8730bac56294b3410b;p=pandora-kernel.git tracing: Exit with error if a weak function is used in recordmcount.pl If a weak function is used as a relocation reference for mcount callers and that function is overridden, it will cause ftrace to fail at run time. The current code should prevent a weak function from being used, but if one is, the code should exit with an error to fail at compile time. Signed-off-by: Li Hong LKML-Reference: <20091028050743.GH30758@uhli> Signed-off-by: Steven Rostedt --- Reading git-diff-tree failed