diff --git a/src/debug/telemetry/performance_monitor.c b/src/debug/telemetry/performance_monitor.c index 3bd80ad87a6c..605ecc262078 100644 --- a/src/debug/telemetry/performance_monitor.c +++ b/src/debug/telemetry/performance_monitor.c @@ -433,7 +433,8 @@ int io_perf_monitor_init(void) } /* init performance monitor using Zephyr */ -SYS_INIT(io_perf_monitor_init, APPLICATION, CONFIG_APPLICATION_INIT_PRIORITY); +/* IMPORTANT , this init is now in IPC init, temporarily */ +//SYS_INIT(io_perf_monitor_init, APPLICATION, CONFIG_APPLICATION_INIT_PRIORITY); static struct io_perf_data_item *io_perf_monitor_get_next_slot(struct io_perf_monitor_ctx *self) { diff --git a/src/ipc/ipc-common.c b/src/ipc/ipc-common.c index 047ccec244d2..2129f6417108 100644 --- a/src/ipc/ipc-common.c +++ b/src/ipc/ipc-common.c @@ -282,6 +282,7 @@ int ipc_init(struct sof *sof) list_init(&sof->ipc->comp_list); #ifdef CONFIG_SOF_TELEMETRY_IO_PERFORMANCE_MEASUREMENTS + io_perf_monitor_init(); struct io_perf_data_item init_data = {IPC_ID, cpu_get_id(), INPUT_DIRECTION,