]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
uml: GPROF needs to depend on FRAME_POINTER
authorKarol Swietlicki <magotari@gmail.com>
Tue, 5 Feb 2008 06:30:42 +0000 (22:30 -0800)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Tue, 5 Feb 2008 17:44:25 +0000 (09:44 -0800)
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>
arch/um/Kconfig.debug

index 40456f435419fb1bc0930f525acc26ec9bdc8a2b..8fce5e536b0fa7a268fb59657c7ddc3f99e5d568 100644 (file)
@@ -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.