zephyr/subsys/tracing
Andy Ross 32bb2395c2 timeout: Fix up API usage
Kernel timeouts have always been a 32 bit integer despite the
existence of generation macros, and existing code has been
inconsistent about using them.  Upcoming commits are going to make the
timeout arguments opaque, so fix things up to be rigorously correct.
Changes include:

+ Adding a K_TIMEOUT_EQ() macro for code that needs to compare timeout
  values for equality (e.g. with K_FOREVER or K_NO_WAIT).

+ Adding a k_msleep() synonym for k_sleep() which can continue to take
  integral arguments as k_sleep() moves away to timeout arguments.

+ Pervasively using the K_MSEC(), K_SECONDS(), et. al. macros to
  generate timeout arguments.

+ Removing the usage of K_NO_WAIT as the final argument to
  K_THREAD_DEFINE().  This is just a count of milliseconds and we need
  to use a zero.

This patch include no logic changes and should not affect generated
code at all.

Signed-off-by: Andy Ross <andrew.j.ross@intel.com>
2020-03-31 19:40:47 -04:00
..
ctf ext: debug: Move ctf_map.h to subsys/tracing/ctf 2020-03-20 22:56:19 -04:00
include tracing: fixes C++ compilation issue 2020-02-26 14:13:22 +02:00
sysview tracing: move systemview headers under sysview/ 2020-02-07 15:58:05 -05:00
CMakeLists.txt tracing: avoid building tracing code when not applicable 2020-02-07 15:58:05 -05:00
Kconfig tracing: usb: Fix build issues. 2020-02-07 20:06:17 -05:00
cpu_stats.c
tracing_backend_posix.c
tracing_backend_uart.c
tracing_backend_usb.c tracing: usb: Fix build issues. 2020-02-07 20:06:17 -05:00
tracing_buffer.c
tracing_core.c timeout: Fix up API usage 2020-03-31 19:40:47 -04:00
tracing_format_async.c
tracing_format_common.c
tracing_format_sync.c