Kconfig.debug 2.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283
  1. #
  2. # RCU-related debugging configuration options
  3. #
  4. menu "RCU Debugging"
  5. config PROVE_RCU
  6. def_bool PROVE_LOCKING
  7. config TORTURE_TEST
  8. tristate
  9. default n
  10. config RCU_PERF_TEST
  11. tristate "performance tests for RCU"
  12. depends on DEBUG_KERNEL
  13. select TORTURE_TEST
  14. select SRCU
  15. select TASKS_RCU
  16. default n
  17. help
  18. This option provides a kernel module that runs performance
  19. tests on the RCU infrastructure. The kernel module may be built
  20. after the fact on the running kernel to be tested, if desired.
  21. Say Y here if you want RCU performance tests to be built into
  22. the kernel.
  23. Say M if you want the RCU performance tests to build as a module.
  24. Say N if you are unsure.
  25. config RCU_TORTURE_TEST
  26. tristate "torture tests for RCU"
  27. depends on DEBUG_KERNEL
  28. select TORTURE_TEST
  29. select SRCU
  30. select TASKS_RCU
  31. default n
  32. help
  33. This option provides a kernel module that runs torture tests
  34. on the RCU infrastructure. The kernel module may be built
  35. after the fact on the running kernel to be tested, if desired.
  36. Say Y here if you want RCU torture tests to be built into
  37. the kernel.
  38. Say M if you want the RCU torture tests to build as a module.
  39. Say N if you are unsure.
  40. config RCU_CPU_STALL_TIMEOUT
  41. int "RCU CPU stall timeout in seconds"
  42. depends on RCU_STALL_COMMON
  43. range 3 300
  44. default 21
  45. help
  46. If a given RCU grace period extends more than the specified
  47. number of seconds, a CPU stall warning is printed. If the
  48. RCU grace period persists, additional CPU stall warnings are
  49. printed at more widely spaced intervals.
  50. config RCU_TRACE
  51. bool "Enable tracing for RCU"
  52. depends on DEBUG_KERNEL
  53. default y if TREE_RCU
  54. select TRACE_CLOCK
  55. help
  56. This option enables additional tracepoints for ftrace-style
  57. event tracing.
  58. Say Y here if you want to enable RCU tracing
  59. Say N if you are unsure.
  60. config RCU_EQS_DEBUG
  61. bool "Provide debugging asserts for adding NO_HZ support to an arch"
  62. depends on DEBUG_KERNEL
  63. help
  64. This option provides consistency checks in RCU's handling of
  65. NO_HZ. These checks have proven quite helpful in detecting
  66. bugs in arch-specific NO_HZ code.
  67. Say N here if you need ultimate kernel/user switch latencies
  68. Say Y if you are unsure
  69. endmenu # "RCU Debugging"