Skip to contentSkip to conversation

lockdep: require framepointers for x86

PATCH In review Peter Zijlstra 2 participants 2 messages Mar 4, 2009 Library code

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 lockdep: require framepointers for x86

Subject: lockdep: require framepointers for x86
From: Peter Zijlstra <[email protected]>
Date: Wed Mar 04 12:27:27 CET 2009

Require framepointers for x86, because otherwise we'll be having empty stack traces, which is useless.

---
 lib/Kconfig.debug |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
lib/Kconfig.debug +1 -1
Index: linux-2.6/lib/Kconfig.debug
===================================================================
@@ -452,7 +452,7 @@ config LOCKDEP
 	bool
 	depends on DEBUG_KERNEL && TRACE_IRQFLAGS_SUPPORT && STACKTRACE_SUPPORT && LOCKDEP_SUPPORT
 	select STACKTRACE
-	select FRAME_POINTER if !X86 && !MIPS && !PPC
+	select FRAME_POINTER if !MIPS && !PPC
 	select KALLSYMS
 	select KALLSYMS_ALL
 
#1 lore raw
Commit-ID:  1075414b06109a99b0e87601e84c74a95bd45681
Gitweb:     http://git.kernel.org/tip/1075414b06109a99b0e87601e84c74a95bd45681
Author:     "Peter Zijlstra" <[email protected]>
AuthorDate: Wed, 4 Mar 2009 12:27:27 +0100
Commit:     Ingo Molnar <[email protected]>
CommitDate: Wed, 4 Mar 2009 18:39:23 +0100

lockdep: require framepointers for x86

Require framepointers for x86, because otherwise we'll be having empty stack traces, which is useless.

LKML-Reference: <1236167295.5330.7240.camel@laptop>

---
 lib/Kconfig.debug |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
lib/Kconfig.debug +1 -1
index 29044f5..9b4efb1 100644
@@ -402,7 +402,7 @@ config LOCKDEP
 	bool
 	depends on DEBUG_KERNEL && TRACE_IRQFLAGS_SUPPORT && STACKTRACE_SUPPORT && LOCKDEP_SUPPORT
 	select STACKTRACE
-	select FRAME_POINTER if !X86 && !MIPS && !PPC
+	select FRAME_POINTER if !MIPS && !PPC
 	select KALLSYMS
 	select KALLSYMS_ALL