[PATCH 8/9] dm: core: Add a command to show driver model statistics
Simon Glass
sjg at chromium.org
Tue Jun 28 15:37:53 CEST 2022
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 at chromium.org>
---
cmd/dm.c | 23 ++++++++++++++
drivers/core/Kconfig | 11 +++++++
drivers/core/dump.c | 73 ++++++++++++++++++++++++++++++++++++++++++++
drivers/core/tag.c | 18 +++++++++++
include/dm/root.h | 2 +-
include/dm/tag.h | 8 +++++
include/dm/util.h | 9 ++++++
7 files changed, 143 insertions(+), 1 deletion(-)
Applied to u-boot-dm, thanks!
More information about the U-Boot-Custodians
mailing list