zephyr/include/misc/debug
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
..
debug_info.h debug/x86: add runtime info needed by target debuggers 2016-04-16 05:29:22 +00:00
gdb_server.h debug: add target GDB server 2016-04-16 05:29:22 +00:00
mem_safe.h c++: Add extern "C" { } block to header files 2016-02-05 20:25:22 -05:00
object_tracing.h unified: Add object tracing support for kernel objects 2016-11-02 21:56:27 +00:00
object_tracing_common.h unified: Add object tracing support for kernel objects 2016-11-02 21:56:27 +00:00