summaryrefslogtreecommitdiffstats
path: root/scripts/recordmcount.h
diff options
context:
space:
mode:
authorSteven Rostedt2011-04-13 22:43:29 +0200
committerSteven Rostedt2011-05-16 20:47:13 +0200
commit2895cd2ab81dfb7bc22637bc110857db44a30b4a (patch)
treee68853cf5422e4107bc7d999fa39f0826b481cb7 /scripts/recordmcount.h
parentftrace: Avoid recording mcount on .init sections directly (diff)
downloadkernel-qcow2-linux-2895cd2ab81dfb7bc22637bc110857db44a30b4a.tar.gz
kernel-qcow2-linux-2895cd2ab81dfb7bc22637bc110857db44a30b4a.tar.xz
kernel-qcow2-linux-2895cd2ab81dfb7bc22637bc110857db44a30b4a.zip
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>
Diffstat (limited to 'scripts/recordmcount.h')
0 files changed, 0 insertions, 0 deletions