Skip to content

Commit 9e9ac12

Browse files
AndybnACTAlexandre Ghiti
authored andcommitted
riscv: ftrace: support PREEMPT
Now, we can safely enable dynamic ftrace with kernel preemption. Signed-off-by: Andy Chiu <[email protected]> Reviewed-by: Björn Töpel <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Alexandre Ghiti <[email protected]>
1 parent 17a7057 commit 9e9ac12

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

arch/riscv/Kconfig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,7 @@ config RISCV
158158
select HAVE_FTRACE_MCOUNT_RECORD if !XIP_KERNEL
159159
select HAVE_FUNCTION_GRAPH_TRACER if HAVE_DYNAMIC_FTRACE_WITH_ARGS
160160
select HAVE_FUNCTION_GRAPH_FREGS
161-
select HAVE_FUNCTION_TRACER if !XIP_KERNEL && !PREEMPTION
161+
select HAVE_FUNCTION_TRACER if !XIP_KERNEL
162162
select HAVE_EBPF_JIT if MMU
163163
select HAVE_GUP_FAST if MMU
164164
select HAVE_FUNCTION_ARG_ACCESS_API

0 commit comments

Comments
 (0)