2013-09-24 19:46:49 +02:00
|
|
|
#
|
|
|
|
# For a description of the syntax of this configuration file,
|
2015-06-28 16:14:53 +02:00
|
|
|
# see the file kconfig-language.txt in the NuttX tools repository.
|
2013-09-24 19:46:49 +02:00
|
|
|
#
|
|
|
|
|
2015-04-07 21:23:39 +02:00
|
|
|
menuconfig SYSTEM_STACKMONITOR
|
2018-09-03 17:29:56 +02:00
|
|
|
tristate "Stack Monitor"
|
2013-09-24 19:46:49 +02:00
|
|
|
default n
|
2019-10-06 14:14:39 +02:00
|
|
|
depends on FS_PROCFS && !FS_PROCFS_EXCLUDE_PROCESS && STACK_COLORATION
|
2013-09-24 19:46:49 +02:00
|
|
|
---help---
|
2015-03-05 13:41:14 +01:00
|
|
|
If the stack coloration feature is enabled (STACK_COLORATION) this
|
|
|
|
option will select the Stack Monitor. The stack monitor is a daemon
|
2015-01-24 14:17:56 +01:00
|
|
|
that will periodically assess stack usage by all tasks and threads
|
2018-01-20 20:04:28 +01:00
|
|
|
in the system.
|
2013-09-24 19:46:49 +02:00
|
|
|
|
|
|
|
if SYSTEM_STACKMONITOR
|
|
|
|
|
|
|
|
config SYSTEM_STACKMONITOR_STACKSIZE
|
|
|
|
int "Stack monitor daemon stack size"
|
2020-03-27 06:10:33 +01:00
|
|
|
default DEFAULT_TASK_STACKSIZE
|
2013-09-24 19:46:49 +02:00
|
|
|
---help---
|
2017-05-11 21:40:03 +02:00
|
|
|
The stack size to use the stack monitor daemon. Default: 2048
|
2013-09-24 19:46:49 +02:00
|
|
|
|
|
|
|
config SYSTEM_STACKMONITOR_PRIORITY
|
|
|
|
int "Stack monitor daemon priority"
|
|
|
|
default 50
|
|
|
|
---help---
|
2017-05-11 21:40:03 +02:00
|
|
|
The priority to use the stack monitor daemon. Default: 50
|
2013-09-24 19:46:49 +02:00
|
|
|
|
|
|
|
config SYSTEM_STACKMONITOR_INTERVAL
|
|
|
|
int "Stack monitor dump frequency"
|
|
|
|
default 2
|
|
|
|
---help---
|
|
|
|
The rate in seconds that the stack monitor will wait before dumping
|
|
|
|
the next set stack usage information. Default: 2 seconds.
|
|
|
|
|
2018-01-20 20:04:28 +01:00
|
|
|
config SYSTEM_STACKMONITOR_MOUNTPOINT
|
|
|
|
string "procfs mountpoint"
|
|
|
|
default "/proc"
|
|
|
|
|
2013-09-24 19:46:49 +02:00
|
|
|
endif
|