uuid: use proper UUID trace format

Use "%pU" for all UUID traces, it will print lower case 'a'-'f'
hexadecimal digits and use little endianness by default.

Signed-off-by: Guennadi Liakhovetski <guennadi.liakhovetski@linux.intel.com>
This commit is contained in:
Guennadi Liakhovetski 2020-08-31 17:31:55 +02:00 committed by Liam Girdwood
parent 03f4a1704e
commit 5777ef7903
2 changed files with 5 additions and 5 deletions

View File

@ -72,7 +72,7 @@ static const struct comp_driver *get_drv(struct sof_ipc_comp *comp)
if (!memcmp(info->drv->uid, comp_ext->uuid,
UUID_SIZE)) {
tr_dbg(&comp_tr,
"get_drv_from_uuid(), found driver type %d, uuid %s",
"get_drv_from_uuid(), found driver type %d, uuid %pU",
info->drv->type,
info->drv->tctx->uuid_p);
drv = info->drv;
@ -126,7 +126,7 @@ struct comp_dev *comp_new(struct sof_ipc_comp *comp)
return NULL;
}
tr_info(&comp_tr, "comp new %s type %d id %d.%d",
tr_info(&comp_tr, "comp new %pU type %d id %d.%d",
drv->tctx->uuid_p, comp->type, comp->pipeline_id, comp->id);
/* create the new component */

View File

@ -120,7 +120,7 @@ static void schedule_ll_tasks_execute(struct ll_schedule_data *sch,
count = atomic_sub(&sch->num_tasks, 1);
if (count == 1)
sch->domain->registered[cpu] = false;
tr_info(&ll_tr, "task complete %p %s", (uintptr_t)task,
tr_info(&ll_tr, "task complete %p %pU", (uintptr_t)task,
task->uid);
tr_info(&ll_tr, "num_tasks %d total_num_tasks %d",
atomic_read(&sch->num_tasks),
@ -342,7 +342,7 @@ static int schedule_ll_task(void *data, struct task *task, uint64_t start,
pdata = ll_sch_get_pdata(task);
tr_info(&ll_tr, "task add %p %s", (uintptr_t)task, task->uid);
tr_info(&ll_tr, "task add %p %pU", (uintptr_t)task, task->uid);
tr_info(&ll_tr, "task params pri %d flags %d start %u period %u",
task->priority, task->flags, start, period);
@ -429,7 +429,7 @@ static int schedule_ll_task_cancel(void *data, struct task *task)
irq_local_disable(flags);
tr_info(&ll_tr, "task cancel %p %s", (uintptr_t)task, task->uid);
tr_info(&ll_tr, "task cancel %p %pU", (uintptr_t)task, task->uid);
/* check to see if we are scheduled */
list_for_item(tlist, &sch->tasks) {