Forráskód Böngészése

uml: GPROF needs to depend on FRAME_POINTER

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>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Karol Swietlicki 17 éve
szülő
commit
054211acad
1 módosított fájl, 1 hozzáadás és 1 törlés
  1. 1 1
      arch/um/Kconfig.debug

+ 1 - 1
arch/um/Kconfig.debug

@@ -4,7 +4,7 @@ source "lib/Kconfig.debug"
 
 
 config GPROF
 config GPROF
 	bool "Enable gprof support"
 	bool "Enable gprof support"
-	depends on DEBUG_INFO
+	depends on DEBUG_INFO && FRAME_POINTER
 	help
 	help
 	  This allows profiling of a User-Mode Linux kernel with the gprof
 	  This allows profiling of a User-Mode Linux kernel with the gprof
 	  utility.
 	  utility.