Skip to content

Commit

Permalink
Tools: Testbench: Print in debug information the pipeline_id
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
singalsu committed Jan 31, 2025
1 parent 1eab3d1 commit 5582bc4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tools/testbench/topology_ipc4.c
Original file line number Diff line number Diff line change
Expand Up @@ -1055,8 +1055,8 @@ static inline int tb_insert_comp(struct testbench_prm *tp)

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

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

return 0;
Expand Down

0 comments on commit 5582bc4

Please sign in to comment.