Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions src/schedule/zephyr_dp_schedule_application.c
Original file line number Diff line number Diff line change
Expand Up @@ -411,6 +411,7 @@ void scheduler_dp_internal_free(struct task *task)
mod_free(pdata->mod, container_of(task, struct scheduler_dp_task_memory, task));
}

#ifdef CONFIG_THREAD_NAME
static void scheduler_dp_thread_name_set(k_tid_t thread_id, struct processing_module *mod)
{
char name[CONFIG_THREAD_MAX_NAME_LEN];
Expand All @@ -419,6 +420,10 @@ static void scheduler_dp_thread_name_set(k_tid_t thread_id, struct processing_mo

k_thread_name_set(thread_id, name);
}
#else
/* k_thread_name_set() is a no-op so skip constructing a thread name */
#define scheduler_dp_thread_name_set(x, y)
#endif

/* Called only in IPC context */
int scheduler_dp_task_init(struct task **task, const struct sof_uuid_entry *uid,
Expand Down
Loading