ftrace/x86: mcount offset calculation

Do the mcount offset adjustment in the recordmcount.pl/recordmcount.[ch]
at compile time and not in ftrace_call_adjust at run time.

Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
This commit is contained in:
Martin Schwidefsky 2011-05-10 10:10:41 +02:00 • committed by Steven Rostedt
commit 414eb44dda
3 changed files with 7 additions and 4 deletions