zephyr/kernel
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
..
configs kernel: add LEGACY_KERNEL option 2017-01-09 19:42:13 +00:00
include kernel: Add thread events to kernel event logger 2017-04-25 02:16:36 +00:00
alert.c Convert remaining code to using newly introduced integer sized types 2017-04-21 11:38:23 -05:00
atomic_c.c license: Replace Apache boilerplate with SPDX tag 2017-01-19 03:50:58 +00:00
compiler_stack_protect.c kernel: add k_panic() and k_oops() APIs 2017-04-22 10:31:49 -04:00
device.c Convert remaining code to using newly introduced integer sized types 2017-04-21 11:38:23 -05:00
errno.c license: Replace Apache boilerplate with SPDX tag 2017-01-19 03:50:58 +00:00
idle.c Convert remaining code to using newly introduced integer sized types 2017-04-21 11:38:23 -05:00
init.c Convert remaining code to using newly introduced integer sized types 2017-04-21 11:38:23 -05:00
int_latency_bench.c Convert remaining code to using newly introduced integer sized types 2017-04-21 11:38:23 -05:00
Kconfig spell: Kconfig help typos: /kernel /misc /subsys 2017-04-22 01:04:56 +00:00
Kconfig.event_logger kernel: Add thread events to kernel event logger 2017-04-25 02:16:36 +00:00
Kconfig.power_mgmt kernel: Remove redundant TICKLESS_IDLE_SUPPORTED option 2017-02-08 13:02:34 +00:00
mailbox.c Convert remaining code to using newly introduced integer sized types 2017-04-21 11:38:23 -05:00
Makefile kernel: remove legacy kernel support 2017-04-19 15:48:37 +00:00
mem_pool.c Convert remaining code to using newly introduced integer sized types 2017-04-21 11:38:23 -05:00
mem_slab.c Convert remaining code to using newly introduced integer sized types 2017-04-21 11:38:23 -05:00
msg_q.c Convert remaining code to using newly introduced integer sized types 2017-04-21 11:38:23 -05:00
mutex.c Convert remaining code to using newly introduced integer sized types 2017-04-21 11:38:23 -05:00
pipes.c Convert remaining code to using newly introduced integer sized types 2017-04-21 11:38:23 -05:00
poll.c Convert remaining code to using newly introduced integer sized types 2017-04-21 11:38:23 -05:00
queue.c Convert remaining code to using newly introduced integer sized types 2017-04-21 11:38:23 -05:00
sched.c Convert remaining code to using newly introduced integer sized types 2017-04-21 11:38:23 -05:00
sem.c Convert remaining code to using newly introduced integer sized types 2017-04-21 11:38:23 -05:00
stack.c Convert remaining code to using newly introduced integer sized types 2017-04-21 11:38:23 -05:00
sys_clock.c Convert remaining code to using newly introduced integer sized types 2017-04-21 11:38:23 -05:00
system_work_q.c license: Replace Apache boilerplate with SPDX tag 2017-01-19 03:50:58 +00:00
thread_abort.c kernel: remove legacy kernel support 2017-04-19 15:48:37 +00:00
thread.c kernel: add k_panic() and k_oops() APIs 2017-04-22 10:31:49 -04:00
timer.c Convert remaining code to using newly introduced integer sized types 2017-04-21 11:38:23 -05:00
version.c Convert remaining code to using newly introduced integer sized types 2017-04-21 11:38:23 -05:00
work_q.c Convert remaining code to using newly introduced integer sized types 2017-04-21 11:38:23 -05:00