Skip to content
Commit 0dfda34c authored by Simon Glass's avatar Simon Glass
Browse files

dm: core: Add a way to collect memory usage



Add a function for collecting the amount of memory used by driver model,
including devices, uclasses and attached data and tags.

This information can provide insights into how to reduce the memory
required by driver model. Future work may look at execution speed also.

Signed-off-by: default avatarSimon Glass <sjg@chromium.org>
parent 930a3dda
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment