Kconfig.debug 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  1. menu "Kernel hacking"
  2. source "lib/Kconfig.debug"
  3. config FRAME_POINTER
  4. bool
  5. default y
  6. config STRICT_DEVMEM
  7. bool "Filter access to /dev/mem"
  8. depends on MMU
  9. help
  10. If this option is disabled, you allow userspace (root) access to all
  11. of memory, including kernel and userspace memory. Accidental
  12. access to this is obviously disastrous, but specific access can
  13. be used by people debugging the kernel.
  14. If this option is switched on, the /dev/mem file only allows
  15. userspace access to memory mapped peripherals.
  16. If in doubt, say Y.
  17. config EARLY_PRINTK
  18. bool "Early printk support"
  19. default y
  20. help
  21. Say Y here if you want to have an early console using the
  22. earlyprintk=<name>[,<addr>][,<options>] kernel parameter. It
  23. is assumed that the early console device has been initialised
  24. by the boot loader prior to starting the Linux kernel.
  25. config PID_IN_CONTEXTIDR
  26. bool "Write the current PID to the CONTEXTIDR register"
  27. help
  28. Enabling this option causes the kernel to write the current PID to
  29. the CONTEXTIDR register, at the expense of some additional
  30. instructions during context switch. Say Y here only if you are
  31. planning to use hardware trace tools with this kernel.
  32. endmenu