| From 00540e5d54be972a94a3b2ce6da8621bebe731a2 Mon Sep 17 00:00:00 2001 |
| From: Peter Zijlstra <a.p.zijlstra@chello.nl> |
| Date: Fri, 12 Jun 2009 10:04:01 +0200 |
| Subject: lockdep: Select frame pointers on x86 |
| |
| From: Peter Zijlstra <a.p.zijlstra@chello.nl> |
| |
| commit 00540e5d54be972a94a3b2ce6da8621bebe731a2 upstream. |
| |
| x86 stack traces are a piece of crap without frame pointers, and its not |
| like the 'performance gain' of not having stack pointers matters when you |
| selected lockdep. |
| |
| Reported-by: Andrew Morton <akpm@linux-foundation.org> |
| LKML-Reference: <new-submission> |
| Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl> |
| Signed-off-by: Ingo Molnar <mingo@elte.hu> |
| Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de> |
| |
| --- |
| lib/Kconfig.debug | 2 +- |
| 1 file changed, 1 insertion(+), 1 deletion(-) |
| |
| --- a/lib/Kconfig.debug |
| +++ b/lib/Kconfig.debug |
| @@ -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 |
| |