CONFIG_OS_MGMT_TASKSTAT_ONLY_SUPPORTED_STATS
Send only data gathered by Zephyr
Type: bool
Help
Response will not include fields the Zephyr does not collect statistic for.
Enable this if your client software is able to process "taskstat" response
that would be missing "runtime", "cswcnt", "last_checkin" and "next_checkin"
map entries for each listed task.
Enabling this option will slightly reduce code size.
Direct dependencies
OS_MGMT_TASKSTAT
&& MCUMGR_CMD_OS_MGMT
&& MCUMGR
(Includes any dependencies from ifs and menus.)
Default
y
Kconfig definition
At <Zephyr>/subsys/mgmt/mcumgr/Kconfig:244
Included via <Zephyr>/Kconfig:8
→ <Zephyr>/Kconfig.zephyr:44
→ <Zephyr>/subsys/Kconfig:35
→ <Zephyr>/subsys/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
config OS_MGMT_TASKSTAT_ONLY_SUPPORTED_STATS
bool "Send only data gathered by Zephyr"
default y
depends on OS_MGMT_TASKSTAT && MCUMGR_CMD_OS_MGMT && MCUMGR
help
Response will not include fields the Zephyr does not collect statistic for.
Enable this if your client software is able to process "taskstat" response
that would be missing "runtime", "cswcnt", "last_checkin" and "next_checkin"
map entries for each listed task.
Enabling this option will slightly reduce code size.
(The ‘depends on’ condition includes propagated dependencies from ifs and menus.)