Zephyr API Documentation 4.3.0-rc1
A Scalable Open Source RTOS
Loading...
Searching...
No Matches

Helpers for accessing object tracking lists. More...

Files

file  tracking.h
 Header file for object tracking API.

Macros

#define SYS_PORT_TRACK_NEXT(list)
 Gets node's next element in a object tracking list.

Variables

struct k_timer_track_list_k_timer
 Head of the tracking list for k_timer objects.
struct k_mem_slab * _track_list_k_mem_slab
 Head of the tracking list for k_mem_slab objects.
struct k_sem_track_list_k_sem
 Head of the tracking list for k_sem objects.
struct k_mutex_track_list_k_mutex
 Head of the tracking list for k_mutex objects.
struct k_stack * _track_list_k_stack
 Head of the tracking list for k_stack objects.
struct k_msgq_track_list_k_msgq
 Head of the tracking list for k_msgq objects.
struct k_mbox_track_list_k_mbox
 Head of the tracking list for k_mbox objects.
struct k_pipe_track_list_k_pipe
 Head of the tracking list for k_pipe objects.
struct k_queue_track_list_k_queue
 Head of the tracking list for k_queue objects.
struct k_event_track_list_k_event
 Head of the tracking list for k_event objects.

Detailed Description

Helpers for accessing object tracking lists.

Object tracking provides lists to kernel objects, so their existence and current status can be tracked.

The following global variables are the heads of available lists:

Note
To enable object tracking, enable CONFIG_TRACING_OBJECT_TRACKING. When disabled, all macros compile to no-ops, preserving call sites with zero runtime cost.

Macro Definition Documentation

◆ SYS_PORT_TRACK_NEXT

#define SYS_PORT_TRACK_NEXT ( list)

#include <zephyr/tracing/tracking.h>

Value:
((list)->_obj_track_next)

Gets node's next element in a object tracking list.

Parameters
listNode to get next element from.

Variable Documentation

◆ _track_list_k_event

struct k_event* _track_list_k_event
extern

#include <zephyr/tracing/tracking.h>

Head of the tracking list for k_event objects.

◆ _track_list_k_mbox

struct k_mbox* _track_list_k_mbox
extern

#include <zephyr/tracing/tracking.h>

Head of the tracking list for k_mbox objects.

◆ _track_list_k_mem_slab

struct k_mem_slab* _track_list_k_mem_slab
extern

#include <zephyr/tracing/tracking.h>

Head of the tracking list for k_mem_slab objects.

◆ _track_list_k_msgq

struct k_msgq* _track_list_k_msgq
extern

#include <zephyr/tracing/tracking.h>

Head of the tracking list for k_msgq objects.

◆ _track_list_k_mutex

struct k_mutex* _track_list_k_mutex
extern

#include <zephyr/tracing/tracking.h>

Head of the tracking list for k_mutex objects.

◆ _track_list_k_pipe

struct k_pipe* _track_list_k_pipe
extern

#include <zephyr/tracing/tracking.h>

Head of the tracking list for k_pipe objects.

◆ _track_list_k_queue

struct k_queue* _track_list_k_queue
extern

#include <zephyr/tracing/tracking.h>

Head of the tracking list for k_queue objects.

◆ _track_list_k_sem

struct k_sem* _track_list_k_sem
extern

#include <zephyr/tracing/tracking.h>

Head of the tracking list for k_sem objects.

◆ _track_list_k_stack

struct k_stack* _track_list_k_stack
extern

#include <zephyr/tracing/tracking.h>

Head of the tracking list for k_stack objects.

◆ _track_list_k_timer

struct k_timer* _track_list_k_timer
extern

#include <zephyr/tracing/tracking.h>

Head of the tracking list for k_timer objects.