From eb9575cad286e5794e543a7bb206dc8627eddfe0 Mon Sep 17 00:00:00 2001 From: Baptiste Wicht Date: Sun, 24 Nov 2013 16:58:40 +0100 Subject: [PATCH] Better tracing --- kernel/src/memory.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kernel/src/memory.cpp b/kernel/src/memory.cpp index 7336dcf2..8997ccae 100644 --- a/kernel/src/memory.cpp +++ b/kernel/src/memory.cpp @@ -255,7 +255,7 @@ void* k_malloc(uint64_t bytes){ reinterpret_cast(current) + sizeof(malloc_header_chunk)); if(TRACE_MALLOC){ - k_printf("m %d %h ", bytes, reinterpret_cast(b)); + k_printf("m %d(%d) %h ", bytes, current->size, reinterpret_cast(b)); } return b;