From: John Reiser Date: Wed, 13 Oct 2010 19:12:54 +0000 (-0400) Subject: ftrace: Add C version of recordmcount compile time code X-Git-Tag: v2.6.37-rc1~214^2~20^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=81d3858d3131a589cade0d8b57f95cc1fc699b89;p=pandora-kernel.git ftrace: Add C version of recordmcount compile time code Currently, the mcount callers are found with a perl script that does an objdump on every file in the kernel. This is a C version of that same code which should increase the performance time of compiling the kernel with dynamic ftrace enabled. Signed-off-by: John Reiser [ Updated the code to include .text.unlikely section as well as changing the format to follow Linux coding style. ] Signed-off-by: Steven Rostedt --- Reading git-diff-tree failed