From: Steven Rostedt Date: Wed, 13 Apr 2011 20:43:29 +0000 (-0400) Subject: ftrace/x86: Do not trace .discard.text section X-Git-Tag: v3.0-rc1~404^2~6^2~5 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2895cd2ab81dfb7bc22637bc110857db44a30b4a;p=pandora-kernel.git ftrace/x86: Do not trace .discard.text section The section called .discard.text has tracing attached to it and is currently ignored by ftrace. But it does include a call to the mcount stub. Adding a notrace to the code keeps gcc from adding the useless mcount caller to it. Link: http://lkml.kernel.org/r/20110421023739.243651696@goodmis.org Signed-off-by: Steven Rostedt --- Reading git-diff-tree failed