zephyr/subsys/debug/tracing
Piotr Zięcik 5fbf05ce15 debug: Do not use CONFIG_SYS_CLOCK_HW_CYCLES_PER_SEC
On some SoCs the frequency of the system clock is obtained at run time
as the exact configuration of the hardware is not known at compile time.
On such platforms using CONFIG_SYS_CLOCK_HW_CYCLES_PER_SEC define
directly introduces timing errors.

This commit replaces CONFIG_SYS_CLOCK_HW_CYCLES_PER_SEC by the call
to inline function sys_clock_hw_cycles_per_sec() which always returns
correct frequency of the system clock.

Signed-off-by: Piotr Zięcik <piotr.ziecik@nordicsemi.no>
2019-07-24 15:10:02 +02:00
..
ctf license: cleanup: add SPDX Apache-2.0 license identifier 2019-04-07 08:45:22 -04:00
include subsys tracing: remove (uintptr_t) casts in snprintk and use %p 2019-07-07 08:58:11 -04:00
sysview
CMakeLists.txt license: cleanup: add SPDX Apache-2.0 license identifier 2019-04-07 08:45:22 -04:00
cpu_stats.c debug: tracing: Rewrite assert on current_thread in CPU stats module 2019-07-09 10:45:35 +02:00
sysview_config.c debug: Do not use CONFIG_SYS_CLOCK_HW_CYCLES_PER_SEC 2019-07-24 15:10:02 +02:00
sysview.c subsys tracing: remove (uintptr_t) casts in snprintk and use %p 2019-07-07 08:58:11 -04:00