CONFIG_DEBUG_INFO Impact Analysis
Build Size Comparison
Runtime Impact
Tools That Benefit from DEBUG_INFO
Crash Analysis Tools
Profiling Tools
Example: perf with DEBUG_INFO
# Without DEBUG_INFO - only addresses
$ perf report
# Overhead Command Symbol
45.23% my_app [kernel] [k] 0xffffffff81234567
12.34% my_app [kernel] [k] 0xffffffff82345678
# With DEBUG_INFO - function names and source info
$ perf report
# Overhead Command Symbol
45.23% my_app [kernel] [k] my_driver_interrupt my_driver.c:234
12.34% my_app [kernel] [k] kmalloc slab.c:3456
When to Enable DEBUG_INFO
✅ Enable When:
❌ Don't Enable When:
Suboptions of DEBUG_INFO
Software Engineer at Cisco
6donly increase ~40MB (508M - 470M) for my bzImage.
Embedded devices HW/SW design, M2M/IoT , edge ML
2moyou can always deploy a production artifact and store a checked build with symbols just in case :)