zephyr/kernel
Fabrice Olivero 128dcbbe13 kernel event logger: add possibility to use custom timestamp
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>
2016-05-23 21:27:49 +00:00
..
configs kconfig: use zephyr as the binary name globally 2016-02-05 20:24:22 -05:00
microkernel kernel event logger: add possibility to use custom timestamp 2016-05-23 21:27:49 +00:00
nanokernel kernel event logger: add possibility to use custom timestamp 2016-05-23 21:27:49 +00:00
Kconfig kernel event logger: add possibility to use custom timestamp 2016-05-23 21:27:49 +00:00
Makefile