aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/recordmcount.c
diff options
context:
space:
mode:
authorMartin Schwidefsky <schwidefsky@de.ibm.com>2011-05-10 10:10:40 +0200
committerSteven Rostedt <rostedt@goodmis.org>2011-05-16 14:53:22 -0400
commit07d8b595f367f4604e6027ad4cba33cbe3f55e10 (patch)
tree236cd6b56ea2d116002f6c722b86155185860f1c /scripts/recordmcount.c
parent41b402a201a12efdff4acc990e023a89a409cd41 (diff)
downloadkernel_samsung_smdk4412-07d8b595f367f4604e6027ad4cba33cbe3f55e10.zip
kernel_samsung_smdk4412-07d8b595f367f4604e6027ad4cba33cbe3f55e10.tar.gz
kernel_samsung_smdk4412-07d8b595f367f4604e6027ad4cba33cbe3f55e10.tar.bz2
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 <jreiser@bitwagon.com> Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com> Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
Diffstat (limited to 'scripts/recordmcount.c')
0 files changed, 0 insertions, 0 deletions