Kconfig.debug (51c0a0c63fd0cf1953086cd6ec7d6f068418441a) Kconfig.debug (5f9ae91f7c0dbbc4195e2a6c8eedcaeb5b9e4cbb)
1# SPDX-License-Identifier: GPL-2.0-only
2menu "Kernel hacking"
3
4menu "printk and dmesg options"
5
6config PRINTK_TIME
7 bool "Show timing information on printks"
8 depends on PRINTK

--- 260 unchanged lines hidden (view full) ---

269 bool "Generate BTF typeinfo"
270 depends on !DEBUG_INFO_SPLIT && !DEBUG_INFO_REDUCED
271 depends on !GCC_PLUGIN_RANDSTRUCT || COMPILE_TEST
272 help
273 Generate deduplicated BTF type information from DWARF debug info.
274 Turning this on expects presence of pahole tool, which will convert
275 DWARF type info into equivalent deduplicated BTF type info.
276
1# SPDX-License-Identifier: GPL-2.0-only
2menu "Kernel hacking"
3
4menu "printk and dmesg options"
5
6config PRINTK_TIME
7 bool "Show timing information on printks"
8 depends on PRINTK

--- 260 unchanged lines hidden (view full) ---

269 bool "Generate BTF typeinfo"
270 depends on !DEBUG_INFO_SPLIT && !DEBUG_INFO_REDUCED
271 depends on !GCC_PLUGIN_RANDSTRUCT || COMPILE_TEST
272 help
273 Generate deduplicated BTF type information from DWARF debug info.
274 Turning this on expects presence of pahole tool, which will convert
275 DWARF type info into equivalent deduplicated BTF type info.
276
277config PAHOLE_HAS_SPLIT_BTF
278 def_bool $(success, test `$(PAHOLE) --version | sed -E 's/v([0-9]+)\.([0-9]+)/\1\2/'` -ge "119")
279
280config DEBUG_INFO_BTF_MODULES
281 def_bool y
282 depends on DEBUG_INFO_BTF && MODULES && PAHOLE_HAS_SPLIT_BTF
283 help
284 Generate compact split BTF type information for kernel modules.
285
277config GDB_SCRIPTS
278 bool "Provide GDB scripts for kernel debugging"
279 help
280 This creates the required links to GDB helper scripts in the
281 build directory. If you load vmlinux into gdb, the helper
282 scripts will be automatically imported by gdb as well, and
283 additional functions are available to analyze a Linux kernel
284 instance. See Documentation/dev-tools/gdb-kernel-debugging.rst

--- 2156 unchanged lines hidden (view full) ---

2441 bool "Microsoft Hyper-V driver testing"
2442 default n
2443 depends on HYPERV && DEBUG_FS
2444 help
2445 Select this option to enable Hyper-V vmbus testing.
2446
2447endmenu # "Kernel Testing and Coverage"
2448
286config GDB_SCRIPTS
287 bool "Provide GDB scripts for kernel debugging"
288 help
289 This creates the required links to GDB helper scripts in the
290 build directory. If you load vmlinux into gdb, the helper
291 scripts will be automatically imported by gdb as well, and
292 additional functions are available to analyze a Linux kernel
293 instance. See Documentation/dev-tools/gdb-kernel-debugging.rst

--- 2156 unchanged lines hidden (view full) ---

2450 bool "Microsoft Hyper-V driver testing"
2451 default n
2452 depends on HYPERV && DEBUG_FS
2453 help
2454 Select this option to enable Hyper-V vmbus testing.
2455
2456endmenu # "Kernel Testing and Coverage"
2457
2449source "Documentation/Kconfig"
2450
2451endmenu # Kernel hacking
2458endmenu # Kernel hacking