zephyr/samples/task_profiler/profiler/src/Makefile
Fabrice Olivero 8a1c4e642b samples/task_profiler: add RTC/counter support as timestamp
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>
2016-05-23 21:28:04 +00:00

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