pipeline: add heap trace to pipeline_new()

Balance the heap status with the existing pipeline_free() heap debug.

Signed-off-by: Liam Girdwood <liam.r.girdwood@linux.intel.com>
This commit is contained in:
Liam Girdwood 2021-06-24 13:26:01 +01:00 committed by Liam Girdwood
parent 24a6159cb2
commit c1f0f7068e
1 changed files with 3 additions and 0 deletions

View File

@ -112,6 +112,9 @@ struct pipeline *pipeline_new(uint32_t pipeline_id, uint32_t priority, uint32_t
pipe_cl_info("pipeline new pipe_id %d priority %d", pipe_cl_info("pipeline new pipe_id %d priority %d",
pipeline_id, priority); pipeline_id, priority);
/* show heap status */
heap_trace_all(0);
/* allocate new pipeline */ /* allocate new pipeline */
p = rzalloc(SOF_MEM_ZONE_RUNTIME_SHARED, 0, SOF_MEM_CAPS_RAM, sizeof(*p)); p = rzalloc(SOF_MEM_ZONE_RUNTIME_SHARED, 0, SOF_MEM_CAPS_RAM, sizeof(*p));
if (!p) { if (!p) {