|
Zephyr API Documentation 4.5.99
A Scalable Open Source RTOS
|
zbus Tracing APIs More...
Macros | |
| #define | sys_port_trace_zbus_chan_pub_enter(chan, timeout) |
| Trace zbus channel publish attempt entry. | |
| #define | sys_port_trace_zbus_chan_pub_exit(chan, timeout, ret) |
| Trace zbus channel publish attempt outcome. | |
| #define | sys_port_trace_zbus_chan_read_enter(chan, timeout) |
| Trace zbus channel read attempt entry. | |
| #define | sys_port_trace_zbus_chan_read_exit(chan, timeout, ret) |
| Trace zbus channel read attempt outcome. | |
| #define | sys_port_trace_zbus_chan_notify_enter(chan, timeout) |
| Trace zbus channel notify attempt entry. | |
| #define | sys_port_trace_zbus_chan_notify_exit(chan, timeout, ret) |
| Trace zbus channel notify attempt outcome. | |
| #define | sys_port_trace_zbus_chan_claim_enter(chan, timeout) |
| Trace zbus channel claim attempt entry. | |
| #define | sys_port_trace_zbus_chan_claim_exit(chan, timeout, ret) |
| Trace zbus channel claim attempt outcome. | |
| #define | sys_port_trace_zbus_chan_finish_enter(chan) |
| Trace zbus channel finish entry. | |
| #define | sys_port_trace_zbus_chan_finish_exit(chan, ret) |
| Trace zbus channel finish outcome. | |
| #define | sys_port_trace_zbus_sub_wait_enter(sub, timeout) |
| Trace zbus subscriber wait attempt entry. | |
| #define | sys_port_trace_zbus_sub_wait_exit(sub, timeout, chan, ret) |
| Trace zbus subscriber wait attempt outcome. | |
| #define | sys_port_trace_zbus_sub_wait_msg_enter(sub, timeout) |
| Trace zbus message subscriber wait attempt entry. | |
| #define | sys_port_trace_zbus_sub_wait_msg_exit(sub, timeout, chan, ret) |
| Trace zbus message subscriber wait attempt outcome. | |
| #define | sys_port_trace_zbus_obs_notify_enter(obs, chan) |
| Trace zbus starting to notify one observer of a channel. | |
| #define | sys_port_trace_zbus_obs_notify_exit(obs, chan, ret) |
| Trace zbus done notifying one observer of a channel. | |
| #define | sys_port_trace_zbus_async_listener_enter(obs, chan) |
| Trace a zbus async listener callback entry, in its work queue. | |
| #define | sys_port_trace_zbus_async_listener_exit(obs, chan) |
| Trace a zbus async listener callback exit. | |
zbus Tracing APIs
| #define sys_port_trace_zbus_async_listener_enter | ( | obs, | |
| chan ) |
#include <zephyr/tracing/tracing_hooks.h>
Trace a zbus async listener callback entry, in its work queue.
| obs | Reference to the async listener |
| chan | Reference to the channel |
| #define sys_port_trace_zbus_async_listener_exit | ( | obs, | |
| chan ) |
#include <zephyr/tracing/tracing_hooks.h>
Trace a zbus async listener callback exit.
| obs | Reference to the async listener |
| chan | Reference to the channel |
| #define sys_port_trace_zbus_chan_claim_enter | ( | chan, | |
| timeout ) |
#include <zephyr/tracing/tracing_hooks.h>
Trace zbus channel claim attempt entry.
| chan | Reference to the channel |
| timeout | Timeout period |
| #define sys_port_trace_zbus_chan_claim_exit | ( | chan, | |
| timeout, | |||
| ret ) |
#include <zephyr/tracing/tracing_hooks.h>
Trace zbus channel claim attempt outcome.
| chan | Reference to the channel |
| timeout | Timeout period |
| ret | Return value |
| #define sys_port_trace_zbus_chan_finish_enter | ( | chan | ) |
#include <zephyr/tracing/tracing_hooks.h>
Trace zbus channel finish entry.
| chan | Reference to the channel |
| #define sys_port_trace_zbus_chan_finish_exit | ( | chan, | |
| ret ) |
#include <zephyr/tracing/tracing_hooks.h>
Trace zbus channel finish outcome.
| chan | Reference to the channel |
| ret | Return value |
| #define sys_port_trace_zbus_chan_notify_enter | ( | chan, | |
| timeout ) |
#include <zephyr/tracing/tracing_hooks.h>
Trace zbus channel notify attempt entry.
| chan | Reference to the channel |
| timeout | Timeout period |
| #define sys_port_trace_zbus_chan_notify_exit | ( | chan, | |
| timeout, | |||
| ret ) |
#include <zephyr/tracing/tracing_hooks.h>
Trace zbus channel notify attempt outcome.
| chan | Reference to the channel |
| timeout | Timeout period |
| ret | Return value |
| #define sys_port_trace_zbus_chan_pub_enter | ( | chan, | |
| timeout ) |
#include <zephyr/tracing/tracing_hooks.h>
Trace zbus channel publish attempt entry.
| chan | Reference to the channel |
| timeout | Timeout period |
| #define sys_port_trace_zbus_chan_pub_exit | ( | chan, | |
| timeout, | |||
| ret ) |
#include <zephyr/tracing/tracing_hooks.h>
Trace zbus channel publish attempt outcome.
| chan | Reference to the channel |
| timeout | Timeout period |
| ret | Return value |
| #define sys_port_trace_zbus_chan_read_enter | ( | chan, | |
| timeout ) |
#include <zephyr/tracing/tracing_hooks.h>
Trace zbus channel read attempt entry.
| chan | Reference to the channel |
| timeout | Timeout period |
| #define sys_port_trace_zbus_chan_read_exit | ( | chan, | |
| timeout, | |||
| ret ) |
#include <zephyr/tracing/tracing_hooks.h>
Trace zbus channel read attempt outcome.
| chan | Reference to the channel |
| timeout | Timeout period |
| ret | Return value |
| #define sys_port_trace_zbus_obs_notify_enter | ( | obs, | |
| chan ) |
#include <zephyr/tracing/tracing_hooks.h>
Trace zbus starting to notify one observer of a channel.
A listener's callback runs between this hook and sys_port_trace_zbus_obs_notify_exit.
| obs | Reference to the observer |
| chan | Reference to the channel |
| #define sys_port_trace_zbus_obs_notify_exit | ( | obs, | |
| chan, | |||
| ret ) |
#include <zephyr/tracing/tracing_hooks.h>
Trace zbus done notifying one observer of a channel.
| obs | Reference to the observer |
| chan | Reference to the channel |
| ret | Return value |
| #define sys_port_trace_zbus_sub_wait_enter | ( | sub, | |
| timeout ) |
#include <zephyr/tracing/tracing_hooks.h>
Trace zbus subscriber wait attempt entry.
| sub | Reference to the subscriber |
| timeout | Timeout period |
| #define sys_port_trace_zbus_sub_wait_exit | ( | sub, | |
| timeout, | |||
| chan, | |||
| ret ) |
#include <zephyr/tracing/tracing_hooks.h>
Trace zbus subscriber wait attempt outcome.
| sub | Reference to the subscriber |
| timeout | Timeout period |
| chan | Reference to the channel that notified the subscriber, or NULL when none did |
| ret | Return value |
| #define sys_port_trace_zbus_sub_wait_msg_enter | ( | sub, | |
| timeout ) |
#include <zephyr/tracing/tracing_hooks.h>
Trace zbus message subscriber wait attempt entry.
| sub | Reference to the subscriber |
| timeout | Timeout period |
| #define sys_port_trace_zbus_sub_wait_msg_exit | ( | sub, | |
| timeout, | |||
| chan, | |||
| ret ) |
#include <zephyr/tracing/tracing_hooks.h>
Trace zbus message subscriber wait attempt outcome.
| sub | Reference to the subscriber |
| timeout | Timeout period |
| chan | Reference to the channel that notified the subscriber, or NULL when none did |
| ret | Return value |