From b77f47a7198680db783ca4ecb5a66c15cf4b6e34 Mon Sep 17 00:00:00 2001 From: Nick Alcock Date: Tue, 31 Jul 2012 18:35:57 +0100 Subject: [PATCH] dtrace: require assembler symbol stripping and debug info The former is needed because dt_module.c doesn't know how to ignore assembler labels when reading module symbol data: the latter because dwarf2ctf reads the types out of debug info. Use select rather than require because both of these requirements are distinctly non-obvious and we don't want to force people to hunt about for them. Signed-off-by: Nick Alcock --- kernel/dtrace/Kconfig | 2 ++ 1 file changed, 2 insertions(+) diff --git a/kernel/dtrace/Kconfig b/kernel/dtrace/Kconfig index 12a35d636f63..eb27ec4f9c9e 100644 --- a/kernel/dtrace/Kconfig +++ b/kernel/dtrace/Kconfig @@ -8,6 +8,8 @@ menuconfig DTRACE default y depends on X86_64 && !DEBUG_LOCK_ALLOC select KALLSYMS + select STRIP_ASM_SYMS if (!DT_DISABLE_CTF) + select DEBUG_INFO if (!DT_DISABLE_CTF) help To be written. -- 2.50.1