]> git.baikalelectronics.ru Git - kernel.git/commit
ftrace: x86 mcount stub
authorSteven Rostedt <rostedt@goodmis.org>
Thu, 14 Aug 2008 19:45:12 +0000 (15:45 -0400)
committerIngo Molnar <mingo@elte.hu>
Tue, 14 Oct 2008 08:34:58 +0000 (10:34 +0200)
commit168e2dc78fc6bbc7e48a053cf18aa85ae67fbc99
tree0867723688dbdb824a5a15f91551f88bd47c6936
parenta2a5e0da1684563ad04c36455d54f0a6a31d1cd4
ftrace: x86 mcount stub

x86 now sets up the mcount locations through the build and no longer
needs to record the ip when the function is executed. This patch changes
the initial mcount to simply return. There's no need to do any other work.
If the ftrace start up test fails, the original mcount will be what everything
will use, so having this as fast as possible is a good thing.

Signed-off-by: Steven Rostedt <srostedt@redhat.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/kernel/entry_32.S
arch/x86/kernel/entry_64.S
arch/x86/kernel/ftrace.c