From 36a4c85f911c85f5ab183331ff74d125f9a9ed32 Mon Sep 17 00:00:00 2001 From: Michael Brown Date: Fri, 25 Jan 2019 14:53:43 +0000 Subject: [init] Show startup and shutdown function names in debug messages Signed-off-by: Michael Brown --- src/core/malloc.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src/core/malloc.c') diff --git a/src/core/malloc.c b/src/core/malloc.c index 91c8e4d3..0a7843a1 100644 --- a/src/core/malloc.c +++ b/src/core/malloc.c @@ -685,6 +685,7 @@ static void shutdown_cache ( int booting __unused ) { /** Memory allocator shutdown function */ struct startup_fn heap_startup_fn __startup_fn ( STARTUP_EARLY ) = { + .name = "heap", .shutdown = shutdown_cache, }; -- cgit v1.2.3-55-g7522