]> Git Repo - J-linux.git/commitdiff
parisc: select FTRACE_MCOUNT_USE_PATCHABLE_FUNCTION_ENTRY
authorSami Tolvanen <[email protected]>
Wed, 24 Feb 2021 22:57:06 +0000 (14:57 -0800)
committerKees Cook <[email protected]>
Thu, 25 Feb 2021 20:20:51 +0000 (12:20 -0800)
parisc uses -fpatchable-function-entry with dynamic ftrace, which means we
don't need recordmcount. Select FTRACE_MCOUNT_USE_PATCHABLE_FUNCTION_ENTRY
to tell that to the build system.

Reported-by: Guenter Roeck <[email protected]>
Fixes: 3b15cdc15956 ("tracing: move function tracer options to Kconfig")
Signed-off-by: Sami Tolvanen <[email protected]>
Tested-by: Guenter Roeck <[email protected]>
Tested-by: Kees Cook <[email protected]>
Signed-off-by: Kees Cook <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
arch/parisc/Kconfig

index 78b17621ee4a5e5a67588b522fe5a13c115e84b3..0ebde059bd7e03f937742dba7556dbe3eefcbf5b 100644 (file)
@@ -61,6 +61,7 @@ config PARISC
        select HAVE_KRETPROBES
        select HAVE_DYNAMIC_FTRACE if $(cc-option,-fpatchable-function-entry=1,1)
        select HAVE_FTRACE_MCOUNT_RECORD if HAVE_DYNAMIC_FTRACE
+       select FTRACE_MCOUNT_USE_PATCHABLE_FUNCTION_ENTRY if DYNAMIC_FTRACE
        select HAVE_KPROBES_ON_FTRACE
        select HAVE_DYNAMIC_FTRACE_WITH_REGS
        select SET_FS
This page took 0.048409 seconds and 4 git commands to generate.