]> www.infradead.org Git - users/jedix/linux-maple.git/commitdiff
ctf: Prohibit a bunch of debug info options we don't support.
authorNick Alcock <nick.alcock@oracle.com>
Fri, 12 Dec 2014 18:45:37 +0000 (18:45 +0000)
committerNick Alcock <nick.alcock@oracle.com>
Tue, 21 Jul 2015 14:29:51 +0000 (15:29 +0100)
CONFIG_DEBUG_INFO_DWARF4 and CONFIG_DEBUG_INFO_SPLIT will require significant
changes to dwarf2ctf, but will eventually be supported.

CONFIG_DEBUG_INFO_REDUCED fundamentally breaks the type deduplicator and will
never be supported.

Unfortunately this forces us to change the DEBUG_INFO select to a depends,
so you have to remember to turn CONFIG_DEBUG_INFO on or half of dtrace won't
work.

Orabug: 20456825

Signed-off-by: Nick Alcock <nick.alcock@oracle.com>
Acked-by: Kris Van Hees <kris.van.hees@oracle.com>
kernel/ctf/Kconfig
kernel/dtrace/Kconfig

index 8bbad30772af65e883aba737d72fdd11c4f01a97..571e26c51b9687518273771c6232aad334f89b6b 100644 (file)
@@ -1,6 +1,8 @@
 config CTF
        bool "Compact Type Format generation"
        default n
+       select STRIP_ASM_SYMS
+       depends on DEBUG_INFO && !DEBUG_INFO_REDUCED && !DEBUG_INFO_SPLIT && !DEBUG_INFO_DWARF4
        help
          Emit a compact, compressed description of the kernel's datatypes and
          global variables into .ctf sections in kernel modules.  A module
index e2c3f7bd44c4cbb236123a1d570cc4a29df20017..80aadd503d4a502631548b2ebac12c70adfb0e4f 100644 (file)
@@ -11,8 +11,6 @@ menuconfig DTRACE
        select KALLSYMS
        select WAITFD
        select CTF if (!DT_DISABLE_CTF)
-       select STRIP_ASM_SYMS if (!DT_DISABLE_CTF)
-       select DEBUG_INFO if (!DT_DISABLE_CTF)
        help
          To be written.