On Quark SE, using system timer as event timestamp creates inconsistencies since the timer is handled by software in timer_int_handler and tickless_idle_exit. So timestamp does not reflect timing of certain events like timer IRQ. This patch introduces the usage of RTC or AON counter as kernel event logger timestamp Change-Id: I070254446dd98dd448e119892c34abf12efca719 Signed-off-by: Fabrice Olivero <fabrice.olivero@intel.com>
11 lines
260 B
Makefile
11 lines
260 B
Makefile
ccflags-y += ${PROJECTINCLUDE}
|
|
ccflags-y += -I${ZEPHYR_BASE}/include/drivers/
|
|
ifeq (${PROFILER_NO_SHELL_REGISTER},1)
|
|
ccflags-y += -DPROFILER_NO_SHELL_REGISTER
|
|
endif
|
|
ifeq (${PROFILER_USE_COUNTER},1)
|
|
ccflags-y += -DPROFILER_USE_COUNTER
|
|
endif
|
|
|
|
obj-y = profiler.o
|