ftrace/x86: mcount offset calculation
commit414eb44dda6b9893b212b2306ccb423ab01eef8e
authorMartin Schwidefsky <schwidefsky@de.ibm.com>
Tue, 10 May 2011 08:10:41 +0000 (10 10:10 +0200)
committerSteven Rostedt <rostedt@goodmis.org>
Tue, 17 May 2011 14:42:09 +0000 (17 10:42 -0400)
treea6e83f79a539353e52ac951e0cc09d3057c219ef
parentf215efc50a3c1430735e89915fae188f927d8773
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