Skip to content

Commit 9f2626d

Browse files
committed
subsystem: tracing: Add macros for tracking list operations
Add a set of `SYS_PORT_TRACK_K_*` wrapper macros for visible access to the global tracking list, and a macro `SYS_PORT_TRACK_FOR_EACH` for iterating over the tracking list. Signed-off-by: James Roy <rruuaanng@outlook.com>
1 parent 66acb36 commit 9f2626d

File tree

1 file changed

+34
-0
lines changed

1 file changed

+34
-0
lines changed

doc/releases/release-notes-4.3.rst

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,40 @@ New APIs and options
6363
like you need to add more details, add them in the API documentation code
6464
instead.
6565
66+
67+
Libraries / Subsystems
68+
**********************
69+
70+
* Tracing
71+
72+
* Add the :c:macro:`SYS_PORT_TRACK_FOR_EACH` macro for iterating over
73+
a tracking list.
74+
75+
* Add the following wrapper for the :c:macro:`SYS_PORT_TRACK_NEXT` macro to
76+
provide a more visible way to access the global tracking list:
77+
78+
* :c:macro:`SYS_PORT_TRACK_K_TIMER_NEXT` is equivalent to
79+
``SYS_PORT_TRACK_NEXT(_track_list_k_timer)``.
80+
* :c:macro:`SYS_PORT_TRACK_K_MEM_SLAB_NEXT` is equivalent to
81+
``SYS_PORT_TRACK_NEXT(_track_list_k_mem_slab)``.
82+
* :c:macro:`SYS_PORT_TRACK_K_SEM_NEXT` is equivalent to
83+
``SYS_PORT_TRACK_NEXT(_track_list_k_sem)``.
84+
* :c:macro:`SYS_PORT_TRACK_K_MUTEX_NEXT` is equivalent to
85+
``SYS_PORT_TRACK_NEXT(_track_list_k_mutex)``.
86+
* :c:macro:`SYS_PORT_TRACK_K_STACK_NEXT` is equivalent to
87+
``SYS_PORT_TRACK_NEXT(_track_list_k_stack)``.
88+
* :c:macro:`SYS_PORT_TRACK_K_MSGQ_NEXT` is equivalent to
89+
``SYS_PORT_TRACK_NEXT(_track_list_k_msgq)``.
90+
* :c:macro:`SYS_PORT_TRACK_K_MBOX_NEXT` is equivalent to
91+
``SYS_PORT_TRACK_NEXT(_track_list_k_mbox)``.
92+
* :c:macro:`SYS_PORT_TRACK_K_PIPE_NEXT` is equivalent to
93+
``SYS_PORT_TRACK_NEXT(_track_list_k_pipe)``.
94+
* :c:macro:`SYS_PORT_TRACK_K_QUEUE_NEXT` is equivalent to
95+
``SYS_PORT_TRACK_NEXT(_track_list_k_queue)``.
96+
* :c:macro:`SYS_PORT_TRACK_K_EVENT_NEXT` is equivalent to
97+
``SYS_PORT_TRACK_NEXT(_track_list_k_event)``.
98+
99+
66100
New Boards
67101
**********
68102

0 commit comments

Comments
 (0)