]> git.dujemihanovic.xyz Git - u-boot.git/commit
dm: core: Add a command to show driver model statistics
authorSimon Glass <sjg@chromium.org>
Sun, 8 May 2022 10:39:26 +0000 (04:39 -0600)
committerSimon Glass <sjg@chromium.org>
Tue, 28 Jun 2022 02:09:52 +0000 (03:09 +0100)
commit2cb4ddb91ec9fcb77c895e4a1192a15aece700c6
treefa5b70616fb54ee575514943c453f544ed033ab3
parent0dfda34ca594c701955cfcb71711a7599f97bae3
dm: core: Add a command to show driver model statistics

This command shows the memory used by driver model along with various
hints as to what it might be if some 'core' tags were moved to use the
tag list instead of a core (i.e. always-there) pointer.

This may help with future work to reduce memory usage.

Signed-off-by: Simon Glass <sjg@chromium.org>
cmd/dm.c
drivers/core/Kconfig
drivers/core/dump.c
drivers/core/tag.c
include/dm/root.h
include/dm/tag.h
include/dm/util.h