Skip to contentSkip to conversation

UML - GPROF needs to depend on FRAME_POINTER

PATCH New Jeff Dike 1 participant 1 message Nov 5, 2007 User-mode Linux (UML)

lore
Share & tools
lore

Jeff Dike

author
#0 lore raw

PATCH 3/6 UML - GPROF needs to depend on FRAME_POINTER

From: Karol Swietlicki <[email protected]>

This is a short Kconfig fix for a problem in User Mode Linux. Frame pointers are required for gprof support to work.

---
 arch/um/Kconfig.debug |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/um/Kconfig.debug +1 -1
Index: linux-2.6/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.

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
User-mode-linux-devel mailing list [email protected]
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel