lkml.org 
[lkml]   [2019]   [Nov]   [1]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    Date
    Subject[PATCH v4 11/17] arm64: disable function graph tracing with SCS
    From
    With CONFIG_FUNCTION_GRAPH_TRACER, function return addresses are
    modified in ftrace_graph_caller and prepare_ftrace_return to redirect
    control flow to ftrace_return_to_handler. This is incompatible with
    SCS.

    Signed-off-by: Sami Tolvanen <samitolvanen@google.com>
    Reviewed-by: Kees Cook <keescook@chromium.org>
    ---
    arch/arm64/Kconfig | 2 +-
    1 file changed, 1 insertion(+), 1 deletion(-)

    diff --git a/arch/arm64/Kconfig b/arch/arm64/Kconfig
    index e7b57a8a5531..42867174920f 100644
    --- a/arch/arm64/Kconfig
    +++ b/arch/arm64/Kconfig
    @@ -148,7 +148,7 @@ config ARM64
    select HAVE_FTRACE_MCOUNT_RECORD
    select HAVE_FUNCTION_TRACER
    select HAVE_FUNCTION_ERROR_INJECTION
    - select HAVE_FUNCTION_GRAPH_TRACER
    + select HAVE_FUNCTION_GRAPH_TRACER if !SHADOW_CALL_STACK
    select HAVE_GCC_PLUGINS
    select HAVE_HW_BREAKPOINT if PERF_EVENTS
    select HAVE_IRQ_TIME_ACCOUNTING
    --
    2.24.0.rc1.363.gb1bccd3e3d-goog
    \
     
     \ /
      Last update: 2019-11-01 23:13    [W:4.101 / U:0.144 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site