2020-08-23 01:07:14 +08:00
|
|
|
# Copyright (c) 2020 Intel Corp.
|
|
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
|
|
|
|
|
|
|
|
config STATS
|
|
|
|
bool "Statistics support"
|
|
|
|
help
|
|
|
|
Enable per-module event counters for troubleshooting, maintenance,
|
|
|
|
and usage monitoring. Statistics can be retrieved with the mcumgr
|
|
|
|
management subsystem.
|
|
|
|
|
|
|
|
config STATS_NAMES
|
|
|
|
bool "Statistic names"
|
|
|
|
depends on STATS
|
|
|
|
help
|
|
|
|
Include a full name string for each statistic in the build. If this
|
|
|
|
setting is disabled, statistics are assigned generic names of the
|
|
|
|
form "s0", "s1", etc. Enabling this setting simplifies debugging,
|
|
|
|
but results in a larger code size.
|
2021-10-12 02:36:23 +08:00
|
|
|
|
|
|
|
config STATS_SHELL
|
|
|
|
bool "Statistics Shell Command"
|
2022-09-29 22:09:52 +08:00
|
|
|
default y
|
2021-10-12 02:36:23 +08:00
|
|
|
depends on STATS && SHELL
|
2022-09-29 22:09:52 +08:00
|
|
|
imply STATS_NAMES
|
2021-10-12 02:36:23 +08:00
|
|
|
help
|
|
|
|
Include a full name string for each statistic in the build. If this
|
|
|
|
setting is disabled, statistics are assigned generic names of the
|
|
|
|
form "s0", "s1", etc. Enabling this setting simplifies debugging,
|
|
|
|
but results in a larger code size.
|