Skip to content

Commit 49a962c

Browse files
rnavrostedt
authored andcommitted
ftrace: Fix DYNAMIC_FTRACE_WITH_DIRECT_CALLS dependency
DYNAMIC_FTRACE_WITH_DIRECT_CALLS should depend on DYNAMIC_FTRACE_WITH_REGS since we need ftrace_regs_caller(). Link: https://lkml.kernel.org/r/fc4b257ea8689a36f086d2389a9ed989496ca63a.1606412433.git.naveen.n.rao@linux.vnet.ibm.com Cc: [email protected] Fixes: 763e34e ("ftrace: Add register_ftrace_direct()") Signed-off-by: Naveen N. Rao <[email protected]> Signed-off-by: Steven Rostedt (VMware) <[email protected]>
1 parent 4c75b0f commit 49a962c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

kernel/trace/Kconfig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -202,7 +202,7 @@ config DYNAMIC_FTRACE_WITH_REGS
202202

203203
config DYNAMIC_FTRACE_WITH_DIRECT_CALLS
204204
def_bool y
205-
depends on DYNAMIC_FTRACE
205+
depends on DYNAMIC_FTRACE_WITH_REGS
206206
depends on HAVE_DYNAMIC_FTRACE_WITH_DIRECT_CALLS
207207

208208
config FUNCTION_PROFILER

0 commit comments

Comments
 (0)