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	depends on STATS && SHELL
24	imply STATS_NAMES
25	help
26	  Include a full name string for each statistic in the build.  If this
27	  setting is disabled, statistics are assigned generic names of the
28	  form "s0", "s1", etc.  Enabling this setting simplifies debugging,
29	  but results in a larger code size.
30