mirror of
https://github.com/wichtounet/thor-os.git
synced 2025-09-11 21:44:37 -04:00
Better tracing
This commit is contained in:
parent
84c869f8fa
commit
eb9575cad2
@ -255,7 +255,7 @@ void* k_malloc(uint64_t bytes){
|
|||||||
reinterpret_cast<uintptr_t>(current) + sizeof(malloc_header_chunk));
|
reinterpret_cast<uintptr_t>(current) + sizeof(malloc_header_chunk));
|
||||||
|
|
||||||
if(TRACE_MALLOC){
|
if(TRACE_MALLOC){
|
||||||
k_printf("m %d %h ", bytes, reinterpret_cast<uint64_t>(b));
|
k_printf("m %d(%d) %h ", bytes, current->size, reinterpret_cast<uint64_t>(b));
|
||||||
}
|
}
|
||||||
|
|
||||||
return b;
|
return b;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user