/* This file is autogenerated by tracetool, do not edit. */
/* SPDX-License-Identifier: GPL-2.0-or-later */

#include "qemu/osdep.h"
#include "qemu/module.h"
#include "trace-hw_vfio_user.h"

uint16_t _TRACE_VFIO_USER_DMA_MAP_DSTATE;
uint16_t _TRACE_VFIO_USER_DMA_UNMAP_DSTATE;
uint16_t _TRACE_VFIO_USER_DEVICE_IO_DEVICE_FEATURE_DSTATE;
uint16_t _TRACE_VFIO_USER_GET_INFO_DSTATE;
uint16_t _TRACE_VFIO_USER_GET_IRQ_INFO_DSTATE;
uint16_t _TRACE_VFIO_USER_SET_IRQS_DSTATE;
uint16_t _TRACE_VFIO_USER_GET_REGION_INFO_DSTATE;
uint16_t _TRACE_VFIO_USER_REGION_RW_DSTATE;
uint16_t _TRACE_VFIO_USER_RECV_HDR_DSTATE;
uint16_t _TRACE_VFIO_USER_RECV_READ_DSTATE;
uint16_t _TRACE_VFIO_USER_RECV_REQUEST_DSTATE;
uint16_t _TRACE_VFIO_USER_SEND_WRITE_DSTATE;
uint16_t _TRACE_VFIO_USER_VERSION_DSTATE;
uint16_t _TRACE_VFIO_USER_WRMULTI_DSTATE;
TraceEvent _TRACE_VFIO_USER_DMA_MAP_EVENT = {
    .id = 0,
    .name = "vfio_user_dma_map",
    .sstate = TRACE_VFIO_USER_DMA_MAP_ENABLED,
    .dstate = &_TRACE_VFIO_USER_DMA_MAP_DSTATE
};
TraceEvent _TRACE_VFIO_USER_DMA_UNMAP_EVENT = {
    .id = 0,
    .name = "vfio_user_dma_unmap",
    .sstate = TRACE_VFIO_USER_DMA_UNMAP_ENABLED,
    .dstate = &_TRACE_VFIO_USER_DMA_UNMAP_DSTATE
};
TraceEvent _TRACE_VFIO_USER_DEVICE_IO_DEVICE_FEATURE_EVENT = {
    .id = 0,
    .name = "vfio_user_device_io_device_feature",
    .sstate = TRACE_VFIO_USER_DEVICE_IO_DEVICE_FEATURE_ENABLED,
    .dstate = &_TRACE_VFIO_USER_DEVICE_IO_DEVICE_FEATURE_DSTATE
};
TraceEvent _TRACE_VFIO_USER_GET_INFO_EVENT = {
    .id = 0,
    .name = "vfio_user_get_info",
    .sstate = TRACE_VFIO_USER_GET_INFO_ENABLED,
    .dstate = &_TRACE_VFIO_USER_GET_INFO_DSTATE
};
TraceEvent _TRACE_VFIO_USER_GET_IRQ_INFO_EVENT = {
    .id = 0,
    .name = "vfio_user_get_irq_info",
    .sstate = TRACE_VFIO_USER_GET_IRQ_INFO_ENABLED,
    .dstate = &_TRACE_VFIO_USER_GET_IRQ_INFO_DSTATE
};
TraceEvent _TRACE_VFIO_USER_SET_IRQS_EVENT = {
    .id = 0,
    .name = "vfio_user_set_irqs",
    .sstate = TRACE_VFIO_USER_SET_IRQS_ENABLED,
    .dstate = &_TRACE_VFIO_USER_SET_IRQS_DSTATE
};
TraceEvent _TRACE_VFIO_USER_GET_REGION_INFO_EVENT = {
    .id = 0,
    .name = "vfio_user_get_region_info",
    .sstate = TRACE_VFIO_USER_GET_REGION_INFO_ENABLED,
    .dstate = &_TRACE_VFIO_USER_GET_REGION_INFO_DSTATE
};
TraceEvent _TRACE_VFIO_USER_REGION_RW_EVENT = {
    .id = 0,
    .name = "vfio_user_region_rw",
    .sstate = TRACE_VFIO_USER_REGION_RW_ENABLED,
    .dstate = &_TRACE_VFIO_USER_REGION_RW_DSTATE
};
TraceEvent _TRACE_VFIO_USER_RECV_HDR_EVENT = {
    .id = 0,
    .name = "vfio_user_recv_hdr",
    .sstate = TRACE_VFIO_USER_RECV_HDR_ENABLED,
    .dstate = &_TRACE_VFIO_USER_RECV_HDR_DSTATE
};
TraceEvent _TRACE_VFIO_USER_RECV_READ_EVENT = {
    .id = 0,
    .name = "vfio_user_recv_read",
    .sstate = TRACE_VFIO_USER_RECV_READ_ENABLED,
    .dstate = &_TRACE_VFIO_USER_RECV_READ_DSTATE
};
TraceEvent _TRACE_VFIO_USER_RECV_REQUEST_EVENT = {
    .id = 0,
    .name = "vfio_user_recv_request",
    .sstate = TRACE_VFIO_USER_RECV_REQUEST_ENABLED,
    .dstate = &_TRACE_VFIO_USER_RECV_REQUEST_DSTATE
};
TraceEvent _TRACE_VFIO_USER_SEND_WRITE_EVENT = {
    .id = 0,
    .name = "vfio_user_send_write",
    .sstate = TRACE_VFIO_USER_SEND_WRITE_ENABLED,
    .dstate = &_TRACE_VFIO_USER_SEND_WRITE_DSTATE
};
TraceEvent _TRACE_VFIO_USER_VERSION_EVENT = {
    .id = 0,
    .name = "vfio_user_version",
    .sstate = TRACE_VFIO_USER_VERSION_ENABLED,
    .dstate = &_TRACE_VFIO_USER_VERSION_DSTATE
};
TraceEvent _TRACE_VFIO_USER_WRMULTI_EVENT = {
    .id = 0,
    .name = "vfio_user_wrmulti",
    .sstate = TRACE_VFIO_USER_WRMULTI_ENABLED,
    .dstate = &_TRACE_VFIO_USER_WRMULTI_DSTATE
};
TraceEvent *hw_vfio_user_trace_events[] = {
    &_TRACE_VFIO_USER_DMA_MAP_EVENT,
    &_TRACE_VFIO_USER_DMA_UNMAP_EVENT,
    &_TRACE_VFIO_USER_DEVICE_IO_DEVICE_FEATURE_EVENT,
    &_TRACE_VFIO_USER_GET_INFO_EVENT,
    &_TRACE_VFIO_USER_GET_IRQ_INFO_EVENT,
    &_TRACE_VFIO_USER_SET_IRQS_EVENT,
    &_TRACE_VFIO_USER_GET_REGION_INFO_EVENT,
    &_TRACE_VFIO_USER_REGION_RW_EVENT,
    &_TRACE_VFIO_USER_RECV_HDR_EVENT,
    &_TRACE_VFIO_USER_RECV_READ_EVENT,
    &_TRACE_VFIO_USER_RECV_REQUEST_EVENT,
    &_TRACE_VFIO_USER_SEND_WRITE_EVENT,
    &_TRACE_VFIO_USER_VERSION_EVENT,
    &_TRACE_VFIO_USER_WRMULTI_EVENT,
  NULL,
};

static void trace_hw_vfio_user_register_events(void)
{
    trace_event_register_group(hw_vfio_user_trace_events);
}
trace_init(trace_hw_vfio_user_register_events)
