Profile interrupt events.

Add the interrupt profile points for x86 and ARM arquitectures. This
gives information regarding the time when interrupts occur.

Change-Id: Ic876c0e7f9e8819d53e0578416f09146f4456d3d
Signed-off-by: Yonattan Louise <yonattan.a.louise.mendoza@intel.com>
This commit is contained in:
Yonattan Louise 2015-08-21 19:10:32 -05:00 committed by Anas Nashif
commit d2108bf084
12 changed files with 203 additions and 0 deletions

View file

@ -72,6 +72,12 @@ SECTION_FUNC(TEXT, _isr_wrapper)
push {lr} /* lr is now the first item on the stack */
#ifdef CONFIG_PROFILER_INTERRUPT
push {lr}
bl _sys_profiler_interrupt
pop {lr}
#endif
#ifdef CONFIG_ADVANCED_POWER_MANAGEMENT
/*
* All interrupts are disabled when handling idle wakeup. For tickless