From: Steven Rostedt Date: Wed, 9 Feb 2011 18:13:23 +0000 (-0500) Subject: ftrace: Make recordmcount.c handle __fentry__ X-Git-Tag: omap-for-v3.7-rc1/fixes-cpufreq-signed~97^2~29 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=48bb5dc6cd9d30fe0d594947563da1f8bd9abada;p=pandora-kernel.git ftrace: Make recordmcount.c handle __fentry__ With gcc 4.6.0 the -mfentry feature places the function profiling call at the start of the function. When this is used, the call is to __fentry__ and not mcount. Change recordmcount.c to record both callers to __fentry__ and mcount. Link: http://lkml.kernel.org/r/20120807194058.990674363@goodmis.org Acked-by: H. Peter Anvin Acked-by: John Reiser Acked-by: Ingo Molnar Cc: Andi Kleen Signed-off-by: Steven Rostedt --- Reading git-diff-tree failed