Kconfig 3.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117
  1. config MTPROF
  2. bool "Enable MTK profiler/debugger tool"
  3. help
  4. CONFIG_MTPROF define if mtk profiling tools should be built-in or not. It
  5. includes workqueue debugger, signal debugger, cputime, bootprof, and other
  6. misc tools. If you are not sure about whether to enable it or not, please
  7. set n.
  8. if MTPROF
  9. config MTK_LOCK_DEBUG
  10. bool "Support some MTK lock debug patches"
  11. default y
  12. help
  13. CONFIG_MTK_LOCK_DEBUG is used to catch db when spinlock spin more than 1s and to catch
  14. db when check lock fail,such as bug_header,circular_bug,deadlock_bug and so on
  15. Say Y here to enable, If you are not sure about whether to enable it or not, please
  16. set n.
  17. config MTPROF_CPUTIME
  18. bool "thread cputime profiling"
  19. depends on SCHEDSTATS
  20. help
  21. CONFIG_MTPROF_CPUTIME is used to measure process/irq execution time and export
  22. the information in /proc/mtprof/cputime. Say Y here to enable thread cputime
  23. profiling. If you are not sure about whether to enable it or not, please
  24. set n.
  25. config MTK_WQ_DEBUG
  26. bool "mtk workqueue debug"
  27. help
  28. CONFIG_MTK_WQ_DEBUG define if workqueue debugging should be built-in or not
  29. It will add logs to monitor work activation, queue, and execution. Say y to
  30. enable mtk workqueue debug, or if you are not sure about this, please
  31. set n
  32. config MT_SCHED_MONITOR
  33. bool "mt scheduler monitor"
  34. default n
  35. help
  36. MT_SCHED_MONITOR is used to monitor ISR/SOFTIRQ/TASKLET/HRTIMER/STIMER
  37. disable duration. Say Y here to enable ISR/SOFTIRQ/TASKLET/HRTIMER/STIMER
  38. monitor. If you are not sure about whether to enable it or not, please
  39. set n.
  40. config MT_SCHED_MON_DEFAULT_ENABLE
  41. bool "default enable mt scheduler monitor"
  42. depends on MT_SCHED_MONITOR
  43. default n
  44. help
  45. MT_SCHED_MON_DEFAULT_ENABLE is used to enable scheduler monitor for auto test
  46. system performance(ISR/SOFTIRQ/TASKLET/HRTIMER/STIMER). Say Y here to
  47. enable auto test scheduler monitor. If you are not sure about whether
  48. to enable it or not, please set n.
  49. config MT_RT_THROTTLE_MON
  50. bool "mt rt throttle monitor"
  51. default n
  52. help
  53. MT_RT_THROTTLE_MON is used to monitor rt throttle. When rt throttle activated
  54. print 5 longest execusion time rt tasks. Say Y here to enable rt throttle
  55. monitor. If you are not sure about whether to enable it or not, please set n.
  56. config PREEMPT_MONITOR
  57. bool "mt preempt monitor"
  58. default n
  59. help
  60. PREEMPT_MONITOR is used to monitor PREEMPT disable/enalbe and
  61. local_irq_disable/enable duration. Say Y here to enable PREEMPT and
  62. local_irq_disable/enable monitor.
  63. If you are not sure about whether to enable it or not, please set n.
  64. config PRINTK_PROCESS_INFO
  65. bool "Prefix pid/process_name to each kernel log"
  66. default y
  67. help
  68. PRINTK_PROCESS_INFO which is used to control whether to show
  69. process information about this log.
  70. the information about which cpu about this
  71. process in, and whether in isr.
  72. config MT_PRINTK_UART_CONSOLE
  73. bool "MTK printk UART controller"
  74. default y
  75. help
  76. MT_PRINTK_UART_CONSOLE which is used to control whether to
  77. control printk to uart console. when boot up finish
  78. uart console do not output printk log.
  79. also RD can set the setting by command.
  80. config LOG_TOO_MUCH_WARNING
  81. bool "printk too much warning"
  82. default y
  83. help
  84. LOG_TOO_MUCH_WARNING which is used to control whether to
  85. detect printk too much issue. kernel log too much will detect and
  86. create a exception when printk log large than
  87. LOG_TOO_MUCH_DETECT_COUNT in one second.
  88. config LOG_TOO_MUCH_DETECT_COUNT
  89. hex "printk too much detect count"
  90. default 0xC8
  91. depends on LOG_TOO_MUCH_WARNING
  92. config LOG_TOO_MUCH_DETECT_GAP
  93. hex "detect log too much delay time"
  94. default 10
  95. depends on LOG_TOO_MUCH_WARNING
  96. config MT_BOOT_TIME_CPU_BOOST
  97. bool "Boost CPU performance to enhance boot speed"
  98. default y
  99. help
  100. MT_BOOT_TIME_CPU_BOOST is to boost CPU performance to enhance boot
  101. speed and save time cost during system booting. This mechanism
  102. will recover DVFS/hotplug after system boot up done.
  103. endif