zephyr/kernel
Allan Stephens e7d2cc216d unified: Add object tracing support for kernel objects
Defines an object tracing list for each kernel object type
that supports object tracing, and ensures that both statically
and dynamically defined objects are added to the appropriate list.

Ensure that each static kernel object is grouped together with
the other static objects of the same type. Revise the initialization
function for each kernel type (or create it, if needed) so that
each static object is added to the object tracing list for its
associated type.

Note 1: Threads are handled a bit differently than other kernel
object types. A statically-defined thread is added to the thread
list when the thread is started, not when the kernel initializes.
Also, a thread is removed from the thread list when the thread
terminates or aborts, unlike other types of kernel objects which
are never removed from an object tracing list. (Such support would
require the creation of APIs to "uninitialize" the kernel object.)

Note 2: The list head variables for all kernel object types
are now explicitly defined. However, the list head variable for
the ring buffer type continues to be implicitly defined for the
time being, since it isn't considered to be an core kernel object
type.

Change-Id: Ie24d41023e05b3598dc6b344e6871a9692bba02d
Signed-off-by: Allan Stephens <allan.stephens@windriver.com>
2016-11-02 21:56:27 +00:00
..
configs unified: initial unified kernel implementation 2016-09-13 17:12:55 -04:00
microkernel kernel: Revise thread monitoring exit API naming 2016-10-26 17:03:12 +00:00
nanokernel kernel: merge _IS_IN_ISR() with _is_in_isr() 2016-10-27 21:45:03 +00:00
unified unified: Add object tracing support for kernel objects 2016-11-02 21:56:27 +00:00
Kconfig sensor: grove: use global sensor init priority 2016-10-07 20:53:29 +00:00
Makefile unified: Fix build broblem caused by concurrent make processes in single dir 2016-10-05 10:29:31 +00:00