commit | be1621bf7aedee7ca57857996e0445384e0a553d | [log] [tgz] |
---|---|---|
author | Simon Glass <sjg@chromium.org> | Sun May 08 04:39:25 2022 -0600 |
committer | Simon Glass <sjg@chromium.org> | Tue Jun 28 03:09:52 2022 +0100 |
tree | bc1741d705ae3a62c98477e510535d3193c97802 | |
parent | d1f12cf68887db73772d6a394cd4a8b598695357 [diff] |
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: Simon Glass <sjg@chromium.org>