summaryrefslogtreecommitdiffstats
path: root/scripts/recordmcount.c
diff options
context:
space:
mode:
authorMartin Schwidefsky2011-05-10 10:10:40 +0200
committerSteven Rostedt2011-05-16 20:53:22 +0200
commit07d8b595f367f4604e6027ad4cba33cbe3f55e10 (patch)
tree236cd6b56ea2d116002f6c722b86155185860f1c /scripts/recordmcount.c
parentftrace/recordmcount: Add helper function get_sym_str_and_relp() (diff)
downloadkernel-qcow2-linux-07d8b595f367f4604e6027ad4cba33cbe3f55e10.tar.gz
kernel-qcow2-linux-07d8b595f367f4604e6027ad4cba33cbe3f55e10.tar.xz
kernel-qcow2-linux-07d8b595f367f4604e6027ad4cba33cbe3f55e10.zip
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