zephyr/include/logging
Leandro Pereira ffe74b45fa kernel: Add thread events to kernel event logger
This adds a new event type to the kernel event logger that tracks
thread-related events: being added to the ready queue, pending a
thread, and exiting a thread.

It's the only event type that contains "subevents" and thus has a
non-void parameter in their respective _sys_k_event_logger_*()
function.  Luckily, as isn't the case with other events (such as IRQs
and thread switching), these functions are called from
platform-agnostic places, so there's no need to worry about changing
the assembly guts.

This is the first patch in a series adding support for better real-time
profiling of Zephyr applications.

Jira: ZEP-1463
Change-Id: I6d63607ba347f7a9cac3d016fef8f5a0a830e267
Signed-off-by: Leandro Pereira <leandro.pereira@intel.com>
2017-04-25 02:16:36 +00:00
..
event_logger.h Convert remaining code to using newly introduced integer sized types 2017-04-21 11:38:23 -05:00
kernel_event_logger.h kernel: Add thread events to kernel event logger 2017-04-25 02:16:36 +00:00
sys_log.h license: Replace Apache boilerplate with SPDX tag 2017-01-19 03:50:58 +00:00