• Steven Rostedt's avatar
    ftrace: x86 mcount stub · 0a37605c
    Steven Rostedt authored
    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: default avatarSteven Rostedt <srostedt@redhat.com>
    Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
    0a37605c
ftrace.c 2.85 KB