Skip to content
Snippets Groups Projects
Commit 3d1dc719 authored by Sami Tolvanen's avatar Sami Tolvanen Committed by Kees Cook
Browse files

parisc: select FTRACE_MCOUNT_USE_PATCHABLE_FUNCTION_ENTRY


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: default avatarGuenter Roeck <linux@roeck-us.net>
Fixes: 3b15cdc1 ("tracing: move function tracer options to Kconfig")
Signed-off-by: default avatarSami Tolvanen <samitolvanen@google.com>
Tested-by: default avatarGuenter Roeck <linux@roeck-us.net>
Tested-by: default avatarKees Cook <keescook@chromium.org>
Signed-off-by: default avatarKees Cook <keescook@chromium.org>
Link: https://lore.kernel.org/r/20210224225706.2726050-1-samitolvanen@google.com
parent 5e95325f
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment