Skip to content
Commit 85356f80 authored by Steven Rostedt's avatar Steven Rostedt Committed by Steven Rostedt
Browse files

kbuild/recordmcount: Add RECORDMCOUNT_WARN to warn about mcount callers



When mcount is called in a section that ftrace will not modify it into
a nop, we want to warn about this. But not warn about this always. Now
if the user builds the kernel with the option RECORDMCOUNT_WARN=1 then
the build will warn about mcount callers that are ignored and will just
waste execution time.

Acked-by: default avatarMichal Marek <mmarek@suse.cz>
Cc: linux-kbuild@vger.kernel.org
Link: http://lkml.kernel.org/r/20110421023738.714956282@goodmis.org


Signed-off-by: default avatarSteven Rostedt <rostedt@goodmis.org>
parent dfad3d59
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment