diff options
author | Martin Schwidefsky <schwidefsky@de.ibm.com> | 2011-05-10 10:10:40 +0200 |
---|---|---|
committer | Steven Rostedt <rostedt@goodmis.org> | 2011-05-16 14:53:22 -0400 |
commit | 07d8b595f367f4604e6027ad4cba33cbe3f55e10 (patch) | |
tree | 236cd6b56ea2d116002f6c722b86155185860f1c /scripts/recordmcount.c | |
parent | 41b402a201a12efdff4acc990e023a89a409cd41 (diff) | |
download | linux-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