]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
lockdep: Select frame pointers on x86
authorPeter Zijlstra <a.p.zijlstra@chello.nl>
Fri, 12 Jun 2009 08:04:01 +0000 (10:04 +0200)
committerGreg Kroah-Hartman <gregkh@suse.de>
Thu, 2 Jul 2009 23:50:06 +0000 (16:50 -0700)
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

index 6cdcf38f2da9b4e4b491d15a5a6b7422b983f98b..3be4b7caf5b8c2ceb29f0aee2150db70cb9b892c 100644 (file)
@@ -440,7 +440,7 @@ config LOCKDEP
        bool
        depends on DEBUG_KERNEL && TRACE_IRQFLAGS_SUPPORT && STACKTRACE_SUPPORT && LOCKDEP_SUPPORT
        select STACKTRACE
-       select FRAME_POINTER if !X86 && !MIPS && !PPC && !ARM_UNWIND && !S390
+       select FRAME_POINTER if !MIPS && !PPC && !ARM_UNWIND && !S390
        select KALLSYMS
        select KALLSYMS_ALL