• Mark Rutland's avatar
    arm64: ftrace: enable graph FP test · 5c176aff
    Mark Rutland authored
    The core frace code has an optional sanity check on the frame pointer
    passed by ftrace_graph_caller and return_to_handler. This is cheap,
    useful, and enabled unconditionally on x86, sparc, and riscv.
    
    Let's do the same on arm64, so that we can catch any problems early.
    Signed-off-by: default avatarMark Rutland <mark.rutland@arm.com>
    Cc: AKASHI Takahiro <takahiro.akashi@linaro.org>
    Cc: Ard Biesheuvel <ard.biesheuvel@linaro.org>
    Cc: Catalin Marinas <catalin.marinas@arm.com>
    Cc: Torsten Duwe <duwe@suse.de>
    Cc: Will Deacon <will.deacon@arm.com>
    Signed-off-by: default avatarWill Deacon <will.deacon@arm.com>
    5c176aff
ftrace.h 1.58 KB