aboutsummaryrefslogtreecommitdiff
path: root/scripts/patch-kernel
diff options
context:
space:
mode:
authorMartin Schwidefsky <[email protected]>2011-05-10 10:10:40 +0200
committerSteven Rostedt <[email protected]>2011-05-17 10:42:05 -0400
commitf215efc50a3c1430735e89915fae188f927d8773 (patch)
tree0a54d93156f39a92e7540046391861b4fa23750e /scripts/patch-kernel
parent0286d2d12d78ea8aaf0722473dd20cb609a99709 (diff)
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 <[email protected]> Signed-off-by: Martin Schwidefsky <[email protected]> Signed-off-by: Steven Rostedt <[email protected]>
Diffstat (limited to 'scripts/patch-kernel')
0 files changed, 0 insertions, 0 deletions