lkml.org 
[lkml]   [2019]   [Oct]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    Date
    Subject[PATCH 09/18] trace: 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
    return address protection.

    Signed-off-by: Sami Tolvanen <samitolvanen@google.com>
    ---
    kernel/trace/Kconfig | 1 +
    1 file changed, 1 insertion(+)

    diff --git a/kernel/trace/Kconfig b/kernel/trace/Kconfig
    index e08527f50d2a..b7e5e3bfa0f4 100644
    --- a/kernel/trace/Kconfig
    +++ b/kernel/trace/Kconfig
    @@ -161,6 +161,7 @@ config FUNCTION_GRAPH_TRACER
    depends on HAVE_FUNCTION_GRAPH_TRACER
    depends on FUNCTION_TRACER
    depends on !X86_32 || !CC_OPTIMIZE_FOR_SIZE
    + depends on ROP_PROTECTION_NONE
    default y
    help
    Enable the kernel to trace a function at both its return
    --
    2.23.0.866.gb869b98d4c-goog
    \
     
     \ /
      Last update: 2019-10-18 18:12    [W:4.070 / U:0.016 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site