Add support for profiling sleep events in nanokernel.
This patch remove the dependency of the ADVANCE_POWER_MANAGEMENT for profiling sleep events that was supported only for microkernel. Allowing us to also use this feature in nanokernel-only systems. Change-Id: I1761eb6c4d72f477b419dfca5dc152b0fb69ee27 Signed-off-by: Yonattan Louise <yonattan.a.louise.mendoza@intel.com>
This commit is contained in:
parent
dc12b5d06a
commit
8885d093c4
4 changed files with 30 additions and 11 deletions
|
@ -64,6 +64,12 @@ SECTION_FUNC(TEXT, _isr_wrapper)
|
|||
pop {lr}
|
||||
#endif
|
||||
|
||||
#ifdef CONFIG_KERNEL_EVENT_LOGGER_SLEEP
|
||||
push {lr}
|
||||
bl _sys_k_event_logger_exit_sleep
|
||||
pop {lr}
|
||||
#endif
|
||||
|
||||
#ifdef CONFIG_ADVANCED_POWER_MANAGEMENT
|
||||
/*
|
||||
* All interrupts are disabled when handling idle wakeup. For tickless
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue