2018-11-24 20:35:53 +01:00
|
|
|
#
|
|
|
|
# For a description of the syntax of this configuration file,
|
|
|
|
# see the file kconfig-language.txt in the NuttX tools repository.
|
|
|
|
#
|
|
|
|
|
|
|
|
menuconfig SYSTEM_CRITMONITOR
|
|
|
|
tristate "Critcal Section Monitor"
|
|
|
|
default n
|
|
|
|
depends on FS_PROCFS && !_FS_PROCFS_EXCLUDE_PROCESS && SCHED_CRITMONITOR
|
|
|
|
---help---
|
|
|
|
If the critical section monitor is enabled (CONFIGSCHED_CRITMONITOR)
|
|
|
|
this option will enable a critical section monitor daemon. This daemon
|
|
|
|
that will periodically assess usage of critical sections by all tasks
|
|
|
|
and threads in the system.
|
|
|
|
|
|
|
|
if SYSTEM_CRITMONITOR
|
|
|
|
|
|
|
|
config SYSTEM_CRITMONITOR_STACKSIZE
|
2018-11-25 00:56:23 +01:00
|
|
|
int "Critical section monitor stop/stop stack size"
|
2018-11-24 20:35:53 +01:00
|
|
|
default 2048
|
|
|
|
---help---
|
2018-11-25 00:56:23 +01:00
|
|
|
The stack size to use the critmon_start/critmon_stop task. Default: 2048
|
2018-11-24 20:35:53 +01:00
|
|
|
|
|
|
|
config SYSTEM_CRITMONITOR_PRIORITY
|
2018-11-25 00:56:23 +01:00
|
|
|
int "Critical section monitor stop/stop priority"
|
|
|
|
default 100
|
|
|
|
---help---
|
|
|
|
The priority to use the critmon_start/critmon_stop task. Default: 100
|
|
|
|
|
|
|
|
config SYSTEM_CRITMONITOR_DAEMON_STACKSIZE
|
|
|
|
int "Critical section monitor daemon stack size"
|
|
|
|
default 2048
|
|
|
|
---help---
|
|
|
|
The stack size to use the critical section monitor daemon. Default: 2048
|
|
|
|
|
|
|
|
config SYSTEM_CRITMONITOR_DAEMON_PRIORITY
|
|
|
|
int "Critical section monitor daemon priority"
|
2018-11-24 20:35:53 +01:00
|
|
|
default 50
|
|
|
|
---help---
|
|
|
|
The priority to use the stack monitor daemon. Default: 50
|
|
|
|
|
|
|
|
config SYSTEM_CRITMONITOR_INTERVAL
|
2018-11-25 00:56:23 +01:00
|
|
|
int "Critical section monitor dump frequency"
|
2018-11-24 20:35:53 +01:00
|
|
|
default 2
|
|
|
|
---help---
|
2018-11-25 00:56:23 +01:00
|
|
|
The rate in seconds that the Critical section monitor will wait before
|
|
|
|
dumping the next set Critical section information. Default: 2 seconds.
|
2018-11-24 20:35:53 +01:00
|
|
|
|
|
|
|
config SYSTEM_CRITMONITOR_MOUNTPOINT
|
|
|
|
string "procfs mountpoint"
|
|
|
|
default "/proc"
|
|
|
|
|
|
|
|
endif
|
|
|
|
|