ll_schedule: add logs about the scheduling point

Add some useful information logs about the task scheduling point with
ll_scheduler, which will help to capture logs once we hit scheduling
issue on some specific task.

Signed-off-by: Keyon Jie <yang.jie@linux.intel.com>
This commit is contained in:
Keyon Jie 2021-03-30 17:42:26 +08:00
parent d7c8ccc625
commit 65400959ca
1 changed files with 3 additions and 1 deletions

View File

@ -306,7 +306,9 @@ static int schedule_ll_domain_set(struct ll_schedule_data *sch,
sch->domain->enabled[core] = true;
}
tr_info(&ll_tr, "new added task->start %u", (unsigned int)task->start);
tr_info(&ll_tr, "new added task->start %u at %u",
(unsigned int)task->start,
(unsigned int)platform_timer_get_atomic(timer_get()));
tr_info(&ll_tr, "num_tasks %d total_num_tasks %d",
atomic_read(&sch->num_tasks),
atomic_read(&sch->domain->total_num_tasks));