diff --git a/arch/um/Kconfig.debug b/arch/um/Kconfig.debug
index 40456f435419fb1bc0930f525acc26ec9bdc8a2b..8fce5e536b0fa7a268fb59657c7ddc3f99e5d568 100644
--- a/arch/um/Kconfig.debug
+++ b/arch/um/Kconfig.debug
@@ -4,7 +4,7 @@ source "lib/Kconfig.debug"
 
 config GPROF
 	bool "Enable gprof support"
-	depends on DEBUG_INFO
+	depends on DEBUG_INFO && FRAME_POINTER
 	help
 	  This allows profiling of a User-Mode Linux kernel with the gprof
 	  utility.