Zephyr API Documentation 4.0.0-rc2
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
Network Core Tracing APIs

Network Core Tracing APIs . More...

Macros

#define sys_port_trace_net_recv_data_enter(iface, pkt)
 Trace network data receive.
 
#define sys_port_trace_net_recv_data_exit(iface, pkt, ret)
 Trace network data receive attempt.
 
#define sys_port_trace_net_send_data_enter(pkt)
 Trace network data send.
 
#define sys_port_trace_net_send_data_exit(pkt, ret)
 Trace network data send attempt.
 
#define sys_port_trace_net_rx_time(pkt, end_time)
 Trace network data receive time.
 
#define sys_port_trace_net_tx_time(pkt, end_time)
 Trace network data sent time.
 

Detailed Description

Network Core Tracing APIs .

Macro Definition Documentation

◆ sys_port_trace_net_recv_data_enter

#define sys_port_trace_net_recv_data_enter ( iface,
pkt )

#include <zephyr/tracing/tracing.h>

Trace network data receive.

Parameters
ifaceNetwork interface
pktReceived network packet

◆ sys_port_trace_net_recv_data_exit

#define sys_port_trace_net_recv_data_exit ( iface,
pkt,
ret )

#include <zephyr/tracing/tracing.h>

Trace network data receive attempt.

Parameters
ifaceNetwork interface
pktReceived network packet
retReturn value

◆ sys_port_trace_net_rx_time

#define sys_port_trace_net_rx_time ( pkt,
end_time )

#include <zephyr/tracing/tracing.h>

Trace network data receive time.

Parameters
pktReceived network packet
end_timeWhen the RX processing stopped for this pkt (in ticks)

◆ sys_port_trace_net_send_data_enter

#define sys_port_trace_net_send_data_enter ( pkt)

#include <zephyr/tracing/tracing.h>

Trace network data send.

Parameters
pktNetwork packet to send

◆ sys_port_trace_net_send_data_exit

#define sys_port_trace_net_send_data_exit ( pkt,
ret )

#include <zephyr/tracing/tracing.h>

Trace network data send attempt.

Parameters
pktReceived network packet
retReturn value

◆ sys_port_trace_net_tx_time

#define sys_port_trace_net_tx_time ( pkt,
end_time )

#include <zephyr/tracing/tracing.h>

Trace network data sent time.

Parameters
pktSent network packet
end_timeWhen the TX processing stopped for this pkt (in ticks)