malloc_simple: Add logging of allocations
authorSimon Glass <sjg@chromium.org>
Sun, 18 Nov 2018 15:14:26 +0000 (08:14 -0700)
committerSimon Glass <sjg@chromium.org>
Thu, 29 Nov 2018 16:30:05 +0000 (09:30 -0700)
commit7cbd2d2e327d2971d186c41cbfdc33b7e6ae6afc
tree25571f14bc851b8ce25d51c7fc69be78c704c172
parente16c888fab5014b022d5781dc534f204460a073b
malloc_simple: Add logging of allocations

It is sometimes useful to see what memory is being allocated early during
boot. Add logging to support this, using a new LOGC_ALLOC category.

Signed-off-by: Simon Glass <sjg@chromium.org>
common/malloc_simple.c
include/log.h
include/malloc.h