public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 3/6] UML - GPROF needs to depend on FRAME_POINTER
@ 2007-11-05 19:27 Jeff Dike
  0 siblings, 0 replies; only message in thread
From: Jeff Dike @ 2007-11-05 19:27 UTC (permalink / raw)
  To: Andrew Morton; +Cc: LKML, uml-devel, Karol Swietlicki

From: Karol Swietlicki <magotari@gmail.com>

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

Signed-off-by: Karol Swietlicki <magotari@gmail.com>
Signed-off-by: Jeff Dike <jdike@linux.intel.com>
---
 arch/um/Kconfig.debug |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Index: linux-2.6/arch/um/Kconfig.debug
===================================================================
--- linux-2.6.orig/arch/um/Kconfig.debug	2007-11-05 14:06:09.000000000 -0500
+++ linux-2.6/arch/um/Kconfig.debug	2007-11-05 14:12:59.000000000 -0500
@@ -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.

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2007-11-05 19:29 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-11-05 19:27 [PATCH 3/6] UML - GPROF needs to depend on FRAME_POINTER Jeff Dike

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox