zephyr/include
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
..
arch build: consolidate some common parts of linker scripts 2016-10-31 18:00:58 -07:00
bluetooth Bluetooth: Rename BT_SECURITY_ZERO to BT_SECURITY_NONE 2016-11-01 21:40:39 +02:00
display
drivers Bluetooth: Move hci_driver.h to include/drivers/bluetooth 2016-11-01 21:40:39 +02:00
fs fs: Make API naming adhere to the appropriate namespace 2016-10-31 08:08:10 +02:00
linker unified: Add linker script support for all kernel object types 2016-11-02 21:56:26 +00:00
microkernel kernel: Fix to DEFINE_TASK() macro 2016-10-11 09:54:44 -05:00
misc unified: Add object tracing support for kernel objects 2016-11-02 21:56:27 +00:00
net net: Use proper format for printing size_t 2016-10-27 08:08:27 +00:00
toolchain kernel: Add __unused tag 2016-10-03 20:22:05 +00:00
usb usb: move usb subsystem to subsys/usb and cleanup header inclusion 2016-10-31 19:21:42 +00:00
adc.h drivers/adc: Make references to driver_api const 2016-10-24 22:22:20 +00:00
aio_comparator.h drivers/aio_comparator: Make references to driver_api const 2016-10-24 22:22:20 +00:00
atomic.h atomic: fix bug in ATOMIC_INIT() 2016-09-13 17:12:55 -04:00
cache.h
clock_control.h drivers/clock_control: Make references to driver_api const 2016-10-24 22:22:21 +00:00
counter.h drivers/counter: Make references to driver_api const 2016-10-24 22:22:21 +00:00
device.h drivers: Make the device struct driver_api pointer target const 2016-10-25 18:45:09 +00:00
dma.h drivers/dma: Make references to driver_api const 2016-10-24 22:22:22 +00:00
eth.h drivers/eth: Make references to driver_api const 2016-10-24 22:22:22 +00:00
flash.h drivers/flash: Make references to driver_api const 2016-10-24 22:22:26 +00:00
fs.h fs: Make API naming adhere to the appropriate namespace 2016-10-31 08:08:10 +02:00
gpio.h drivers/gpio: Make references to driver_api const 2016-10-24 22:22:26 +00:00
i2c.h drivers/i2c: Make references to driver_api const 2016-10-24 22:22:25 +00:00
init.h device_pm: Update control function name and doc to indicate PM specific 2016-10-21 23:32:52 +00:00
ipm.h drivers/ipm: Make references to driver_api const 2016-10-24 22:22:25 +00:00
irq.h irq: Add irq_is_enabled external interrupt API 2016-09-20 19:45:12 +00:00
irq_offload.h
kernel.h unified: Add object tracing support for kernel objects 2016-11-02 21:56:27 +00:00
kernel_version.h kernel: Allow SYS_KERNEL_VER_MAJOR(), etc. return full range of values. 2016-10-22 10:04:00 +00:00
legacy.h unified: Add object tracing support for kernel objects 2016-11-02 21:56:27 +00:00
linker-defs.h console: shell: Support multiple modules 2016-11-02 00:23:18 +00:00
linker-tool-gcc.h x86 link: Specify ALIGN_WITH_INPUT for XIP data sections 2016-10-01 01:41:50 +00:00
linker-tool.h
microkernel.h unified: include kernel.h via major top-level header files 2016-09-13 17:12:55 -04:00
nanokernel.h nanokernel: Add nano_sem_count_get for getting nano_sem count 2016-10-21 13:30:39 +00:00
pinmux.h drivers/pinmux: Make references to driver_api const 2016-10-24 22:22:24 +00:00
power.h power_mgmt: Reduce complexity in handling of power hooks 2016-10-05 10:05:42 +00:00
pwm.h drivers: pwm: re-design pwm API interfaces 2016-10-31 20:01:04 +00:00
rtc.h drivers/rtc: Make references to driver_api const 2016-10-24 22:22:24 +00:00
section_tags.h
sections.h
sensor.h drivers/sensor: Make references to driver_api const 2016-10-24 22:22:23 +00:00
shared_irq.h drivers/shared_irq: Make references to driver_api const 2016-10-24 22:22:23 +00:00
spi.h drivers/spi: Make references to driver_api const 2016-10-24 22:22:20 +00:00
sw_isr_table.h
sys_clock.h
sys_io.h
toolchain.h
uart.h drivers/uart: Make references to driver_api const 2016-10-25 11:31:09 +00:00
watchdog.h drivers/watchdog: Make references to driver_api const. 2016-10-24 22:22:19 +00:00
zephyr.h unified: include kernel.h via major top-level header files 2016-09-13 17:12:55 -04:00