Skip to content

Commit 5582bc4

Browse files
committed
Tools: Testbench: Print in debug information the pipeline_id
Print of pipeline ID helps with use command line switch -p <id1>,<id2>, .. to know which pipelines to schedule and to connect to input and output data files. The information is shown in the beginning of topology load. Without this addition, the pipeline ID numbers would need to be checked from topology source file. Signed-off-by: Seppo Ingalsuo <seppo.ingalsuo@linux.intel.com>
1 parent 1eab3d1 commit 5582bc4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tools/testbench/topology_ipc4.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1055,8 +1055,8 @@ static inline int tb_insert_comp(struct testbench_prm *tp)
10551055

10561056
list_item_append(&comp_info->item, &tp->widget_list);
10571057

1058-
printf("debug: loading comp_id %d: widget %s type %d size %d at offset %ld is_pages %d\n",
1059-
comp_id, ctx->widget->name, ctx->widget->id, ctx->widget->size,
1058+
printf("debug: loading comp_id %d: pipeline_id %d: widget %s type %d size %d at offset %ld is_pages %d\n",
1059+
comp_id, ctx->pipeline_id, ctx->widget->name, ctx->widget->id, ctx->widget->size,
10601060
ctx->tplg_offset, comp_info->basecfg.is_pages);
10611061

10621062
return 0;

0 commit comments

Comments
 (0)