diff --git a/boards/arm/lpc17xx_40xx/lx_cpu/src/lpc17_40_boardinitialize.c b/boards/arm/lpc17xx_40xx/lx_cpu/src/lpc17_40_boardinitialize.c index ece52b56e9..685917cc66 100644 --- a/boards/arm/lpc17xx_40xx/lx_cpu/src/lpc17_40_boardinitialize.c +++ b/boards/arm/lpc17xx_40xx/lx_cpu/src/lpc17_40_boardinitialize.c @@ -51,7 +51,7 @@ void lpc17_40_boardinitialize(void) { -#ifdef CONFIG_SCHED_IRQMONITOR +#ifdef CONFIG_ARCH_PERF_EVENTS up_perf_init((void *)LPC17_40_CCLK); #endif diff --git a/boards/arm/s32k1xx/rddrone-bms772/src/s32k1xx_boot.c b/boards/arm/s32k1xx/rddrone-bms772/src/s32k1xx_boot.c index 86e47706fc..dd7a73d663 100644 --- a/boards/arm/s32k1xx/rddrone-bms772/src/s32k1xx_boot.c +++ b/boards/arm/s32k1xx/rddrone-bms772/src/s32k1xx_boot.c @@ -47,7 +47,7 @@ void s32k1xx_board_initialize(void) { -#ifdef CONFIG_SEGGER_SYSVIEW +#ifdef CONFIG_ARCH_PERF_EVENTS up_perf_init((void *)RDDRONE_BMS772_RUN_SYSCLK_FREQUENCY); #endif diff --git a/boards/arm/s32k1xx/s32k144evb/src/s32k1xx_boot.c b/boards/arm/s32k1xx/s32k144evb/src/s32k1xx_boot.c index ca25b44ef5..6bb757e3d8 100644 --- a/boards/arm/s32k1xx/s32k144evb/src/s32k1xx_boot.c +++ b/boards/arm/s32k1xx/s32k144evb/src/s32k1xx_boot.c @@ -45,7 +45,7 @@ void s32k1xx_board_initialize(void) { -#ifdef CONFIG_SEGGER_SYSVIEW +#ifdef CONFIG_ARCH_PERF_EVENTS up_perf_init((void *)S32K144EVB_RUN_SYSCLK_FREQUENCY); #endif diff --git a/boards/arm/s32k1xx/s32k146evb/src/s32k1xx_boot.c b/boards/arm/s32k1xx/s32k146evb/src/s32k1xx_boot.c index 862614b3bf..6a4ce1fad7 100644 --- a/boards/arm/s32k1xx/s32k146evb/src/s32k1xx_boot.c +++ b/boards/arm/s32k1xx/s32k146evb/src/s32k1xx_boot.c @@ -45,7 +45,7 @@ void s32k1xx_board_initialize(void) { -#ifdef CONFIG_SEGGER_SYSVIEW +#ifdef CONFIG_ARCH_PERF_EVENTS up_perf_init((void *)S32K146EVB_RUN_SYSCLK_FREQUENCY); #endif diff --git a/boards/arm/s32k1xx/s32k148evb/src/s32k1xx_boot.c b/boards/arm/s32k1xx/s32k148evb/src/s32k1xx_boot.c index 2e87052ff1..a89368d60f 100644 --- a/boards/arm/s32k1xx/s32k148evb/src/s32k1xx_boot.c +++ b/boards/arm/s32k1xx/s32k148evb/src/s32k1xx_boot.c @@ -45,7 +45,7 @@ void s32k1xx_board_initialize(void) { -#ifdef CONFIG_SEGGER_SYSVIEW +#ifdef CONFIG_ARCH_PERF_EVENTS up_perf_init((void *)S32K148EVB_RUN_SYSCLK_FREQUENCY); #endif diff --git a/boards/arm/s32k1xx/ucans32k146/src/s32k1xx_boot.c b/boards/arm/s32k1xx/ucans32k146/src/s32k1xx_boot.c index 6a3466b4b8..dee2bde627 100644 --- a/boards/arm/s32k1xx/ucans32k146/src/s32k1xx_boot.c +++ b/boards/arm/s32k1xx/ucans32k146/src/s32k1xx_boot.c @@ -45,7 +45,7 @@ void s32k1xx_board_initialize(void) { -#ifdef CONFIG_SEGGER_SYSVIEW +#ifdef CONFIG_ARCH_PERF_EVENTS up_perf_init((void *)UCANS32K146_RUN_SYSCLK_FREQUENCY); #endif diff --git a/boards/arm/s32k3xx/mr-canhubk3/src/s32k3xx_boot.c b/boards/arm/s32k3xx/mr-canhubk3/src/s32k3xx_boot.c index b4e71a8552..e749d0aa1a 100644 --- a/boards/arm/s32k3xx/mr-canhubk3/src/s32k3xx_boot.c +++ b/boards/arm/s32k3xx/mr-canhubk3/src/s32k3xx_boot.c @@ -47,7 +47,7 @@ void s32k3xx_board_initialize(void) { -#ifdef CONFIG_SEGGER_SYSVIEW +#ifdef CONFIG_ARCH_PERF_EVENTS up_perf_init((void *)MR_CANHUBK3_SYSCLK_FREQUENCY); #endif diff --git a/boards/risc-v/esp32c3/esp32c3-devkit-rust-1/src/esp32c3_boot.c b/boards/risc-v/esp32c3/esp32c3-devkit-rust-1/src/esp32c3_boot.c index 812e49b371..1057370794 100644 --- a/boards/risc-v/esp32c3/esp32c3-devkit-rust-1/src/esp32c3_boot.c +++ b/boards/risc-v/esp32c3/esp32c3-devkit-rust-1/src/esp32c3_boot.c @@ -52,7 +52,7 @@ void esp32c3_board_initialize(void) { -#ifdef CONFIG_SCHED_CRITMONITOR +#ifdef CONFIG_ARCH_PERF_EVENTS up_perf_init(NULL); #endif diff --git a/boards/risc-v/esp32c3/esp32c3-devkit/src/esp32c3_boot.c b/boards/risc-v/esp32c3/esp32c3-devkit/src/esp32c3_boot.c index 76630e9853..934a05b72e 100644 --- a/boards/risc-v/esp32c3/esp32c3-devkit/src/esp32c3_boot.c +++ b/boards/risc-v/esp32c3/esp32c3-devkit/src/esp32c3_boot.c @@ -51,7 +51,7 @@ void esp32c3_board_initialize(void) { -#ifdef CONFIG_SCHED_CRITMONITOR +#ifdef CONFIG_ARCH_PERF_EVENTS up_perf_init(NULL); #endif