From: Nick Alcock Date: Tue, 31 Jul 2012 17:35:57 +0000 (+0100) Subject: dtrace: require assembler symbol stripping and debug info X-Git-Tag: v4.1.12-92~313^2~133 X-Git-Url: https://www.infradead.org/git/?a=commitdiff_plain;h=b77f47a7198680db783ca4ecb5a66c15cf4b6e34;p=users%2Fjedix%2Flinux-maple.git 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 --- diff --git a/kernel/dtrace/Kconfig b/kernel/dtrace/Kconfig index 12a35d636f631..eb27ec4f9c9ee 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.