• S
    ftrace: x86 mcount stub · 0a37605c
    Steven Rostedt 提交于
    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: NSteven Rostedt <srostedt@redhat.com>
    Signed-off-by: NIngo Molnar <mingo@elte.hu>
    0a37605c
ftrace.c 2.8 KB