:orphan: .. title:: CONFIG_OS_MGMT_TASKSTAT_STACK_INFO .. kconfig:: CONFIG_OS_MGMT_TASKSTAT_STACK_INFO CONFIG_OS_MGMT_TASKSTAT_STACK_INFO ################################## *Include stack info in taskstat responses* Type: ``bool`` Help ==== .. code-block:: none Enabling this option adds stack information into "taskstat" command responses, this is default when THREAD_STACK_INFO is selected. Disable this option only when your client application is able to process "taskstat" response without the "stksiz" and "stkuse" fields. It is worth disabling this option when THREAD_STACK_INFO is disabled, as it will prevent sending zeroed stack information just to fill all the fields in "taskstat" responses, and it will slightly reduce code size. Direct dependencies =================== \ :kconfig:`THREAD_STACK_INFO ` && \ :kconfig:`OS_MGMT_TASKSTAT ` && \ :kconfig:`MCUMGR_CMD_OS_MGMT ` && \ :kconfig:`MCUMGR ` *(Includes any dependencies from ifs and menus.)* Defaults ======== No defaults. Implicitly defaults to ``n``. Kconfig definition ================== At ``/mgmt/mcumgr/Kconfig:298`` Included via ``Kconfig:8`` → ``Kconfig.zephyr:44`` → ``/Kconfig:35`` → ``/mgmt/Kconfig:9`` Menu path: (Top) → Sub Systems and OS Services → Device Management → mcumgr Support → Command Handlers → Enable mcumgr handlers for OS management → Support for taskstat command .. code-block:: kconfig config OS_MGMT_TASKSTAT_STACK_INFO bool "Include stack info in taskstat responses" depends on THREAD_STACK_INFO && OS_MGMT_TASKSTAT && MCUMGR_CMD_OS_MGMT && MCUMGR help Enabling this option adds stack information into "taskstat" command responses, this is default when THREAD_STACK_INFO is selected. Disable this option only when your client application is able to process "taskstat" response without the "stksiz" and "stkuse" fields. It is worth disabling this option when THREAD_STACK_INFO is disabled, as it will prevent sending zeroed stack information just to fill all the fields in "taskstat" responses, and it will slightly reduce code size. *(The 'depends on' condition includes propagated dependencies from ifs and menus.)*