* [PATCH] arm: omap2plus_defconfig: enable SPLIT and DWARF4
@ 2016-01-11 21:26 Felipe Balbi
2016-01-11 23:34 ` Tony Lindgren
0 siblings, 1 reply; 3+ messages in thread
From: Felipe Balbi @ 2016-01-11 21:26 UTC (permalink / raw)
To: linux-arm-kernel
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.
Signed-off-by: Felipe Balbi <balbi@ti.com>
---
arch/arm/configs/omap2plus_defconfig | 2 ++
1 file changed, 2 insertions(+)
diff --git a/arch/arm/configs/omap2plus_defconfig b/arch/arm/configs/omap2plus_defconfig
index c5e1943e5427..0b3e471a4262 100644
--- a/arch/arm/configs/omap2plus_defconfig
+++ b/arch/arm/configs/omap2plus_defconfig
@@ -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
--
2.7.0
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [PATCH] arm: omap2plus_defconfig: enable SPLIT and DWARF4
2016-01-11 21:26 [PATCH] arm: omap2plus_defconfig: enable SPLIT and DWARF4 Felipe Balbi
@ 2016-01-11 23:34 ` Tony Lindgren
2016-01-12 16:52 ` Felipe Balbi
0 siblings, 1 reply; 3+ messages in thread
From: Tony Lindgren @ 2016-01-11 23:34 UTC (permalink / raw)
To: linux-arm-kernel
* Felipe Balbi <balbi@ti.com> [160111 13:26]:
> 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
^ permalink raw reply [flat|nested] 3+ messages in thread
* [PATCH] arm: omap2plus_defconfig: enable SPLIT and DWARF4
2016-01-11 23:34 ` Tony Lindgren
@ 2016-01-12 16:52 ` Felipe Balbi
0 siblings, 0 replies; 3+ messages in thread
From: Felipe Balbi @ 2016-01-12 16:52 UTC (permalink / raw)
To: linux-arm-kernel
Hi,
Tony Lindgren <tony@atomide.com> writes:
> * Felipe Balbi <balbi@ti.com> [160111 13:26]:
>> 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 :)
That's nice, let's just hope nobody has issues with this patch.
cheers
--
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>
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2016-01-12 16:52 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-01-11 21:26 [PATCH] arm: omap2plus_defconfig: enable SPLIT and DWARF4 Felipe Balbi
2016-01-11 23:34 ` Tony Lindgren
2016-01-12 16:52 ` Felipe Balbi
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).