[PATCH] lockdep: require framepointers for x86

From: Peter Zijlstra
Date: Wed Mar 04 2009 - 06:48:34 EST


Subject: lockdep: require framepointers for x86
From: Peter Zijlstra <a.p.zijlstra@xxxxxxxxx>
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.

Signed-off-by: Peter Zijlstra <a.p.zijlstra@xxxxxxxxx>
---
lib/Kconfig.debug | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

Index: linux-2.6/lib/Kconfig.debug
===================================================================
--- linux-2.6.orig/lib/Kconfig.debug
+++ 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



--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/