• Ard Biesheuvel's avatar
    ARM: ftrace: enable the graph tracer with the EABI unwinder · 41918ec8
    Ard Biesheuvel authored
    Enable the function graph tracer in combination with the EABI unwinder,
    so that Thumb2 builds or Clang ARM builds can make use of it.
    
    This involves using the unwinder to locate the return address of an
    instrumented function on the stack, so that it can be overridden and
    made to refer to the ftrace handling routines that need to be called at
    function return.
    
    Given that for these builds, it is not guaranteed that the value of the
    link register is stored on the stack, fall back to the stack slot that
    will be used by the ftrace exit code to restore LR in the instrumented
    function's execution context.
    Signed-off-by: default avatarArd Biesheuvel <ardb@kernel.org>
    Reviewed-by: default avatarSteven Rostedt (Google) <rostedt@goodmis.org>
    41918ec8
Kconfig 62.9 KB