testbench: library: make C library malloc info a debug output

The malloc output is useful for debug only otherwise it can add more
noise to the trace output.

Signed-off-by: Liam Girdwood <liam.r.girdwood@linux.intel.com>
This commit is contained in:
Liam Girdwood 2021-10-06 14:01:50 +01:00 committed by Liam Girdwood
parent 28761ec8ab
commit c22b862c28
1 changed files with 2 additions and 0 deletions

View File

@ -45,7 +45,9 @@ void *rbrealloc_align(void *ptr, uint32_t flags, uint32_t caps, size_t bytes,
void heap_trace(struct mm_heap *heap, int size)
{
#if MALLOC_DEBUG
malloc_info(0, stdout);
#endif
}
void heap_trace_all(int force)