Linux debuggers
 help / color / mirror / Atom feed
* [PATCH v2 0/1] Introduce CONFIG_DEBUG_INFO_IKCONFIG
@ 2023-10-25 22:36 Stephen Brennan
  2023-10-25 22:36 ` [PATCH v2 1/1] kernel/config: " Stephen Brennan
  0 siblings, 1 reply; 4+ messages in thread
From: Stephen Brennan @ 2023-10-25 22:36 UTC (permalink / raw)
  To: Arnd Bergmann
  Cc: Randy Dunlap, Stephen Brennan, linux-arch, linux-kernel,
	linux-debuggers

Hello All,

This is an updated submission of the patch to add an alternative for
CONFIG_IKCONFIG. I wanted to bring it up again for consideration, and I also
made one small but important update.

v1: https://lore.kernel.org/linux-debuggers/20231004165804.659482-1-stephen.s.brennan@oracle.com/T/#t

Changes since v1:

* I added "default y if IKCONFIG!=y". The result is that whenever DEBUG_INFO=y
  is enabled, and IKCONFIG is not built-in, then DEBUG_INFO_IKCONFIG will get
  enabled automatically. The whole point of this patch is for kernel debuggers
  to be able to rely on having kernel configuration information. The IKCONFIG
  data is quite small compared to kernel debuginfo, and it doesn't change
  anything at runtime. It's safe to enable this automatically, and it's
  important so that distributions (who create debuginfo explicitly to allow
  kernel debugging) will automatically begin creating this info for debuggers.

* Randy Dunlap did review this, but I didn't apply that tag with the update,
  since I understand changing defaults is a major update, and it's a small patch
  to begin with, so I didn't want to misrepresent the review.

Stephen Brennan (1):
  kernel/config: Introduce CONFIG_DEBUG_INFO_IKCONFIG

 include/asm-generic/vmlinux.lds.h |  3 ++-
 kernel/Makefile                   |  1 +
 kernel/configs-debug.S            | 18 ++++++++++++++++++
 lib/Kconfig.debug                 | 15 +++++++++++++++
 4 files changed, 36 insertions(+), 1 deletion(-)
 create mode 100644 kernel/configs-debug.S

-- 
2.39.3


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2023-10-26 22:52 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-10-25 22:36 [PATCH v2 0/1] Introduce CONFIG_DEBUG_INFO_IKCONFIG Stephen Brennan
2023-10-25 22:36 ` [PATCH v2 1/1] kernel/config: " Stephen Brennan
2023-10-26 15:02   ` Petr Tesařík
2023-10-26 22:52   ` kernel test robot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox