
10 Jan
2020
10 Jan
'20
9:57 a.m.
The malloc() implementations provides a way of finding out the approximate amount of memory that is allocated. Add helper functions to make it easier to access this and see changes over time. This is useful for tests that want to check if memory has been allocated or freed.
Signed-off-by: Simon Glass sjg@chromium.org ---
include/test/ut.h | 16 ++++++++++++++++ test/ut.c | 14 ++++++++++++++ 2 files changed, 30 insertions(+)
Applied to u-boot-dm, thanks!