1# Copyright (c) 2020 Intel Corp.
2# SPDX-License-Identifier: Apache-2.0
3
4
5config STATS
6	bool "Statistics support"
7	help
8	  Enable per-module event counters for troubleshooting, maintenance,
9	  and usage monitoring.  Statistics can be retrieved with the mcumgr
10	  management subsystem.
11
12config STATS_NAMES
13	bool "Statistic names"
14	depends on STATS
15	help
16	  Include a full name string for each statistic in the build.  If this
17	  setting is disabled, statistics are assigned generic names of the
18	  form "s0", "s1", etc.  Enabling this setting simplifies debugging,
19	  but results in a larger code size.
20
21config STATS_SHELL
22	bool "Statistics Shell Command"
23	default y
24	depends on STATS && SHELL
25	imply STATS_NAMES
26	help
27	  Include a full name string for each statistic in the build.  If this
28	  setting is disabled, statistics are assigned generic names of the
29	  form "s0", "s1", etc.  Enabling this setting simplifies debugging,
30	  but results in a larger code size.
31