zephyr/include
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
..
arch trivial: fix comment style 2016-05-21 11:58:33 +00:00
bluetooth Bluetooth: doc: Use proper grouping for APIs 2016-05-16 20:14:28 +00:00
display drivers: Replace DEV_OK by 0 2016-03-16 19:30:04 -04:00
drivers stm32: rename SOC_STM32F1X -> SOC_SERIES_STM32F1X 2016-04-18 21:24:58 +00:00
microkernel headers: use __deprecated 2016-04-15 22:07:57 +00:00
misc kernel event logger: add possibility to use custom timestamp 2016-05-23 21:27:49 +00:00
net net: 6lowpan: Fix 6lowpan fragmentation 2016-05-19 14:18:38 +00:00
toolchain toolchain: common.h: define PERFOPT_ALIGN for Nios2 2016-05-03 23:18:47 +00:00
adc.h drivers: Replace DEV_OK by 0 2016-03-16 19:30:04 -04:00
aio_comparator.h c++: Add extern "C" { } block to header files 2016-02-05 20:25:22 -05:00
atomic.h Change BSD-3 licenses to Apache 2 2016-02-05 20:24:29 -05:00
cache.h cache: add implementation for cache-less systems 2016-02-05 20:25:24 -05:00
clock_control.h clock_control: extend API with clock rate query operation 2016-03-16 18:09:32 +00:00
counter.h doc: counter should be under device driver 2016-04-15 18:42:17 +00:00
device.h device: add documentation for device_get_binding 2016-05-12 10:57:27 +00:00
flash.h drivers: Fix documentation from remaining APIs 2016-03-16 19:30:04 -04:00
gpio.h gpio: fix typo in function documentation 2016-05-01 16:21:52 -04:00
i2c.h i2c: change i2c_reg_update_byte parameter order 2016-04-26 11:06:50 +00:00
init.h power_mgmt: Add device power management support 2016-03-26 14:35:11 -04:00
ipm.h ipm: correct prototype for ipm_send 2016-03-09 06:31:02 +00:00
irq.h headers: use __deprecated 2016-04-15 22:07:57 +00:00
irq_offload.h doc: Fix misuse of @file doxygen tag 2016-02-11 20:11:03 +00:00
kernel_version.h c++: Add extern "C" { } block to header files 2016-02-05 20:25:22 -05:00
linker-defs.h nios2: basic build, non-functional 2016-05-03 23:18:45 +00:00
linker-tool-gcc.h nios2: basic build, non-functional 2016-05-03 23:18:45 +00:00
linker-tool.h Fixed file description and applied doxygen style 2016-02-05 20:24:58 -05:00
microkernel.h c++: Add extern "C" { } block to header files 2016-02-05 20:25:22 -05:00
nanokernel.h Revert "nanokernel: Add callback to _nano_timeout" 2016-05-21 18:28:57 -04:00
pinmux.h pinmux: Change returning type from pinmux.h APIs 2016-03-16 19:46:05 +00:00
power.h doc: power_mgmt: Added Power Management documentation 2016-04-27 00:57:53 +00:00
pwm.h doc: pwm: remove extra function param from comment 2016-04-15 22:06:41 +00:00
rtc.h c++: Add extern "C" { } block to header files 2016-02-05 20:25:22 -05:00
section_tags.h ARM: ARC: put sw_isr_table in ROM by default 2016-02-05 20:25:21 -05:00
sections.h ARM: ARC: put sw_isr_table in ROM by default 2016-02-05 20:25:21 -05:00
sensor.h sensor: Add altitude channel 2016-05-18 12:02:39 +00:00
shared_irq.h c++: Add extern "C" { } block to header files 2016-02-05 20:25:22 -05:00
spi.h drivers: Fix documentation from remaining APIs 2016-03-16 19:30:04 -04:00
sw_isr_table.h irq: fix declared _sw_isr_table size on ARC 2016-02-05 20:25:25 -05:00
sys_clock.h sys_clock: Add a helper to compute micro seconds 2016-04-07 16:51:07 +00:00
sys_io.h sys_io: don't allow negative bit offsets 2016-03-04 16:26:21 +00:00
toolchain.h Fixed file description and applied doxygen style 2016-02-05 20:24:58 -05:00
uart.h serial/uart.h: no need to check driver_api being NULL 2016-04-12 19:30:35 +08:00
watchdog.h c++: Add extern "C" { } block to header files 2016-02-05 20:25:22 -05:00
zephyr.h sysgen: generate sysgen.h instead of zephyr.h 2016-02-05 20:24:35 -05:00