From: Martin Schwidefsky Date: Tue, 10 May 2011 08:10:40 +0000 (+0200) Subject: ftrace/recordmcount: mcount address adjustment X-Git-Tag: v3.0-rc1~404^2~6^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=07d8b595f367f4604e6027ad4cba33cbe3f55e10;p=pandora-kernel.git ftrace/recordmcount: mcount address adjustment Introduce mcount_adjust{,_32,_64} to the C implementation of recordmcount analog to $mcount_adjust in the perl script. The adjustment is added to the address of the relocations against the mcount symbol. If this adjustment is done by recordmcount at compile time the ftrace_call_adjust function can be turned into a nop. Cc: John Reiser Signed-off-by: Martin Schwidefsky Signed-off-by: Steven Rostedt --- Reading git-diff-tree failed