mirror of https://github.com/thesofproject/sof.git
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:
parent
28761ec8ab
commit
c22b862c28
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue