[patch, -rc5-mm1] lock validator: select KALLSYMS_ALL
From: Ingo Molnar
Date: Tue May 30 2006 - 16:53:37 EST
* Arjan van de Ven <arjan@xxxxxxxxxxxxx> wrote:
> the reporter doesn't have CONFIG_KALLSYMS_ALL enabled which gives
> sometimes misleading backtraces (should lockdep just enable
> KALLSYMS_ALL to get more useful bugreports?)
agreed - the patch below does that.
-----------------------
Subject: lock validator: select KALLSYMS_ALL
From: Ingo Molnar <mingo@xxxxxxx>
all the kernel symbol printouts make alot more sense if KALLSYMS_ALL
is enabled too - force it on if lockdep is enabled.
Signed-off-by: Ingo Molnar <mingo@xxxxxxx>
---
lib/Kconfig.debug | 1 +
1 file changed, 1 insertion(+)
Index: linux/lib/Kconfig.debug
===================================================================
--- linux.orig/lib/Kconfig.debug
+++ linux/lib/Kconfig.debug
@@ -342,6 +342,7 @@ config LOCKDEP
default y
select FRAME_POINTER
select KALLSYMS
+ select KALLSYMS_ALL
depends on PROVE_SPIN_LOCKING || PROVE_RW_LOCKING || PROVE_MUTEX_LOCKING || PROVE_RWSEM_LOCKING
config DEBUG_LOCKDEP
-
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/