zephyr/include/misc
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 unified: Add object tracing support for kernel objects 2016-11-02 21:56:27 +00:00
__assert.h __assert.h: format strings are not optional 2016-07-20 23:40:48 +00:00
byteorder.h misc: fix off-by-one error in sys_memcpy_swap's assert 2016-10-15 04:14:43 -04:00
dlist.h dlist: add sys_dlist_peek_head_not_empty() 2016-10-10 21:27:29 +00:00
event_logger.h
kernel_event_logger.h doc: Fix terminology in Kconfig files for 'platform' 2016-08-18 21:17:29 +00:00
nano_work.h nano_work: Don't assert if work is pending on submit 2016-10-04 17:29:59 +03:00
printk.h printk: warn on incorrect format code usage 2016-08-30 21:43:21 +00:00
reboot.h
ring_buffer.h unified/doc: Update ring buffers section of Kernel Primer 2016-10-21 15:33:31 +00:00
shell.h console: shell: Support multiple modules 2016-11-02 00:23:18 +00:00
slist.h slist: add static initialization macro 2016-10-01 01:36:38 +00:00
stack.h
sys_log.h sys_log: adds system log documentation page 2016-06-14 22:55:38 +00:00
util.h QMSI/uart: Use IOAPIC_EDGE instead of IOAPIC_LEVEL 2016-07-12 19:30:31 +00:00