ftrace/x86: Do not trace .discard.text section
commit406a733db0052fed66d17008430b6047ecea7b92
authorSteven Rostedt <srostedt@redhat.com>
Wed, 13 Apr 2011 20:43:29 +0000 (13 16:43 -0400)
committerSteven Rostedt <rostedt@goodmis.org>
Tue, 17 May 2011 14:41:55 +0000 (17 10:41 -0400)
tree8c5304de8ac9a009983686b2f8b05b8fa115f0d2
parent5f9b93c39239507d2af03f79c8b0df9ebb9be768
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 <rostedt@goodmis.org>
arch/x86/include/asm/setup.h