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