lkml.org 
[lkml]   [2007]   [Nov]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subject[PATCH 3/6] UML - GPROF needs to depend on FRAME_POINTER
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.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
\
 
 \ /
  Last update: 2007-11-05 20:33    [W:0.023 / U:0.620 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site