mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-17 09:14:19 +08:00
45 lines
1.3 KiB
Plaintext
45 lines
1.3 KiB
Plaintext
|
menu "Kernel hacking"
|
||
|
|
||
|
source "lib/Kconfig.debug"
|
||
|
|
||
|
config EARLY_PRINTK
|
||
|
bool "Early SCIF console support"
|
||
|
|
||
|
config DEBUG_KERNEL_WITH_GDB_STUB
|
||
|
bool "GDB Stub kernel debug"
|
||
|
|
||
|
config SH64_PROC_TLB
|
||
|
bool "Debug: report TLB fill/purge activity through /proc/tlb"
|
||
|
depends on PROC_FS
|
||
|
|
||
|
config SH64_PROC_ASIDS
|
||
|
bool "Debug: report ASIDs through /proc/asids"
|
||
|
depends on PROC_FS
|
||
|
|
||
|
config SH64_SR_WATCH
|
||
|
bool "Debug: set SR.WATCH to enable hardware watchpoints and trace"
|
||
|
|
||
|
config POOR_MANS_STRACE
|
||
|
bool "Debug: enable rudimentary strace facility"
|
||
|
help
|
||
|
This option allows system calls to be traced to the console. It also
|
||
|
aids in detecting kernel stack underflow. It is useful for debugging
|
||
|
early-userland problems (e.g. init incurring fatal exceptions.)
|
||
|
|
||
|
config SH_ALPHANUMERIC
|
||
|
bool "Enable debug outputs to on-board alphanumeric display"
|
||
|
|
||
|
config SH_NO_BSS_INIT
|
||
|
bool "Avoid zeroing BSS (to speed-up startup on suitable platforms)"
|
||
|
|
||
|
config FRAME_POINTER
|
||
|
bool "Compile the kernel with frame pointers"
|
||
|
default y if KGDB
|
||
|
help
|
||
|
If you say Y here the resulting kernel image will be slightly larger
|
||
|
and slower, but it will give very useful debugging information.
|
||
|
If you don't debug the kernel, you can say N, but we may not be able
|
||
|
to solve problems without frame pointers.
|
||
|
|
||
|
endmenu
|