zephyr/include/misc
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
..
debug debug: add target GDB server 2016-04-16 05:29:22 +00:00
__assert.h doc: Fix warning about unsupported xml/html tag 2016-02-11 20:11:03 +00:00
byteorder.h Change BSD-3 licenses to Apache 2 2016-02-05 20:24:29 -05:00
dlist.h c++: Add extern "C" { } block to header files 2016-02-05 20:25:22 -05:00
event_logger.h doc: Edit the Event Logger APIs 2016-02-12 01:41:20 +00:00
kernel_event_logger.h kernel event logger: add possibility to use custom timestamp 2016-05-23 21:27:49 +00:00
nano_work.h nano_work: Add nano_work_init 2016-05-21 12:02:57 +00:00
printk.h c++: Add extern "C" { } block to header files 2016-02-05 20:25:22 -05:00
reboot.h c++: Add extern "C" { } block to header files 2016-02-05 20:25:22 -05:00
ring_buffer.h debug: adds object tracing capability to ring buffers 2016-03-11 22:12:51 +00:00
shell.h console: shell: Add return to command callback 2016-05-23 11:00:21 +03:00
slist.h misc: Add sys_slist_insert 2016-04-28 11:41:15 +00:00
stack.h Bluetooth: Move stack analysis helper to a global location 2016-03-17 16:29:05 +00:00
sys_log.h sys_log: User can prevent extra newline to be printed 2016-03-24 08:02:10 +00:00
util.h include: misc: Add a utility macro to generate a bit mask 2016-03-24 08:01:52 +00:00