Skip to content

Commit d0262e9

Browse files
AndybnACTpalmer-dabbelt
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]> Signed-off-by: Palmer Dabbelt <[email protected]>
1 parent ca35869 commit d0262e9

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
@@ -157,7 +157,7 @@ config RISCV
157157
select HAVE_FTRACE_MCOUNT_RECORD if !XIP_KERNEL
158158
select HAVE_FUNCTION_GRAPH_TRACER if HAVE_DYNAMIC_FTRACE_WITH_ARGS
159159
select HAVE_FUNCTION_GRAPH_FREGS
160-
select HAVE_FUNCTION_TRACER if !XIP_KERNEL && !PREEMPTION
160+
select HAVE_FUNCTION_TRACER if !XIP_KERNEL
161161
select HAVE_EBPF_JIT if MMU
162162
select HAVE_GUP_FAST if MMU
163163
select HAVE_FUNCTION_ARG_ACCESS_API

0 commit comments

Comments
 (0)