diff --git a/kernel/trace/Kconfig b/kernel/trace/Kconfig index 4a13e5a01ce318c62c75c991a8694096e4821f40..1eac85253ce96f8feaf13fcdc05a82998ea4b92e 100644 --- a/kernel/trace/Kconfig +++ b/kernel/trace/Kconfig @@ -121,6 +121,7 @@ config FUNCTION_GRAPH_TRACER bool "Kernel Function Graph Tracer" depends on HAVE_FUNCTION_GRAPH_TRACER depends on FUNCTION_TRACER + depends on !X86_32 || !CC_OPTIMIZE_FOR_SIZE default y help Enable the kernel to trace a function at both its return