128dcbbe13
By default, kernel event logger is using the system timer. But on some platforms where the timer driver maintains the system timer cycle accumulator in software, such as ones using the LOAPIC timer, the system timer behavior leads to timestamp errors. For example, the timer interrupt is logged with a wrong timestamp since the HW timer value has been reset (periodic mode) but accumulated value not updated yet (done later in the ISR). This patch is adding the possibility to register a timer callback function that will be used by the kernel event logger. For example, on Quark SE, this allows using RTC or AON counter which accuracy is sufficient and behavior more straight forward compared to system timer. Change-Id: I754c7557350ef29fc10701e62a35a5425e035f11 Signed-off-by: Fabrice Olivero <fabrice.olivero@intel.com> |
||
---|---|---|
.. | ||
common | ||
microkernel | ||
nanokernel | ||
overview | ||
kernel.rst |