Show Your Support: Have you heard of Phoronix Premium? It's what complements advertisements on this site for our premium ad-free service. For less than $4 USD per month, you can help support our site while the funds generated allow us to keep doing Linux hardware reviews, performance benchmarking, maintain our community forums, and much more.
Linux 5.19 Adding New Option For Easily Configuring An x86_64 Debug Kernel
Back in Linux 5.17 was the generic effort to easily build a kernel with various debug features while for Linux 5.19 is the Intel-led contribution focused on more x86_64-minded debug features. The earlier addition was debug.config while for Linux 5.19 the new set of options is enabled under x86_debug.config.
Intel's Dave Hansen explained of the motivation with the new Linux x86_debug.config:
The kernel has a wide variety of debugging options to help catch and squash bugs. However, new debugging is added all the time and the existing options can be hard to find.
Add a Kconfig fragment with the debugging options which tip maintainers expect to be used to test contributions.
This should make it easier for contributors to test their code and find issues before submission.
At the moment what x86_debug.config enables over a default Linux kernel build includes:
This new debug option was sent in today as part of the x86 build updates for Linux 5.19. Also included with that pull is a GCC 12 build warnings fix in the x86 boot code.