From: Steven Rostedt Date: Tue, 12 Apr 2011 22:59:10 +0000 (-0400) Subject: kbuild/recordmcount: Add RECORDMCOUNT_WARN to warn about mcount callers X-Git-Tag: v3.0-rc1~404^2~6^2~7 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=85356f802225fedeee8c3e65bdd93b263ace0a8b;p=pandora-kernel.git 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: Michal Marek Cc: linux-kbuild@vger.kernel.org Link: http://lkml.kernel.org/r/20110421023738.714956282@goodmis.org Signed-off-by: Steven Rostedt --- Reading git-diff-tree failed