stats: shell: enable the stats shell if both stats and shell are enabled

Enable the statistics subsystem shell by default if both statistics and
shell are enabled.

Have the statistics shell imply enabling named statistics as this takes out
a lot of guesswork regarding which statistics counter is which.

Signed-off-by: Henrik Brix Andersen <hebad@vestas.com>
This commit is contained in:
Henrik Brix Andersen 2022-09-29 16:09:52 +02:00 committed by Marti Bolivar
parent 582f77ea38
commit b219b5cba7

View file

@ -20,7 +20,9 @@ config STATS_NAMES
config STATS_SHELL
bool "Statistics Shell Command"
default y
depends on STATS && SHELL
imply STATS_NAMES
help
Include a full name string for each statistic in the build. If this
setting is disabled, statistics are assigned generic names of the