Skip to contentSkip to conversation

arm: omap2plus_defconfig: enable SPLIT and DWARF4

PATCH New Felipe Balbi 2 participants 3 messages Jan 11, 2016 – Jan 12, 2016

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 arm: omap2plus_defconfig: enable SPLIT and DWARF4

CONFIG_DEBUG_INFO_SPLIT will split debug info on .dwo files. This will generate a smaller vmlinux and smaller .ko modules, which will be easier to ship on certain products.

CONFIG_DEBUG_INFO_DWARF4 will generate debug info in DWARF4 format, which ends up being larger, but improves the probability of resolving variables in optmized code.

---
 arch/arm/configs/omap2plus_defconfig | 2 ++
 1 file changed, 2 insertions(+)
arch/arm/configs/omap2plus_defconfig +2 -0
index c5e1943e5427..0b3e471a4262 100644
@@ -449,6 +449,8 @@ CONFIG_NLS_CODEPAGE_437=y
 CONFIG_NLS_ISO8859_1=y
 CONFIG_PRINTK_TIME=y
 CONFIG_DEBUG_INFO=y
+CONFIG_DEBUG_INFO_SPLIT=y
+CONFIG_DEBUG_INFO_DWARF4=y
 CONFIG_MAGIC_SYSRQ=y
 CONFIG_SCHEDSTATS=y
 CONFIG_TIMER_STATS=y
Signature · 1 line
2.7.0
maintainer
#1 lore raw

PATCH 1/1 arm: omap2plus_defconfig: enable SPLIT and DWARF4

Quoted 9 lines · Felipe Balbi

CONFIG_DEBUG_INFO_SPLIT will split debug info on .dwo files. This will generate a smaller vmlinux and smaller .ko modules, which will be easier to ship on certain products.

CONFIG_DEBUG_INFO_DWARF4 will generate debug info in DWARF4 format, which ends up being larger, but improves the probability of resolving variables in optmized code.

Nice, this makes my initramfs go down from about 17MB to 4.7 MB :)

Regards,

Tony

#2 lore raw

PATCH 1/1 arm: omap2plus_defconfig: enable SPLIT and DWARF4

Hi,

Quoted 6 lines · Tony Lindgren
Quoted 5 lines · Felipe Balbi

CONFIG_DEBUG_INFO_SPLIT will split debug info on .dwo files. This will generate a smaller vmlinux and smaller .ko modules, which will be easier to ship on certain products.

Quoted 7 lines
Quoted 4 lines

CONFIG_DEBUG_INFO_DWARF4 will generate debug info in DWARF4 format, which ends up being larger, but improves the probability of resolving variables in optmized code.

Nice, this makes my initramfs go down from about 17MB to 4.7 MB :)

That's nice, let's just hope nobody has issues with this patch.

cheers

Signature · 8 lines
balbi
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 818 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20160112/9e4b631d/attachment.sig>