[PATCH 14/19] test: Add functions to find the amount of allocated memory
sjg at google.com
sjg at google.com
Fri Jan 10 09:57:37 CET 2020
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 at chromium.org>
---
include/test/ut.h | 16 ++++++++++++++++
test/ut.c | 14 ++++++++++++++
2 files changed, 30 insertions(+)
Applied to u-boot-dm, thanks!
More information about the U-Boot
mailing list