From: Steven Rostedt Date: Tue, 12 Apr 2011 23:06:39 +0000 (-0400) Subject: ftrace: Avoid recording mcount on .init sections directly X-Git-Tag: v3.1-rc1~299^2~39^2~6 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5f9b93c39239507d2af03f79c8b0df9ebb9be768;p=pandora-kernel.git ftrace: Avoid recording mcount on .init sections directly The init and exit sections should not be traced and adding a call to mcount to them is a waste of text and instruction cache. Have the macro section attributes include notrace to ignore these functions for tracing from the build. Link: http://lkml.kernel.org/r/20110421023738.953028219@goodmis.org Signed-off-by: Steven Rostedt --- Reading git-diff-tree failed