Linus Torvalds writes: (Summary)
So can I ask that you make the 0day build scripts always use
So can I ask that you make the 0day build scripts always use
CONFIG_DEBUG_INFO=y
CONFIG_DEBUG_INFO_REDUCED=y
# CONFIG_DEBUG_INFO_SPLIT is not set
# CONFIG_DEBUG_INFO_SPLIT is not set
because with that "DEBUG_INFO_REDUCED=y", the use of DEBUG_INFO_SPLIT shouldn't be _that_ big of a deal.
shouldn't be _that_ big of a deal.
Yes, splitting the debug info does help reduce disk usage for the build, and presumably speed it up a bit too due to less IO and reduced copying of the debug info data, but right now it really makes the debug info much less useful.
debug info much less useful.
Just to see the difference:
Just to see the difference:
- with DEBUG_INFO_SPLIT=y
- with DEBUG_INFO_SPLIT=y
[torvalds@i7 linux]$ ./scripts/faddr2line vmlinux __schedule+0x314 __schedule+0x314/0x840:
__schedule at kernel/sched/stats.h:12
__schedule at kernel/sched/stats.h:12
-
CONFIG_DEBUG_INFO_REDUCED=y
# CONFIG_DEBUG_INFO_SPLIT is not set
# CONFIG_DEBUG_INFO_SPLIT is not set
because with that "DEBUG_INFO_REDUCED=y", the use of DEBUG_INFO_SPLIT shouldn't be _that_ big of a deal.
shouldn't be _that_ big of a deal.
Yes, splitting the debug info does help reduce disk usage for the build, and presumably speed it up a bit too due to less IO and reduced copying of the debug info data, but right now it really makes the debug info much less useful.
debug info much less useful.
Just to see the difference:
Just to see the difference:
- with DEBUG_INFO_SPLIT=y
- with DEBUG_INFO_SPLIT=y
[torvalds@i7 linux]$ ./scripts/faddr2line vmlinux __schedule+0x314 __schedule+0x314/0x840:
__schedule at kernel/sched/stats.h:12
__schedule at kernel/sched/stats.h:12
-