Skip to content
Commit c4b8ac2c authored by Li Hong's avatar Li Hong Committed by Steven Rostedt
Browse files

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: default avatarLi Hong <lihong.hi@gmail.com>
LKML-Reference: <20091028050743.GH30758@uhli>
Signed-off-by: default avatarSteven Rostedt <rostedt@goodmis.org>
parent 6092858c
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment