]> www.infradead.org Git - users/jedix/linux-maple.git/commitdiff
dtrace: require assembler symbol stripping and debug info
authorNick Alcock <nick.alcock@oracle.com>
Tue, 31 Jul 2012 17:35:57 +0000 (18:35 +0100)
committerNick Alcock <nick.alcock@oracle.com>
Mon, 29 Jun 2015 21:40:28 +0000 (22:40 +0100)
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 <nick.alcock@oracle.com>
kernel/dtrace/Kconfig

index 12a35d636f6314c60a3f909438e03361ea999c46..eb27ec4f9c9ee52c993756b119901aa972e402ef 100644 (file)
@@ -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.