Kconfig: cleanup subsystems

Sort entries alphabetically and cleanup top level menu for each
subsystem. Move stats subsystem Kconfig from debug into its own Kconfig.

Signed-off-by: Anas Nashif <anas.nashif@intel.com>
This commit is contained in:
Anas Nashif 2020-08-22 13:07:14 -04:00 committed by Carles Cufí
parent a2d54a7d6b
commit f5d606ef72
7 changed files with 31 additions and 26 deletions

View file

@ -496,6 +496,7 @@
/subsys/random/ @dleach02
/subsys/settings/ @nvlsianpu
/subsys/shell/ @jakub-uC @nordic-krch
/subsys/stats/ @nvlsianpu
/subsys/storage/ @nvlsianpu
/subsys/testsuite/ @nashif
/subsys/usb/ @jfischer-phytec-iot @finikorg

View file

@ -7,6 +7,8 @@ menu "Sub Systems and OS Services"
source "subsys/bluetooth/Kconfig"
source "subsys/canbus/Kconfig"
source "subsys/console/Kconfig"
source "subsys/cpp/Kconfig"
@ -15,8 +17,12 @@ source "subsys/debug/Kconfig"
source "subsys/disk/Kconfig"
source "subsys/fb/Kconfig"
source "subsys/fs/Kconfig"
source "subsys/jwt/Kconfig"
source "subsys/logging/Kconfig"
source "subsys/mgmt/Kconfig"
@ -27,6 +33,8 @@ source "subsys/power/Kconfig"
source "subsys/shell/Kconfig"
source "subsys/stats/Kconfig"
source "subsys/usb/Kconfig"
source "subsys/dfu/Kconfig"
@ -41,10 +49,4 @@ source "subsys/testsuite/Kconfig"
source "subsys/tracing/Kconfig"
source "subsys/fb/Kconfig"
source "subsys/jwt/Kconfig"
source "subsys/canbus/Kconfig"
endmenu

View file

@ -12,23 +12,6 @@ config BOOT_TIME_MEASUREMENT
help
This option enables the recording of timestamps during system boot.
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.
menuconfig THREAD_ANALYZER
bool "Enable Thread analyzer"
select INIT_STACKS

View file

@ -2,7 +2,7 @@
# SPDX-License-Identifier: Apache-2.0
menuconfig JWT
bool "Enable JSON Web Token generation"
bool "JSON Web Token generation"
select JSON_LIBRARY
help
Enable creation of JWT tokens

19
subsys/stats/Kconfig Normal file
View file

@ -0,0 +1,19 @@
# 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.

View file

@ -6,7 +6,7 @@
DT_CHOSEN_Z_CONSOLE := zephyr,console
config TRACING
bool "Enabling Tracing"
bool "Tracing Support"
imply THREAD_NAME
imply THREAD_STACK_INFO
imply THREAD_MONITOR

View file

@ -4,7 +4,7 @@
# SPDX-License-Identifier: Apache-2.0
menuconfig USB_DEVICE_STACK
bool "USB device stack"
bool "USB Device Support"
depends on USB_DEVICE_DRIVER || ARCH_POSIX
select HWINFO
help