diff options
author | Gregory Nutt <gnutt@nuttx.org> | 2013-09-24 11:46:49 -0600 |
---|---|---|
committer | Gregory Nutt <gnutt@nuttx.org> | 2013-09-24 11:46:49 -0600 |
commit | d16b349b2e12500ca138f5b3371c87db96ca0a78 (patch) | |
tree | 83f55cd2a098c6da5003a611511dd9b1ca57f922 /apps/system/stackmonitor/Kconfig | |
parent | 5492db2e6255d74d4c7c7d517ca32eea0181ed72 (diff) | |
download | nuttx-d16b349b2e12500ca138f5b3371c87db96ca0a78.tar.gz nuttx-d16b349b2e12500ca138f5b3371c87db96ca0a78.tar.bz2 nuttx-d16b349b2e12500ca138f5b3371c87db96ca0a78.zip |
Add a stack monitoring daemon
Diffstat (limited to 'apps/system/stackmonitor/Kconfig')
-rw-r--r-- | apps/system/stackmonitor/Kconfig | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/apps/system/stackmonitor/Kconfig b/apps/system/stackmonitor/Kconfig new file mode 100644 index 000000000..9dc2be89b --- /dev/null +++ b/apps/system/stackmonitor/Kconfig @@ -0,0 +1,39 @@ +# +# For a description of the syntax of this configuration file, +# see misc/tools/kconfig-language.txt. +# + +config SYSTEM_STACKMONITOR + bool "Stack monitor" + default n + depends on DEBUG_STACK && !KERNEL_BUILD + ---help--- + If the stack debug feature is enabled (DEBUG_STACK) this option will + select the Stack Moitor. The stack monitor is a daemon that will + periodically assess stack usage by all tasks and threads in the + system. This feature depends on internal OS features and, hence, is + not available if the NuttX kernel build is selected. + +if SYSTEM_STACKMONITOR + +config SYSTEM_STACKMONITOR_STACKSIZE + int "Stack monitor daemon stack size" + default 2048 + ---help--- + The stack size to use the the stack monitor daemon. Default: 2048 + +config SYSTEM_STACKMONITOR_PRIORITY + int "Stack monitor daemon priority" + default 50 + ---help--- + The priority to use the the stack monitor daemon. Default: 50 + +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. + +endif + |