ftrace/x86: mcount offset calculation
authorMartin Schwidefsky <schwidefsky@de.ibm.com>
Tue, 10 May 2011 08:10:41 +0000 (10:10 +0200)
committerSteven Rostedt <rostedt@goodmis.org>
Mon, 16 May 2011 18:55:57 +0000 (14:55 -0400)
commit521ccb5c4aece609311bfa7157910a8f0c942af5
tree5312027b1397133c6a63bbc915f0d80b86155798
parent07d8b595f367f4604e6027ad4cba33cbe3f55e10
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>
arch/x86/include/asm/ftrace.h
scripts/recordmcount.c
scripts/recordmcount.pl