Files
xemu/trace/trace-net.h
T

158 lines
5.5 KiB
C

/* AUTOGENERATED STUB FOR ANDROID BUILD */
#ifndef TRACE_TRACE_NET_H
#define TRACE_TRACE_NET_H
/* No-op trace events */
#ifndef trace_event_get_state_backends
#define trace_event_get_state_backends(id) (0)
#endif
#ifndef trace_event_get_state
#define trace_event_get_state(id) (0)
#endif
#define TRACE_COLO_COMPARE_DROP_PACKET 0
#define TRACE_COLO_COMPARE_DROP_PACKET_ENABLED 0
#define TRACE_COLO_COMPARE_DROP_PACKET_BACKEND_DSTATE() (0)
static inline void trace_colo_compare_drop_packet(const char *queue, const char *chr) {
(void)queue;
(void)chr;
}
#define TRACE_COLO_COMPARE_ICMP_MISCOMPARE 0
#define TRACE_COLO_COMPARE_ICMP_MISCOMPARE_ENABLED 0
#define TRACE_COLO_COMPARE_ICMP_MISCOMPARE_BACKEND_DSTATE() (0)
static inline void trace_colo_compare_icmp_miscompare(const char *sta, int size) {
(void)sta;
(void)size;
}
#define TRACE_COLO_COMPARE_IP_INFO 0
#define TRACE_COLO_COMPARE_IP_INFO_ENABLED 0
#define TRACE_COLO_COMPARE_IP_INFO_BACKEND_DSTATE() (0)
static inline void trace_colo_compare_ip_info(int psize, const char *sta, const char *stb, int ssize, const char *stc, const char *std) {
(void)psize;
(void)sta;
(void)stb;
(void)ssize;
(void)stc;
(void)std;
}
#define TRACE_COLO_COMPARE_MAIN 0
#define TRACE_COLO_COMPARE_MAIN_ENABLED 0
#define TRACE_COLO_COMPARE_MAIN_BACKEND_DSTATE() (0)
static inline void trace_colo_compare_main(const char *chr) {
(void)chr;
}
#define TRACE_COLO_COMPARE_TCP_INFO 0
#define TRACE_COLO_COMPARE_TCP_INFO_ENABLED 0
#define TRACE_COLO_COMPARE_TCP_INFO_BACKEND_DSTATE() (0)
static inline void trace_colo_compare_tcp_info(const char *pkt, uint32_t seq, uint32_t ack, int hdlen, int pdlen, int offset, int flags) {
(void)pkt;
(void)seq;
(void)ack;
(void)hdlen;
(void)pdlen;
(void)offset;
(void)flags;
}
#define TRACE_COLO_COMPARE_UDP_MISCOMPARE 0
#define TRACE_COLO_COMPARE_UDP_MISCOMPARE_ENABLED 0
#define TRACE_COLO_COMPARE_UDP_MISCOMPARE_BACKEND_DSTATE() (0)
static inline void trace_colo_compare_udp_miscompare(const char *sta, int size) {
(void)sta;
(void)size;
}
#define TRACE_COLO_FILTER_REWRITER_CONN_OFFSET 0
#define TRACE_COLO_FILTER_REWRITER_CONN_OFFSET_ENABLED 0
#define TRACE_COLO_FILTER_REWRITER_CONN_OFFSET_BACKEND_DSTATE() (0)
static inline void trace_colo_filter_rewriter_conn_offset(uint32_t offset) {
(void)offset;
}
#define TRACE_COLO_FILTER_REWRITER_PKT_INFO 0
#define TRACE_COLO_FILTER_REWRITER_PKT_INFO_ENABLED 0
#define TRACE_COLO_FILTER_REWRITER_PKT_INFO_BACKEND_DSTATE() (0)
static inline void trace_colo_filter_rewriter_pkt_info(const char *func, const char *src, const char *dst, uint32_t seq, uint32_t ack, uint32_t flag) {
(void)func;
(void)src;
(void)dst;
(void)seq;
(void)ack;
(void)flag;
}
#define TRACE_COLO_OLD_PACKET_CHECK_FOUND 0
#define TRACE_COLO_OLD_PACKET_CHECK_FOUND_ENABLED 0
#define TRACE_COLO_OLD_PACKET_CHECK_FOUND_BACKEND_DSTATE() (0)
static inline void trace_colo_old_packet_check_found(int64_t old_time) {
(void)old_time;
}
#define TRACE_COLO_PROXY_MAIN 0
#define TRACE_COLO_PROXY_MAIN_ENABLED 0
#define TRACE_COLO_PROXY_MAIN_BACKEND_DSTATE() (0)
static inline void trace_colo_proxy_main(const char *chr) {
(void)chr;
}
#define TRACE_COLO_PROXY_MAIN_VNET_INFO 0
#define TRACE_COLO_PROXY_MAIN_VNET_INFO_ENABLED 0
#define TRACE_COLO_PROXY_MAIN_VNET_INFO_BACKEND_DSTATE() (0)
static inline void trace_colo_proxy_main_vnet_info(const char *sta, uint32_t vnet_hdr, int size) {
(void)sta;
(void)vnet_hdr;
(void)size;
}
#define TRACE_QEMU_ANNOUNCE_SELF_ITER 0
#define TRACE_QEMU_ANNOUNCE_SELF_ITER_ENABLED 0
#define TRACE_QEMU_ANNOUNCE_SELF_ITER_BACKEND_DSTATE() (0)
static inline void trace_qemu_announce_self_iter(const char *id, const char *name, const char *mac, int skip) {
(void)id;
(void)name;
(void)mac;
(void)skip;
}
#define TRACE_QEMU_ANNOUNCE_TIMER_DEL 0
#define TRACE_QEMU_ANNOUNCE_TIMER_DEL_ENABLED 0
#define TRACE_QEMU_ANNOUNCE_TIMER_DEL_BACKEND_DSTATE() (0)
static inline void trace_qemu_announce_timer_del(bool free_named, bool free_timer, char *id) {
(void)free_named;
(void)free_timer;
(void)id;
}
#define TRACE_VHOST_USER_EVENT 0
#define TRACE_VHOST_USER_EVENT_ENABLED 0
#define TRACE_VHOST_USER_EVENT_BACKEND_DSTATE() (0)
static inline void trace_vhost_user_event(const char *chr, int event) {
(void)chr;
(void)event;
}
#define TRACE_VHOST_VDPA_NET_LOAD_CMD 0
#define TRACE_VHOST_VDPA_NET_LOAD_CMD_ENABLED 0
#define TRACE_VHOST_VDPA_NET_LOAD_CMD_BACKEND_DSTATE() (0)
static inline void trace_vhost_vdpa_net_load_cmd(void *s, uint8_t class, uint8_t cmd, int data_num, int data_size) {
(void)s;
(void)class;
(void)cmd;
(void)data_num;
(void)data_size;
}
#define TRACE_VHOST_VDPA_NET_LOAD_CMD_RETVAL 0
#define TRACE_VHOST_VDPA_NET_LOAD_CMD_RETVAL_ENABLED 0
#define TRACE_VHOST_VDPA_NET_LOAD_CMD_RETVAL_BACKEND_DSTATE() (0)
static inline void trace_vhost_vdpa_net_load_cmd_retval(void *s, uint8_t class, uint8_t cmd, int r) {
(void)s;
(void)class;
(void)cmd;
(void)r;
}
#define TRACE_VHOST_VDPA_NET_LOAD_MQ 0
#define TRACE_VHOST_VDPA_NET_LOAD_MQ_ENABLED 0
#define TRACE_VHOST_VDPA_NET_LOAD_MQ_BACKEND_DSTATE() (0)
static inline void trace_vhost_vdpa_net_load_mq(void *s, int ncurqps) {
(void)s;
(void)ncurqps;
}
#define TRACE_VHOST_VDPA_SET_ADDRESS_SPACE_ID 0
#define TRACE_VHOST_VDPA_SET_ADDRESS_SPACE_ID_ENABLED 0
#define TRACE_VHOST_VDPA_SET_ADDRESS_SPACE_ID_BACKEND_DSTATE() (0)
static inline void trace_vhost_vdpa_set_address_space_id(void *v, unsigned vq_group, unsigned asid_num) {
(void)v;
(void)vq_group;
(void)asid_num;
}
#endif