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:
parent
46feabf7f7
commit
d2108bf084
12 changed files with 203 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue