/* This file is autogenerated by tracetool, do not edit. */

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

uint16_t _TRACE_VHOST_COMMIT_DSTATE;
uint16_t _TRACE_VHOST_REGION_ADD_SECTION_DSTATE;
uint16_t _TRACE_VHOST_REGION_ADD_SECTION_MERGE_DSTATE;
uint16_t _TRACE_VHOST_REGION_ADD_SECTION_ALIGNED_DSTATE;
uint16_t _TRACE_VHOST_SECTION_DSTATE;
uint16_t _TRACE_VHOST_REJECT_SECTION_DSTATE;
uint16_t _TRACE_VHOST_IOTLB_MISS_DSTATE;
uint16_t _TRACE_VHOST_USER_POSTCOPY_END_ENTRY_DSTATE;
uint16_t _TRACE_VHOST_USER_POSTCOPY_END_EXIT_DSTATE;
uint16_t _TRACE_VHOST_USER_POSTCOPY_FAULT_HANDLER_DSTATE;
uint16_t _TRACE_VHOST_USER_POSTCOPY_FAULT_HANDLER_LOOP_DSTATE;
uint16_t _TRACE_VHOST_USER_POSTCOPY_FAULT_HANDLER_FOUND_DSTATE;
uint16_t _TRACE_VHOST_USER_POSTCOPY_LISTEN_DSTATE;
uint16_t _TRACE_VHOST_USER_SET_MEM_TABLE_POSTCOPY_DSTATE;
uint16_t _TRACE_VHOST_USER_SET_MEM_TABLE_WITHFD_DSTATE;
uint16_t _TRACE_VHOST_USER_POSTCOPY_WAKER_DSTATE;
uint16_t _TRACE_VHOST_USER_POSTCOPY_WAKER_FOUND_DSTATE;
uint16_t _TRACE_VHOST_USER_POSTCOPY_WAKER_NOMATCH_DSTATE;
uint16_t _TRACE_VHOST_VDPA_DMA_MAP_DSTATE;
uint16_t _TRACE_VHOST_VDPA_DMA_UNMAP_DSTATE;
uint16_t _TRACE_VHOST_VDPA_LISTENER_REGION_ADD_DSTATE;
uint16_t _TRACE_VHOST_VDPA_LISTENER_REGION_DEL_DSTATE;
uint16_t _TRACE_VHOST_VDPA_ADD_STATUS_DSTATE;
uint16_t _TRACE_VHOST_VDPA_INIT_DSTATE;
uint16_t _TRACE_VHOST_VDPA_CLEANUP_DSTATE;
uint16_t _TRACE_VHOST_VDPA_MEMSLOTS_LIMIT_DSTATE;
uint16_t _TRACE_VHOST_VDPA_SET_MEM_TABLE_DSTATE;
uint16_t _TRACE_VHOST_VDPA_DUMP_REGIONS_DSTATE;
uint16_t _TRACE_VHOST_VDPA_SET_FEATURES_DSTATE;
uint16_t _TRACE_VHOST_VDPA_GET_DEVICE_ID_DSTATE;
uint16_t _TRACE_VHOST_VDPA_RESET_DEVICE_DSTATE;
uint16_t _TRACE_VHOST_VDPA_GET_VQ_INDEX_DSTATE;
uint16_t _TRACE_VHOST_VDPA_SET_VRING_READY_DSTATE;
uint16_t _TRACE_VHOST_VDPA_DUMP_CONFIG_DSTATE;
uint16_t _TRACE_VHOST_VDPA_SET_CONFIG_DSTATE;
uint16_t _TRACE_VHOST_VDPA_GET_CONFIG_DSTATE;
uint16_t _TRACE_VHOST_VDPA_DEV_START_DSTATE;
uint16_t _TRACE_VHOST_VDPA_SET_LOG_BASE_DSTATE;
uint16_t _TRACE_VHOST_VDPA_SET_VRING_ADDR_DSTATE;
uint16_t _TRACE_VHOST_VDPA_SET_VRING_NUM_DSTATE;
uint16_t _TRACE_VHOST_VDPA_SET_VRING_BASE_DSTATE;
uint16_t _TRACE_VHOST_VDPA_GET_VRING_BASE_DSTATE;
uint16_t _TRACE_VHOST_VDPA_SET_VRING_KICK_DSTATE;
uint16_t _TRACE_VHOST_VDPA_SET_VRING_CALL_DSTATE;
uint16_t _TRACE_VHOST_VDPA_GET_FEATURES_DSTATE;
uint16_t _TRACE_VHOST_VDPA_SET_OWNER_DSTATE;
uint16_t _TRACE_VHOST_VDPA_VQ_GET_ADDR_DSTATE;
uint16_t _TRACE_VHOST_VDPA_GET_IOVA_RANGE_DSTATE;
uint16_t _TRACE_VIRTQUEUE_ALLOC_ELEMENT_DSTATE;
uint16_t _TRACE_VIRTQUEUE_FILL_DSTATE;
uint16_t _TRACE_VIRTQUEUE_FLUSH_DSTATE;
uint16_t _TRACE_VIRTQUEUE_POP_DSTATE;
uint16_t _TRACE_VIRTIO_QUEUE_NOTIFY_DSTATE;
uint16_t _TRACE_VIRTIO_NOTIFY_IRQFD_DSTATE;
uint16_t _TRACE_VIRTIO_NOTIFY_DSTATE;
uint16_t _TRACE_VIRTIO_SET_STATUS_DSTATE;
uint16_t _TRACE_VIRTIO_RNG_GUEST_NOT_READY_DSTATE;
uint16_t _TRACE_VIRTIO_RNG_CPU_IS_STOPPED_DSTATE;
uint16_t _TRACE_VIRTIO_RNG_POPPED_DSTATE;
uint16_t _TRACE_VIRTIO_RNG_PUSHED_DSTATE;
uint16_t _TRACE_VIRTIO_RNG_REQUEST_DSTATE;
uint16_t _TRACE_VIRTIO_RNG_VM_STATE_CHANGE_DSTATE;
uint16_t _TRACE_VIRTIO_BALLOON_BAD_ADDR_DSTATE;
uint16_t _TRACE_VIRTIO_BALLOON_HANDLE_OUTPUT_DSTATE;
uint16_t _TRACE_VIRTIO_BALLOON_GET_CONFIG_DSTATE;
uint16_t _TRACE_VIRTIO_BALLOON_SET_CONFIG_DSTATE;
uint16_t _TRACE_VIRTIO_BALLOON_TO_TARGET_DSTATE;
uint16_t _TRACE_VIRTIO_MMIO_READ_DSTATE;
uint16_t _TRACE_VIRTIO_MMIO_WRITE_OFFSET_DSTATE;
uint16_t _TRACE_VIRTIO_MMIO_GUEST_PAGE_DSTATE;
uint16_t _TRACE_VIRTIO_MMIO_QUEUE_WRITE_DSTATE;
uint16_t _TRACE_VIRTIO_MMIO_SETTING_IRQ_DSTATE;
uint16_t _TRACE_VIRTIO_IOMMU_DEVICE_RESET_DSTATE;
uint16_t _TRACE_VIRTIO_IOMMU_SYSTEM_RESET_DSTATE;
uint16_t _TRACE_VIRTIO_IOMMU_GET_FEATURES_DSTATE;
uint16_t _TRACE_VIRTIO_IOMMU_DEVICE_STATUS_DSTATE;
uint16_t _TRACE_VIRTIO_IOMMU_GET_CONFIG_DSTATE;
uint16_t _TRACE_VIRTIO_IOMMU_SET_CONFIG_DSTATE;
uint16_t _TRACE_VIRTIO_IOMMU_ATTACH_DSTATE;
uint16_t _TRACE_VIRTIO_IOMMU_DETACH_DSTATE;
uint16_t _TRACE_VIRTIO_IOMMU_MAP_DSTATE;
uint16_t _TRACE_VIRTIO_IOMMU_UNMAP_DSTATE;
uint16_t _TRACE_VIRTIO_IOMMU_UNMAP_DONE_DSTATE;
uint16_t _TRACE_VIRTIO_IOMMU_TRANSLATE_DSTATE;
uint16_t _TRACE_VIRTIO_IOMMU_INIT_IOMMU_MR_DSTATE;
uint16_t _TRACE_VIRTIO_IOMMU_GET_ENDPOINT_DSTATE;
uint16_t _TRACE_VIRTIO_IOMMU_PUT_ENDPOINT_DSTATE;
uint16_t _TRACE_VIRTIO_IOMMU_GET_DOMAIN_DSTATE;
uint16_t _TRACE_VIRTIO_IOMMU_PUT_DOMAIN_DSTATE;
uint16_t _TRACE_VIRTIO_IOMMU_TRANSLATE_OUT_DSTATE;
uint16_t _TRACE_VIRTIO_IOMMU_REPORT_FAULT_DSTATE;
uint16_t _TRACE_VIRTIO_IOMMU_FILL_RESV_PROPERTY_DSTATE;
uint16_t _TRACE_VIRTIO_IOMMU_NOTIFY_MAP_DSTATE;
uint16_t _TRACE_VIRTIO_IOMMU_NOTIFY_UNMAP_DSTATE;
uint16_t _TRACE_VIRTIO_IOMMU_REMAP_DSTATE;
uint16_t _TRACE_VIRTIO_IOMMU_SET_PAGE_SIZE_MASK_DSTATE;
uint16_t _TRACE_VIRTIO_IOMMU_NOTIFY_FLAG_ADD_DSTATE;
uint16_t _TRACE_VIRTIO_IOMMU_NOTIFY_FLAG_DEL_DSTATE;
uint16_t _TRACE_VIRTIO_MEM_SEND_RESPONSE_DSTATE;
uint16_t _TRACE_VIRTIO_MEM_PLUG_REQUEST_DSTATE;
uint16_t _TRACE_VIRTIO_MEM_UNPLUG_REQUEST_DSTATE;
uint16_t _TRACE_VIRTIO_MEM_UNPLUGGED_ALL_DSTATE;
uint16_t _TRACE_VIRTIO_MEM_UNPLUG_ALL_REQUEST_DSTATE;
uint16_t _TRACE_VIRTIO_MEM_RESIZED_USABLE_REGION_DSTATE;
uint16_t _TRACE_VIRTIO_MEM_STATE_REQUEST_DSTATE;
uint16_t _TRACE_VIRTIO_MEM_STATE_RESPONSE_DSTATE;
uint16_t _TRACE_VIRTIO_PMEM_FLUSH_REQUEST_DSTATE;
uint16_t _TRACE_VIRTIO_PMEM_RESPONSE_DSTATE;
uint16_t _TRACE_VIRTIO_PMEM_FLUSH_DONE_DSTATE;
TraceEvent _TRACE_VHOST_COMMIT_EVENT = {
    .id = 0,
    .vcpu_id = TRACE_VCPU_EVENT_NONE,
    .name = "vhost_commit",
    .sstate = TRACE_VHOST_COMMIT_ENABLED,
    .dstate = &_TRACE_VHOST_COMMIT_DSTATE 
};
TraceEvent _TRACE_VHOST_REGION_ADD_SECTION_EVENT = {
    .id = 0,
    .vcpu_id = TRACE_VCPU_EVENT_NONE,
    .name = "vhost_region_add_section",
    .sstate = TRACE_VHOST_REGION_ADD_SECTION_ENABLED,
    .dstate = &_TRACE_VHOST_REGION_ADD_SECTION_DSTATE 
};
TraceEvent _TRACE_VHOST_REGION_ADD_SECTION_MERGE_EVENT = {
    .id = 0,
    .vcpu_id = TRACE_VCPU_EVENT_NONE,
    .name = "vhost_region_add_section_merge",
    .sstate = TRACE_VHOST_REGION_ADD_SECTION_MERGE_ENABLED,
    .dstate = &_TRACE_VHOST_REGION_ADD_SECTION_MERGE_DSTATE 
};
TraceEvent _TRACE_VHOST_REGION_ADD_SECTION_ALIGNED_EVENT = {
    .id = 0,
    .vcpu_id = TRACE_VCPU_EVENT_NONE,
    .name = "vhost_region_add_section_aligned",
    .sstate = TRACE_VHOST_REGION_ADD_SECTION_ALIGNED_ENABLED,
    .dstate = &_TRACE_VHOST_REGION_ADD_SECTION_ALIGNED_DSTATE 
};
TraceEvent _TRACE_VHOST_SECTION_EVENT = {
    .id = 0,
    .vcpu_id = TRACE_VCPU_EVENT_NONE,
    .name = "vhost_section",
    .sstate = TRACE_VHOST_SECTION_ENABLED,
    .dstate = &_TRACE_VHOST_SECTION_DSTATE 
};
TraceEvent _TRACE_VHOST_REJECT_SECTION_EVENT = {
    .id = 0,
    .vcpu_id = TRACE_VCPU_EVENT_NONE,
    .name = "vhost_reject_section",
    .sstate = TRACE_VHOST_REJECT_SECTION_ENABLED,
    .dstate = &_TRACE_VHOST_REJECT_SECTION_DSTATE 
};
TraceEvent _TRACE_VHOST_IOTLB_MISS_EVENT = {
    .id = 0,
    .vcpu_id = TRACE_VCPU_EVENT_NONE,
    .name = "vhost_iotlb_miss",
    .sstate = TRACE_VHOST_IOTLB_MISS_ENABLED,
    .dstate = &_TRACE_VHOST_IOTLB_MISS_DSTATE 
};
TraceEvent _TRACE_VHOST_USER_POSTCOPY_END_ENTRY_EVENT = {
    .id = 0,
    .vcpu_id = TRACE_VCPU_EVENT_NONE,
    .name = "vhost_user_postcopy_end_entry",
    .sstate = TRACE_VHOST_USER_POSTCOPY_END_ENTRY_ENABLED,
    .dstate = &_TRACE_VHOST_USER_POSTCOPY_END_ENTRY_DSTATE 
};
TraceEvent _TRACE_VHOST_USER_POSTCOPY_END_EXIT_EVENT = {
    .id = 0,
    .vcpu_id = TRACE_VCPU_EVENT_NONE,
    .name = "vhost_user_postcopy_end_exit",
    .sstate = TRACE_VHOST_USER_POSTCOPY_END_EXIT_ENABLED,
    .dstate = &_TRACE_VHOST_USER_POSTCOPY_END_EXIT_DSTATE 
};
TraceEvent _TRACE_VHOST_USER_POSTCOPY_FAULT_HANDLER_EVENT = {
    .id = 0,
    .vcpu_id = TRACE_VCPU_EVENT_NONE,
    .name = "vhost_user_postcopy_fault_handler",
    .sstate = TRACE_VHOST_USER_POSTCOPY_FAULT_HANDLER_ENABLED,
    .dstate = &_TRACE_VHOST_USER_POSTCOPY_FAULT_HANDLER_DSTATE 
};
TraceEvent _TRACE_VHOST_USER_POSTCOPY_FAULT_HANDLER_LOOP_EVENT = {
    .id = 0,
    .vcpu_id = TRACE_VCPU_EVENT_NONE,
    .name = "vhost_user_postcopy_fault_handler_loop",
    .sstate = TRACE_VHOST_USER_POSTCOPY_FAULT_HANDLER_LOOP_ENABLED,
    .dstate = &_TRACE_VHOST_USER_POSTCOPY_FAULT_HANDLER_LOOP_DSTATE 
};
TraceEvent _TRACE_VHOST_USER_POSTCOPY_FAULT_HANDLER_FOUND_EVENT = {
    .id = 0,
    .vcpu_id = TRACE_VCPU_EVENT_NONE,
    .name = "vhost_user_postcopy_fault_handler_found",
    .sstate = TRACE_VHOST_USER_POSTCOPY_FAULT_HANDLER_FOUND_ENABLED,
    .dstate = &_TRACE_VHOST_USER_POSTCOPY_FAULT_HANDLER_FOUND_DSTATE 
};
TraceEvent _TRACE_VHOST_USER_POSTCOPY_LISTEN_EVENT = {
    .id = 0,
    .vcpu_id = TRACE_VCPU_EVENT_NONE,
    .name = "vhost_user_postcopy_listen",
    .sstate = TRACE_VHOST_USER_POSTCOPY_LISTEN_ENABLED,
    .dstate = &_TRACE_VHOST_USER_POSTCOPY_LISTEN_DSTATE 
};
TraceEvent _TRACE_VHOST_USER_SET_MEM_TABLE_POSTCOPY_EVENT = {
    .id = 0,
    .vcpu_id = TRACE_VCPU_EVENT_NONE,
    .name = "vhost_user_set_mem_table_postcopy",
    .sstate = TRACE_VHOST_USER_SET_MEM_TABLE_POSTCOPY_ENABLED,
    .dstate = &_TRACE_VHOST_USER_SET_MEM_TABLE_POSTCOPY_DSTATE 
};
TraceEvent _TRACE_VHOST_USER_SET_MEM_TABLE_WITHFD_EVENT = {
    .id = 0,
    .vcpu_id = TRACE_VCPU_EVENT_NONE,
    .name = "vhost_user_set_mem_table_withfd",
    .sstate = TRACE_VHOST_USER_SET_MEM_TABLE_WITHFD_ENABLED,
    .dstate = &_TRACE_VHOST_USER_SET_MEM_TABLE_WITHFD_DSTATE 
};
TraceEvent _TRACE_VHOST_USER_POSTCOPY_WAKER_EVENT = {
    .id = 0,
    .vcpu_id = TRACE_VCPU_EVENT_NONE,
    .name = "vhost_user_postcopy_waker",
    .sstate = TRACE_VHOST_USER_POSTCOPY_WAKER_ENABLED,
    .dstate = &_TRACE_VHOST_USER_POSTCOPY_WAKER_DSTATE 
};
TraceEvent _TRACE_VHOST_USER_POSTCOPY_WAKER_FOUND_EVENT = {
    .id = 0,
    .vcpu_id = TRACE_VCPU_EVENT_NONE,
    .name = "vhost_user_postcopy_waker_found",
    .sstate = TRACE_VHOST_USER_POSTCOPY_WAKER_FOUND_ENABLED,
    .dstate = &_TRACE_VHOST_USER_POSTCOPY_WAKER_FOUND_DSTATE 
};
TraceEvent _TRACE_VHOST_USER_POSTCOPY_WAKER_NOMATCH_EVENT = {
    .id = 0,
    .vcpu_id = TRACE_VCPU_EVENT_NONE,
    .name = "vhost_user_postcopy_waker_nomatch",
    .sstate = TRACE_VHOST_USER_POSTCOPY_WAKER_NOMATCH_ENABLED,
    .dstate = &_TRACE_VHOST_USER_POSTCOPY_WAKER_NOMATCH_DSTATE 
};
TraceEvent _TRACE_VHOST_VDPA_DMA_MAP_EVENT = {
    .id = 0,
    .vcpu_id = TRACE_VCPU_EVENT_NONE,
    .name = "vhost_vdpa_dma_map",
    .sstate = TRACE_VHOST_VDPA_DMA_MAP_ENABLED,
    .dstate = &_TRACE_VHOST_VDPA_DMA_MAP_DSTATE 
};
TraceEvent _TRACE_VHOST_VDPA_DMA_UNMAP_EVENT = {
    .id = 0,
    .vcpu_id = TRACE_VCPU_EVENT_NONE,
    .name = "vhost_vdpa_dma_unmap",
    .sstate = TRACE_VHOST_VDPA_DMA_UNMAP_ENABLED,
    .dstate = &_TRACE_VHOST_VDPA_DMA_UNMAP_DSTATE 
};
TraceEvent _TRACE_VHOST_VDPA_LISTENER_REGION_ADD_EVENT = {
    .id = 0,
    .vcpu_id = TRACE_VCPU_EVENT_NONE,
    .name = "vhost_vdpa_listener_region_add",
    .sstate = TRACE_VHOST_VDPA_LISTENER_REGION_ADD_ENABLED,
    .dstate = &_TRACE_VHOST_VDPA_LISTENER_REGION_ADD_DSTATE 
};
TraceEvent _TRACE_VHOST_VDPA_LISTENER_REGION_DEL_EVENT = {
    .id = 0,
    .vcpu_id = TRACE_VCPU_EVENT_NONE,
    .name = "vhost_vdpa_listener_region_del",
    .sstate = TRACE_VHOST_VDPA_LISTENER_REGION_DEL_ENABLED,
    .dstate = &_TRACE_VHOST_VDPA_LISTENER_REGION_DEL_DSTATE 
};
TraceEvent _TRACE_VHOST_VDPA_ADD_STATUS_EVENT = {
    .id = 0,
    .vcpu_id = TRACE_VCPU_EVENT_NONE,
    .name = "vhost_vdpa_add_status",
    .sstate = TRACE_VHOST_VDPA_ADD_STATUS_ENABLED,
    .dstate = &_TRACE_VHOST_VDPA_ADD_STATUS_DSTATE 
};
TraceEvent _TRACE_VHOST_VDPA_INIT_EVENT = {
    .id = 0,
    .vcpu_id = TRACE_VCPU_EVENT_NONE,
    .name = "vhost_vdpa_init",
    .sstate = TRACE_VHOST_VDPA_INIT_ENABLED,
    .dstate = &_TRACE_VHOST_VDPA_INIT_DSTATE 
};
TraceEvent _TRACE_VHOST_VDPA_CLEANUP_EVENT = {
    .id = 0,
    .vcpu_id = TRACE_VCPU_EVENT_NONE,
    .name = "vhost_vdpa_cleanup",
    .sstate = TRACE_VHOST_VDPA_CLEANUP_ENABLED,
    .dstate = &_TRACE_VHOST_VDPA_CLEANUP_DSTATE 
};
TraceEvent _TRACE_VHOST_VDPA_MEMSLOTS_LIMIT_EVENT = {
    .id = 0,
    .vcpu_id = TRACE_VCPU_EVENT_NONE,
    .name = "vhost_vdpa_memslots_limit",
    .sstate = TRACE_VHOST_VDPA_MEMSLOTS_LIMIT_ENABLED,
    .dstate = &_TRACE_VHOST_VDPA_MEMSLOTS_LIMIT_DSTATE 
};
TraceEvent _TRACE_VHOST_VDPA_SET_MEM_TABLE_EVENT = {
    .id = 0,
    .vcpu_id = TRACE_VCPU_EVENT_NONE,
    .name = "vhost_vdpa_set_mem_table",
    .sstate = TRACE_VHOST_VDPA_SET_MEM_TABLE_ENABLED,
    .dstate = &_TRACE_VHOST_VDPA_SET_MEM_TABLE_DSTATE 
};
TraceEvent _TRACE_VHOST_VDPA_DUMP_REGIONS_EVENT = {
    .id = 0,
    .vcpu_id = TRACE_VCPU_EVENT_NONE,
    .name = "vhost_vdpa_dump_regions",
    .sstate = TRACE_VHOST_VDPA_DUMP_REGIONS_ENABLED,
    .dstate = &_TRACE_VHOST_VDPA_DUMP_REGIONS_DSTATE 
};
TraceEvent _TRACE_VHOST_VDPA_SET_FEATURES_EVENT = {
    .id = 0,
    .vcpu_id = TRACE_VCPU_EVENT_NONE,
    .name = "vhost_vdpa_set_features",
    .sstate = TRACE_VHOST_VDPA_SET_FEATURES_ENABLED,
    .dstate = &_TRACE_VHOST_VDPA_SET_FEATURES_DSTATE 
};
TraceEvent _TRACE_VHOST_VDPA_GET_DEVICE_ID_EVENT = {
    .id = 0,
    .vcpu_id = TRACE_VCPU_EVENT_NONE,
    .name = "vhost_vdpa_get_device_id",
    .sstate = TRACE_VHOST_VDPA_GET_DEVICE_ID_ENABLED,
    .dstate = &_TRACE_VHOST_VDPA_GET_DEVICE_ID_DSTATE 
};
TraceEvent _TRACE_VHOST_VDPA_RESET_DEVICE_EVENT = {
    .id = 0,
    .vcpu_id = TRACE_VCPU_EVENT_NONE,
    .name = "vhost_vdpa_reset_device",
    .sstate = TRACE_VHOST_VDPA_RESET_DEVICE_ENABLED,
    .dstate = &_TRACE_VHOST_VDPA_RESET_DEVICE_DSTATE 
};
TraceEvent _TRACE_VHOST_VDPA_GET_VQ_INDEX_EVENT = {
    .id = 0,
    .vcpu_id = TRACE_VCPU_EVENT_NONE,
    .name = "vhost_vdpa_get_vq_index",
    .sstate = TRACE_VHOST_VDPA_GET_VQ_INDEX_ENABLED,
    .dstate = &_TRACE_VHOST_VDPA_GET_VQ_INDEX_DSTATE 
};
TraceEvent _TRACE_VHOST_VDPA_SET_VRING_READY_EVENT = {
    .id = 0,
    .vcpu_id = TRACE_VCPU_EVENT_NONE,
    .name = "vhost_vdpa_set_vring_ready",
    .sstate = TRACE_VHOST_VDPA_SET_VRING_READY_ENABLED,
    .dstate = &_TRACE_VHOST_VDPA_SET_VRING_READY_DSTATE 
};
TraceEvent _TRACE_VHOST_VDPA_DUMP_CONFIG_EVENT = {
    .id = 0,
    .vcpu_id = TRACE_VCPU_EVENT_NONE,
    .name = "vhost_vdpa_dump_config",
    .sstate = TRACE_VHOST_VDPA_DUMP_CONFIG_ENABLED,
    .dstate = &_TRACE_VHOST_VDPA_DUMP_CONFIG_DSTATE 
};
TraceEvent _TRACE_VHOST_VDPA_SET_CONFIG_EVENT = {
    .id = 0,
    .vcpu_id = TRACE_VCPU_EVENT_NONE,
    .name = "vhost_vdpa_set_config",
    .sstate = TRACE_VHOST_VDPA_SET_CONFIG_ENABLED,
    .dstate = &_TRACE_VHOST_VDPA_SET_CONFIG_DSTATE 
};
TraceEvent _TRACE_VHOST_VDPA_GET_CONFIG_EVENT = {
    .id = 0,
    .vcpu_id = TRACE_VCPU_EVENT_NONE,
    .name = "vhost_vdpa_get_config",
    .sstate = TRACE_VHOST_VDPA_GET_CONFIG_ENABLED,
    .dstate = &_TRACE_VHOST_VDPA_GET_CONFIG_DSTATE 
};
TraceEvent _TRACE_VHOST_VDPA_DEV_START_EVENT = {
    .id = 0,
    .vcpu_id = TRACE_VCPU_EVENT_NONE,
    .name = "vhost_vdpa_dev_start",
    .sstate = TRACE_VHOST_VDPA_DEV_START_ENABLED,
    .dstate = &_TRACE_VHOST_VDPA_DEV_START_DSTATE 
};
TraceEvent _TRACE_VHOST_VDPA_SET_LOG_BASE_EVENT = {
    .id = 0,
    .vcpu_id = TRACE_VCPU_EVENT_NONE,
    .name = "vhost_vdpa_set_log_base",
    .sstate = TRACE_VHOST_VDPA_SET_LOG_BASE_ENABLED,
    .dstate = &_TRACE_VHOST_VDPA_SET_LOG_BASE_DSTATE 
};
TraceEvent _TRACE_VHOST_VDPA_SET_VRING_ADDR_EVENT = {
    .id = 0,
    .vcpu_id = TRACE_VCPU_EVENT_NONE,
    .name = "vhost_vdpa_set_vring_addr",
    .sstate = TRACE_VHOST_VDPA_SET_VRING_ADDR_ENABLED,
    .dstate = &_TRACE_VHOST_VDPA_SET_VRING_ADDR_DSTATE 
};
TraceEvent _TRACE_VHOST_VDPA_SET_VRING_NUM_EVENT = {
    .id = 0,
    .vcpu_id = TRACE_VCPU_EVENT_NONE,
    .name = "vhost_vdpa_set_vring_num",
    .sstate = TRACE_VHOST_VDPA_SET_VRING_NUM_ENABLED,
    .dstate = &_TRACE_VHOST_VDPA_SET_VRING_NUM_DSTATE 
};
TraceEvent _TRACE_VHOST_VDPA_SET_VRING_BASE_EVENT = {
    .id = 0,
    .vcpu_id = TRACE_VCPU_EVENT_NONE,
    .name = "vhost_vdpa_set_vring_base",
    .sstate = TRACE_VHOST_VDPA_SET_VRING_BASE_ENABLED,
    .dstate = &_TRACE_VHOST_VDPA_SET_VRING_BASE_DSTATE 
};
TraceEvent _TRACE_VHOST_VDPA_GET_VRING_BASE_EVENT = {
    .id = 0,
    .vcpu_id = TRACE_VCPU_EVENT_NONE,
    .name = "vhost_vdpa_get_vring_base",
    .sstate = TRACE_VHOST_VDPA_GET_VRING_BASE_ENABLED,
    .dstate = &_TRACE_VHOST_VDPA_GET_VRING_BASE_DSTATE 
};
TraceEvent _TRACE_VHOST_VDPA_SET_VRING_KICK_EVENT = {
    .id = 0,
    .vcpu_id = TRACE_VCPU_EVENT_NONE,
    .name = "vhost_vdpa_set_vring_kick",
    .sstate = TRACE_VHOST_VDPA_SET_VRING_KICK_ENABLED,
    .dstate = &_TRACE_VHOST_VDPA_SET_VRING_KICK_DSTATE 
};
TraceEvent _TRACE_VHOST_VDPA_SET_VRING_CALL_EVENT = {
    .id = 0,
    .vcpu_id = TRACE_VCPU_EVENT_NONE,
    .name = "vhost_vdpa_set_vring_call",
    .sstate = TRACE_VHOST_VDPA_SET_VRING_CALL_ENABLED,
    .dstate = &_TRACE_VHOST_VDPA_SET_VRING_CALL_DSTATE 
};
TraceEvent _TRACE_VHOST_VDPA_GET_FEATURES_EVENT = {
    .id = 0,
    .vcpu_id = TRACE_VCPU_EVENT_NONE,
    .name = "vhost_vdpa_get_features",
    .sstate = TRACE_VHOST_VDPA_GET_FEATURES_ENABLED,
    .dstate = &_TRACE_VHOST_VDPA_GET_FEATURES_DSTATE 
};
TraceEvent _TRACE_VHOST_VDPA_SET_OWNER_EVENT = {
    .id = 0,
    .vcpu_id = TRACE_VCPU_EVENT_NONE,
    .name = "vhost_vdpa_set_owner",
    .sstate = TRACE_VHOST_VDPA_SET_OWNER_ENABLED,
    .dstate = &_TRACE_VHOST_VDPA_SET_OWNER_DSTATE 
};
TraceEvent _TRACE_VHOST_VDPA_VQ_GET_ADDR_EVENT = {
    .id = 0,
    .vcpu_id = TRACE_VCPU_EVENT_NONE,
    .name = "vhost_vdpa_vq_get_addr",
    .sstate = TRACE_VHOST_VDPA_VQ_GET_ADDR_ENABLED,
    .dstate = &_TRACE_VHOST_VDPA_VQ_GET_ADDR_DSTATE 
};
TraceEvent _TRACE_VHOST_VDPA_GET_IOVA_RANGE_EVENT = {
    .id = 0,
    .vcpu_id = TRACE_VCPU_EVENT_NONE,
    .name = "vhost_vdpa_get_iova_range",
    .sstate = TRACE_VHOST_VDPA_GET_IOVA_RANGE_ENABLED,
    .dstate = &_TRACE_VHOST_VDPA_GET_IOVA_RANGE_DSTATE 
};
TraceEvent _TRACE_VIRTQUEUE_ALLOC_ELEMENT_EVENT = {
    .id = 0,
    .vcpu_id = TRACE_VCPU_EVENT_NONE,
    .name = "virtqueue_alloc_element",
    .sstate = TRACE_VIRTQUEUE_ALLOC_ELEMENT_ENABLED,
    .dstate = &_TRACE_VIRTQUEUE_ALLOC_ELEMENT_DSTATE 
};
TraceEvent _TRACE_VIRTQUEUE_FILL_EVENT = {
    .id = 0,
    .vcpu_id = TRACE_VCPU_EVENT_NONE,
    .name = "virtqueue_fill",
    .sstate = TRACE_VIRTQUEUE_FILL_ENABLED,
    .dstate = &_TRACE_VIRTQUEUE_FILL_DSTATE 
};
TraceEvent _TRACE_VIRTQUEUE_FLUSH_EVENT = {
    .id = 0,
    .vcpu_id = TRACE_VCPU_EVENT_NONE,
    .name = "virtqueue_flush",
    .sstate = TRACE_VIRTQUEUE_FLUSH_ENABLED,
    .dstate = &_TRACE_VIRTQUEUE_FLUSH_DSTATE 
};
TraceEvent _TRACE_VIRTQUEUE_POP_EVENT = {
    .id = 0,
    .vcpu_id = TRACE_VCPU_EVENT_NONE,
    .name = "virtqueue_pop",
    .sstate = TRACE_VIRTQUEUE_POP_ENABLED,
    .dstate = &_TRACE_VIRTQUEUE_POP_DSTATE 
};
TraceEvent _TRACE_VIRTIO_QUEUE_NOTIFY_EVENT = {
    .id = 0,
    .vcpu_id = TRACE_VCPU_EVENT_NONE,
    .name = "virtio_queue_notify",
    .sstate = TRACE_VIRTIO_QUEUE_NOTIFY_ENABLED,
    .dstate = &_TRACE_VIRTIO_QUEUE_NOTIFY_DSTATE 
};
TraceEvent _TRACE_VIRTIO_NOTIFY_IRQFD_EVENT = {
    .id = 0,
    .vcpu_id = TRACE_VCPU_EVENT_NONE,
    .name = "virtio_notify_irqfd",
    .sstate = TRACE_VIRTIO_NOTIFY_IRQFD_ENABLED,
    .dstate = &_TRACE_VIRTIO_NOTIFY_IRQFD_DSTATE 
};
TraceEvent _TRACE_VIRTIO_NOTIFY_EVENT = {
    .id = 0,
    .vcpu_id = TRACE_VCPU_EVENT_NONE,
    .name = "virtio_notify",
    .sstate = TRACE_VIRTIO_NOTIFY_ENABLED,
    .dstate = &_TRACE_VIRTIO_NOTIFY_DSTATE 
};
TraceEvent _TRACE_VIRTIO_SET_STATUS_EVENT = {
    .id = 0,
    .vcpu_id = TRACE_VCPU_EVENT_NONE,
    .name = "virtio_set_status",
    .sstate = TRACE_VIRTIO_SET_STATUS_ENABLED,
    .dstate = &_TRACE_VIRTIO_SET_STATUS_DSTATE 
};
TraceEvent _TRACE_VIRTIO_RNG_GUEST_NOT_READY_EVENT = {
    .id = 0,
    .vcpu_id = TRACE_VCPU_EVENT_NONE,
    .name = "virtio_rng_guest_not_ready",
    .sstate = TRACE_VIRTIO_RNG_GUEST_NOT_READY_ENABLED,
    .dstate = &_TRACE_VIRTIO_RNG_GUEST_NOT_READY_DSTATE 
};
TraceEvent _TRACE_VIRTIO_RNG_CPU_IS_STOPPED_EVENT = {
    .id = 0,
    .vcpu_id = TRACE_VCPU_EVENT_NONE,
    .name = "virtio_rng_cpu_is_stopped",
    .sstate = TRACE_VIRTIO_RNG_CPU_IS_STOPPED_ENABLED,
    .dstate = &_TRACE_VIRTIO_RNG_CPU_IS_STOPPED_DSTATE 
};
TraceEvent _TRACE_VIRTIO_RNG_POPPED_EVENT = {
    .id = 0,
    .vcpu_id = TRACE_VCPU_EVENT_NONE,
    .name = "virtio_rng_popped",
    .sstate = TRACE_VIRTIO_RNG_POPPED_ENABLED,
    .dstate = &_TRACE_VIRTIO_RNG_POPPED_DSTATE 
};
TraceEvent _TRACE_VIRTIO_RNG_PUSHED_EVENT = {
    .id = 0,
    .vcpu_id = TRACE_VCPU_EVENT_NONE,
    .name = "virtio_rng_pushed",
    .sstate = TRACE_VIRTIO_RNG_PUSHED_ENABLED,
    .dstate = &_TRACE_VIRTIO_RNG_PUSHED_DSTATE 
};
TraceEvent _TRACE_VIRTIO_RNG_REQUEST_EVENT = {
    .id = 0,
    .vcpu_id = TRACE_VCPU_EVENT_NONE,
    .name = "virtio_rng_request",
    .sstate = TRACE_VIRTIO_RNG_REQUEST_ENABLED,
    .dstate = &_TRACE_VIRTIO_RNG_REQUEST_DSTATE 
};
TraceEvent _TRACE_VIRTIO_RNG_VM_STATE_CHANGE_EVENT = {
    .id = 0,
    .vcpu_id = TRACE_VCPU_EVENT_NONE,
    .name = "virtio_rng_vm_state_change",
    .sstate = TRACE_VIRTIO_RNG_VM_STATE_CHANGE_ENABLED,
    .dstate = &_TRACE_VIRTIO_RNG_VM_STATE_CHANGE_DSTATE 
};
TraceEvent _TRACE_VIRTIO_BALLOON_BAD_ADDR_EVENT = {
    .id = 0,
    .vcpu_id = TRACE_VCPU_EVENT_NONE,
    .name = "virtio_balloon_bad_addr",
    .sstate = TRACE_VIRTIO_BALLOON_BAD_ADDR_ENABLED,
    .dstate = &_TRACE_VIRTIO_BALLOON_BAD_ADDR_DSTATE 
};
TraceEvent _TRACE_VIRTIO_BALLOON_HANDLE_OUTPUT_EVENT = {
    .id = 0,
    .vcpu_id = TRACE_VCPU_EVENT_NONE,
    .name = "virtio_balloon_handle_output",
    .sstate = TRACE_VIRTIO_BALLOON_HANDLE_OUTPUT_ENABLED,
    .dstate = &_TRACE_VIRTIO_BALLOON_HANDLE_OUTPUT_DSTATE 
};
TraceEvent _TRACE_VIRTIO_BALLOON_GET_CONFIG_EVENT = {
    .id = 0,
    .vcpu_id = TRACE_VCPU_EVENT_NONE,
    .name = "virtio_balloon_get_config",
    .sstate = TRACE_VIRTIO_BALLOON_GET_CONFIG_ENABLED,
    .dstate = &_TRACE_VIRTIO_BALLOON_GET_CONFIG_DSTATE 
};
TraceEvent _TRACE_VIRTIO_BALLOON_SET_CONFIG_EVENT = {
    .id = 0,
    .vcpu_id = TRACE_VCPU_EVENT_NONE,
    .name = "virtio_balloon_set_config",
    .sstate = TRACE_VIRTIO_BALLOON_SET_CONFIG_ENABLED,
    .dstate = &_TRACE_VIRTIO_BALLOON_SET_CONFIG_DSTATE 
};
TraceEvent _TRACE_VIRTIO_BALLOON_TO_TARGET_EVENT = {
    .id = 0,
    .vcpu_id = TRACE_VCPU_EVENT_NONE,
    .name = "virtio_balloon_to_target",
    .sstate = TRACE_VIRTIO_BALLOON_TO_TARGET_ENABLED,
    .dstate = &_TRACE_VIRTIO_BALLOON_TO_TARGET_DSTATE 
};
TraceEvent _TRACE_VIRTIO_MMIO_READ_EVENT = {
    .id = 0,
    .vcpu_id = TRACE_VCPU_EVENT_NONE,
    .name = "virtio_mmio_read",
    .sstate = TRACE_VIRTIO_MMIO_READ_ENABLED,
    .dstate = &_TRACE_VIRTIO_MMIO_READ_DSTATE 
};
TraceEvent _TRACE_VIRTIO_MMIO_WRITE_OFFSET_EVENT = {
    .id = 0,
    .vcpu_id = TRACE_VCPU_EVENT_NONE,
    .name = "virtio_mmio_write_offset",
    .sstate = TRACE_VIRTIO_MMIO_WRITE_OFFSET_ENABLED,
    .dstate = &_TRACE_VIRTIO_MMIO_WRITE_OFFSET_DSTATE 
};
TraceEvent _TRACE_VIRTIO_MMIO_GUEST_PAGE_EVENT = {
    .id = 0,
    .vcpu_id = TRACE_VCPU_EVENT_NONE,
    .name = "virtio_mmio_guest_page",
    .sstate = TRACE_VIRTIO_MMIO_GUEST_PAGE_ENABLED,
    .dstate = &_TRACE_VIRTIO_MMIO_GUEST_PAGE_DSTATE 
};
TraceEvent _TRACE_VIRTIO_MMIO_QUEUE_WRITE_EVENT = {
    .id = 0,
    .vcpu_id = TRACE_VCPU_EVENT_NONE,
    .name = "virtio_mmio_queue_write",
    .sstate = TRACE_VIRTIO_MMIO_QUEUE_WRITE_ENABLED,
    .dstate = &_TRACE_VIRTIO_MMIO_QUEUE_WRITE_DSTATE 
};
TraceEvent _TRACE_VIRTIO_MMIO_SETTING_IRQ_EVENT = {
    .id = 0,
    .vcpu_id = TRACE_VCPU_EVENT_NONE,
    .name = "virtio_mmio_setting_irq",
    .sstate = TRACE_VIRTIO_MMIO_SETTING_IRQ_ENABLED,
    .dstate = &_TRACE_VIRTIO_MMIO_SETTING_IRQ_DSTATE 
};
TraceEvent _TRACE_VIRTIO_IOMMU_DEVICE_RESET_EVENT = {
    .id = 0,
    .vcpu_id = TRACE_VCPU_EVENT_NONE,
    .name = "virtio_iommu_device_reset",
    .sstate = TRACE_VIRTIO_IOMMU_DEVICE_RESET_ENABLED,
    .dstate = &_TRACE_VIRTIO_IOMMU_DEVICE_RESET_DSTATE 
};
TraceEvent _TRACE_VIRTIO_IOMMU_SYSTEM_RESET_EVENT = {
    .id = 0,
    .vcpu_id = TRACE_VCPU_EVENT_NONE,
    .name = "virtio_iommu_system_reset",
    .sstate = TRACE_VIRTIO_IOMMU_SYSTEM_RESET_ENABLED,
    .dstate = &_TRACE_VIRTIO_IOMMU_SYSTEM_RESET_DSTATE 
};
TraceEvent _TRACE_VIRTIO_IOMMU_GET_FEATURES_EVENT = {
    .id = 0,
    .vcpu_id = TRACE_VCPU_EVENT_NONE,
    .name = "virtio_iommu_get_features",
    .sstate = TRACE_VIRTIO_IOMMU_GET_FEATURES_ENABLED,
    .dstate = &_TRACE_VIRTIO_IOMMU_GET_FEATURES_DSTATE 
};
TraceEvent _TRACE_VIRTIO_IOMMU_DEVICE_STATUS_EVENT = {
    .id = 0,
    .vcpu_id = TRACE_VCPU_EVENT_NONE,
    .name = "virtio_iommu_device_status",
    .sstate = TRACE_VIRTIO_IOMMU_DEVICE_STATUS_ENABLED,
    .dstate = &_TRACE_VIRTIO_IOMMU_DEVICE_STATUS_DSTATE 
};
TraceEvent _TRACE_VIRTIO_IOMMU_GET_CONFIG_EVENT = {
    .id = 0,
    .vcpu_id = TRACE_VCPU_EVENT_NONE,
    .name = "virtio_iommu_get_config",
    .sstate = TRACE_VIRTIO_IOMMU_GET_CONFIG_ENABLED,
    .dstate = &_TRACE_VIRTIO_IOMMU_GET_CONFIG_DSTATE 
};
TraceEvent _TRACE_VIRTIO_IOMMU_SET_CONFIG_EVENT = {
    .id = 0,
    .vcpu_id = TRACE_VCPU_EVENT_NONE,
    .name = "virtio_iommu_set_config",
    .sstate = TRACE_VIRTIO_IOMMU_SET_CONFIG_ENABLED,
    .dstate = &_TRACE_VIRTIO_IOMMU_SET_CONFIG_DSTATE 
};
TraceEvent _TRACE_VIRTIO_IOMMU_ATTACH_EVENT = {
    .id = 0,
    .vcpu_id = TRACE_VCPU_EVENT_NONE,
    .name = "virtio_iommu_attach",
    .sstate = TRACE_VIRTIO_IOMMU_ATTACH_ENABLED,
    .dstate = &_TRACE_VIRTIO_IOMMU_ATTACH_DSTATE 
};
TraceEvent _TRACE_VIRTIO_IOMMU_DETACH_EVENT = {
    .id = 0,
    .vcpu_id = TRACE_VCPU_EVENT_NONE,
    .name = "virtio_iommu_detach",
    .sstate = TRACE_VIRTIO_IOMMU_DETACH_ENABLED,
    .dstate = &_TRACE_VIRTIO_IOMMU_DETACH_DSTATE 
};
TraceEvent _TRACE_VIRTIO_IOMMU_MAP_EVENT = {
    .id = 0,
    .vcpu_id = TRACE_VCPU_EVENT_NONE,
    .name = "virtio_iommu_map",
    .sstate = TRACE_VIRTIO_IOMMU_MAP_ENABLED,
    .dstate = &_TRACE_VIRTIO_IOMMU_MAP_DSTATE 
};
TraceEvent _TRACE_VIRTIO_IOMMU_UNMAP_EVENT = {
    .id = 0,
    .vcpu_id = TRACE_VCPU_EVENT_NONE,
    .name = "virtio_iommu_unmap",
    .sstate = TRACE_VIRTIO_IOMMU_UNMAP_ENABLED,
    .dstate = &_TRACE_VIRTIO_IOMMU_UNMAP_DSTATE 
};
TraceEvent _TRACE_VIRTIO_IOMMU_UNMAP_DONE_EVENT = {
    .id = 0,
    .vcpu_id = TRACE_VCPU_EVENT_NONE,
    .name = "virtio_iommu_unmap_done",
    .sstate = TRACE_VIRTIO_IOMMU_UNMAP_DONE_ENABLED,
    .dstate = &_TRACE_VIRTIO_IOMMU_UNMAP_DONE_DSTATE 
};
TraceEvent _TRACE_VIRTIO_IOMMU_TRANSLATE_EVENT = {
    .id = 0,
    .vcpu_id = TRACE_VCPU_EVENT_NONE,
    .name = "virtio_iommu_translate",
    .sstate = TRACE_VIRTIO_IOMMU_TRANSLATE_ENABLED,
    .dstate = &_TRACE_VIRTIO_IOMMU_TRANSLATE_DSTATE 
};
TraceEvent _TRACE_VIRTIO_IOMMU_INIT_IOMMU_MR_EVENT = {
    .id = 0,
    .vcpu_id = TRACE_VCPU_EVENT_NONE,
    .name = "virtio_iommu_init_iommu_mr",
    .sstate = TRACE_VIRTIO_IOMMU_INIT_IOMMU_MR_ENABLED,
    .dstate = &_TRACE_VIRTIO_IOMMU_INIT_IOMMU_MR_DSTATE 
};
TraceEvent _TRACE_VIRTIO_IOMMU_GET_ENDPOINT_EVENT = {
    .id = 0,
    .vcpu_id = TRACE_VCPU_EVENT_NONE,
    .name = "virtio_iommu_get_endpoint",
    .sstate = TRACE_VIRTIO_IOMMU_GET_ENDPOINT_ENABLED,
    .dstate = &_TRACE_VIRTIO_IOMMU_GET_ENDPOINT_DSTATE 
};
TraceEvent _TRACE_VIRTIO_IOMMU_PUT_ENDPOINT_EVENT = {
    .id = 0,
    .vcpu_id = TRACE_VCPU_EVENT_NONE,
    .name = "virtio_iommu_put_endpoint",
    .sstate = TRACE_VIRTIO_IOMMU_PUT_ENDPOINT_ENABLED,
    .dstate = &_TRACE_VIRTIO_IOMMU_PUT_ENDPOINT_DSTATE 
};
TraceEvent _TRACE_VIRTIO_IOMMU_GET_DOMAIN_EVENT = {
    .id = 0,
    .vcpu_id = TRACE_VCPU_EVENT_NONE,
    .name = "virtio_iommu_get_domain",
    .sstate = TRACE_VIRTIO_IOMMU_GET_DOMAIN_ENABLED,
    .dstate = &_TRACE_VIRTIO_IOMMU_GET_DOMAIN_DSTATE 
};
TraceEvent _TRACE_VIRTIO_IOMMU_PUT_DOMAIN_EVENT = {
    .id = 0,
    .vcpu_id = TRACE_VCPU_EVENT_NONE,
    .name = "virtio_iommu_put_domain",
    .sstate = TRACE_VIRTIO_IOMMU_PUT_DOMAIN_ENABLED,
    .dstate = &_TRACE_VIRTIO_IOMMU_PUT_DOMAIN_DSTATE 
};
TraceEvent _TRACE_VIRTIO_IOMMU_TRANSLATE_OUT_EVENT = {
    .id = 0,
    .vcpu_id = TRACE_VCPU_EVENT_NONE,
    .name = "virtio_iommu_translate_out",
    .sstate = TRACE_VIRTIO_IOMMU_TRANSLATE_OUT_ENABLED,
    .dstate = &_TRACE_VIRTIO_IOMMU_TRANSLATE_OUT_DSTATE 
};
TraceEvent _TRACE_VIRTIO_IOMMU_REPORT_FAULT_EVENT = {
    .id = 0,
    .vcpu_id = TRACE_VCPU_EVENT_NONE,
    .name = "virtio_iommu_report_fault",
    .sstate = TRACE_VIRTIO_IOMMU_REPORT_FAULT_ENABLED,
    .dstate = &_TRACE_VIRTIO_IOMMU_REPORT_FAULT_DSTATE 
};
TraceEvent _TRACE_VIRTIO_IOMMU_FILL_RESV_PROPERTY_EVENT = {
    .id = 0,
    .vcpu_id = TRACE_VCPU_EVENT_NONE,
    .name = "virtio_iommu_fill_resv_property",
    .sstate = TRACE_VIRTIO_IOMMU_FILL_RESV_PROPERTY_ENABLED,
    .dstate = &_TRACE_VIRTIO_IOMMU_FILL_RESV_PROPERTY_DSTATE 
};
TraceEvent _TRACE_VIRTIO_IOMMU_NOTIFY_MAP_EVENT = {
    .id = 0,
    .vcpu_id = TRACE_VCPU_EVENT_NONE,
    .name = "virtio_iommu_notify_map",
    .sstate = TRACE_VIRTIO_IOMMU_NOTIFY_MAP_ENABLED,
    .dstate = &_TRACE_VIRTIO_IOMMU_NOTIFY_MAP_DSTATE 
};
TraceEvent _TRACE_VIRTIO_IOMMU_NOTIFY_UNMAP_EVENT = {
    .id = 0,
    .vcpu_id = TRACE_VCPU_EVENT_NONE,
    .name = "virtio_iommu_notify_unmap",
    .sstate = TRACE_VIRTIO_IOMMU_NOTIFY_UNMAP_ENABLED,
    .dstate = &_TRACE_VIRTIO_IOMMU_NOTIFY_UNMAP_DSTATE 
};
TraceEvent _TRACE_VIRTIO_IOMMU_REMAP_EVENT = {
    .id = 0,
    .vcpu_id = TRACE_VCPU_EVENT_NONE,
    .name = "virtio_iommu_remap",
    .sstate = TRACE_VIRTIO_IOMMU_REMAP_ENABLED,
    .dstate = &_TRACE_VIRTIO_IOMMU_REMAP_DSTATE 
};
TraceEvent _TRACE_VIRTIO_IOMMU_SET_PAGE_SIZE_MASK_EVENT = {
    .id = 0,
    .vcpu_id = TRACE_VCPU_EVENT_NONE,
    .name = "virtio_iommu_set_page_size_mask",
    .sstate = TRACE_VIRTIO_IOMMU_SET_PAGE_SIZE_MASK_ENABLED,
    .dstate = &_TRACE_VIRTIO_IOMMU_SET_PAGE_SIZE_MASK_DSTATE 
};
TraceEvent _TRACE_VIRTIO_IOMMU_NOTIFY_FLAG_ADD_EVENT = {
    .id = 0,
    .vcpu_id = TRACE_VCPU_EVENT_NONE,
    .name = "virtio_iommu_notify_flag_add",
    .sstate = TRACE_VIRTIO_IOMMU_NOTIFY_FLAG_ADD_ENABLED,
    .dstate = &_TRACE_VIRTIO_IOMMU_NOTIFY_FLAG_ADD_DSTATE 
};
TraceEvent _TRACE_VIRTIO_IOMMU_NOTIFY_FLAG_DEL_EVENT = {
    .id = 0,
    .vcpu_id = TRACE_VCPU_EVENT_NONE,
    .name = "virtio_iommu_notify_flag_del",
    .sstate = TRACE_VIRTIO_IOMMU_NOTIFY_FLAG_DEL_ENABLED,
    .dstate = &_TRACE_VIRTIO_IOMMU_NOTIFY_FLAG_DEL_DSTATE 
};
TraceEvent _TRACE_VIRTIO_MEM_SEND_RESPONSE_EVENT = {
    .id = 0,
    .vcpu_id = TRACE_VCPU_EVENT_NONE,
    .name = "virtio_mem_send_response",
    .sstate = TRACE_VIRTIO_MEM_SEND_RESPONSE_ENABLED,
    .dstate = &_TRACE_VIRTIO_MEM_SEND_RESPONSE_DSTATE 
};
TraceEvent _TRACE_VIRTIO_MEM_PLUG_REQUEST_EVENT = {
    .id = 0,
    .vcpu_id = TRACE_VCPU_EVENT_NONE,
    .name = "virtio_mem_plug_request",
    .sstate = TRACE_VIRTIO_MEM_PLUG_REQUEST_ENABLED,
    .dstate = &_TRACE_VIRTIO_MEM_PLUG_REQUEST_DSTATE 
};
TraceEvent _TRACE_VIRTIO_MEM_UNPLUG_REQUEST_EVENT = {
    .id = 0,
    .vcpu_id = TRACE_VCPU_EVENT_NONE,
    .name = "virtio_mem_unplug_request",
    .sstate = TRACE_VIRTIO_MEM_UNPLUG_REQUEST_ENABLED,
    .dstate = &_TRACE_VIRTIO_MEM_UNPLUG_REQUEST_DSTATE 
};
TraceEvent _TRACE_VIRTIO_MEM_UNPLUGGED_ALL_EVENT = {
    .id = 0,
    .vcpu_id = TRACE_VCPU_EVENT_NONE,
    .name = "virtio_mem_unplugged_all",
    .sstate = TRACE_VIRTIO_MEM_UNPLUGGED_ALL_ENABLED,
    .dstate = &_TRACE_VIRTIO_MEM_UNPLUGGED_ALL_DSTATE 
};
TraceEvent _TRACE_VIRTIO_MEM_UNPLUG_ALL_REQUEST_EVENT = {
    .id = 0,
    .vcpu_id = TRACE_VCPU_EVENT_NONE,
    .name = "virtio_mem_unplug_all_request",
    .sstate = TRACE_VIRTIO_MEM_UNPLUG_ALL_REQUEST_ENABLED,
    .dstate = &_TRACE_VIRTIO_MEM_UNPLUG_ALL_REQUEST_DSTATE 
};
TraceEvent _TRACE_VIRTIO_MEM_RESIZED_USABLE_REGION_EVENT = {
    .id = 0,
    .vcpu_id = TRACE_VCPU_EVENT_NONE,
    .name = "virtio_mem_resized_usable_region",
    .sstate = TRACE_VIRTIO_MEM_RESIZED_USABLE_REGION_ENABLED,
    .dstate = &_TRACE_VIRTIO_MEM_RESIZED_USABLE_REGION_DSTATE 
};
TraceEvent _TRACE_VIRTIO_MEM_STATE_REQUEST_EVENT = {
    .id = 0,
    .vcpu_id = TRACE_VCPU_EVENT_NONE,
    .name = "virtio_mem_state_request",
    .sstate = TRACE_VIRTIO_MEM_STATE_REQUEST_ENABLED,
    .dstate = &_TRACE_VIRTIO_MEM_STATE_REQUEST_DSTATE 
};
TraceEvent _TRACE_VIRTIO_MEM_STATE_RESPONSE_EVENT = {
    .id = 0,
    .vcpu_id = TRACE_VCPU_EVENT_NONE,
    .name = "virtio_mem_state_response",
    .sstate = TRACE_VIRTIO_MEM_STATE_RESPONSE_ENABLED,
    .dstate = &_TRACE_VIRTIO_MEM_STATE_RESPONSE_DSTATE 
};
TraceEvent _TRACE_VIRTIO_PMEM_FLUSH_REQUEST_EVENT = {
    .id = 0,
    .vcpu_id = TRACE_VCPU_EVENT_NONE,
    .name = "virtio_pmem_flush_request",
    .sstate = TRACE_VIRTIO_PMEM_FLUSH_REQUEST_ENABLED,
    .dstate = &_TRACE_VIRTIO_PMEM_FLUSH_REQUEST_DSTATE 
};
TraceEvent _TRACE_VIRTIO_PMEM_RESPONSE_EVENT = {
    .id = 0,
    .vcpu_id = TRACE_VCPU_EVENT_NONE,
    .name = "virtio_pmem_response",
    .sstate = TRACE_VIRTIO_PMEM_RESPONSE_ENABLED,
    .dstate = &_TRACE_VIRTIO_PMEM_RESPONSE_DSTATE 
};
TraceEvent _TRACE_VIRTIO_PMEM_FLUSH_DONE_EVENT = {
    .id = 0,
    .vcpu_id = TRACE_VCPU_EVENT_NONE,
    .name = "virtio_pmem_flush_done",
    .sstate = TRACE_VIRTIO_PMEM_FLUSH_DONE_ENABLED,
    .dstate = &_TRACE_VIRTIO_PMEM_FLUSH_DONE_DSTATE 
};
TraceEvent *hw_virtio_trace_events[] = {
    &_TRACE_VHOST_COMMIT_EVENT,
    &_TRACE_VHOST_REGION_ADD_SECTION_EVENT,
    &_TRACE_VHOST_REGION_ADD_SECTION_MERGE_EVENT,
    &_TRACE_VHOST_REGION_ADD_SECTION_ALIGNED_EVENT,
    &_TRACE_VHOST_SECTION_EVENT,
    &_TRACE_VHOST_REJECT_SECTION_EVENT,
    &_TRACE_VHOST_IOTLB_MISS_EVENT,
    &_TRACE_VHOST_USER_POSTCOPY_END_ENTRY_EVENT,
    &_TRACE_VHOST_USER_POSTCOPY_END_EXIT_EVENT,
    &_TRACE_VHOST_USER_POSTCOPY_FAULT_HANDLER_EVENT,
    &_TRACE_VHOST_USER_POSTCOPY_FAULT_HANDLER_LOOP_EVENT,
    &_TRACE_VHOST_USER_POSTCOPY_FAULT_HANDLER_FOUND_EVENT,
    &_TRACE_VHOST_USER_POSTCOPY_LISTEN_EVENT,
    &_TRACE_VHOST_USER_SET_MEM_TABLE_POSTCOPY_EVENT,
    &_TRACE_VHOST_USER_SET_MEM_TABLE_WITHFD_EVENT,
    &_TRACE_VHOST_USER_POSTCOPY_WAKER_EVENT,
    &_TRACE_VHOST_USER_POSTCOPY_WAKER_FOUND_EVENT,
    &_TRACE_VHOST_USER_POSTCOPY_WAKER_NOMATCH_EVENT,
    &_TRACE_VHOST_VDPA_DMA_MAP_EVENT,
    &_TRACE_VHOST_VDPA_DMA_UNMAP_EVENT,
    &_TRACE_VHOST_VDPA_LISTENER_REGION_ADD_EVENT,
    &_TRACE_VHOST_VDPA_LISTENER_REGION_DEL_EVENT,
    &_TRACE_VHOST_VDPA_ADD_STATUS_EVENT,
    &_TRACE_VHOST_VDPA_INIT_EVENT,
    &_TRACE_VHOST_VDPA_CLEANUP_EVENT,
    &_TRACE_VHOST_VDPA_MEMSLOTS_LIMIT_EVENT,
    &_TRACE_VHOST_VDPA_SET_MEM_TABLE_EVENT,
    &_TRACE_VHOST_VDPA_DUMP_REGIONS_EVENT,
    &_TRACE_VHOST_VDPA_SET_FEATURES_EVENT,
    &_TRACE_VHOST_VDPA_GET_DEVICE_ID_EVENT,
    &_TRACE_VHOST_VDPA_RESET_DEVICE_EVENT,
    &_TRACE_VHOST_VDPA_GET_VQ_INDEX_EVENT,
    &_TRACE_VHOST_VDPA_SET_VRING_READY_EVENT,
    &_TRACE_VHOST_VDPA_DUMP_CONFIG_EVENT,
    &_TRACE_VHOST_VDPA_SET_CONFIG_EVENT,
    &_TRACE_VHOST_VDPA_GET_CONFIG_EVENT,
    &_TRACE_VHOST_VDPA_DEV_START_EVENT,
    &_TRACE_VHOST_VDPA_SET_LOG_BASE_EVENT,
    &_TRACE_VHOST_VDPA_SET_VRING_ADDR_EVENT,
    &_TRACE_VHOST_VDPA_SET_VRING_NUM_EVENT,
    &_TRACE_VHOST_VDPA_SET_VRING_BASE_EVENT,
    &_TRACE_VHOST_VDPA_GET_VRING_BASE_EVENT,
    &_TRACE_VHOST_VDPA_SET_VRING_KICK_EVENT,
    &_TRACE_VHOST_VDPA_SET_VRING_CALL_EVENT,
    &_TRACE_VHOST_VDPA_GET_FEATURES_EVENT,
    &_TRACE_VHOST_VDPA_SET_OWNER_EVENT,
    &_TRACE_VHOST_VDPA_VQ_GET_ADDR_EVENT,
    &_TRACE_VHOST_VDPA_GET_IOVA_RANGE_EVENT,
    &_TRACE_VIRTQUEUE_ALLOC_ELEMENT_EVENT,
    &_TRACE_VIRTQUEUE_FILL_EVENT,
    &_TRACE_VIRTQUEUE_FLUSH_EVENT,
    &_TRACE_VIRTQUEUE_POP_EVENT,
    &_TRACE_VIRTIO_QUEUE_NOTIFY_EVENT,
    &_TRACE_VIRTIO_NOTIFY_IRQFD_EVENT,
    &_TRACE_VIRTIO_NOTIFY_EVENT,
    &_TRACE_VIRTIO_SET_STATUS_EVENT,
    &_TRACE_VIRTIO_RNG_GUEST_NOT_READY_EVENT,
    &_TRACE_VIRTIO_RNG_CPU_IS_STOPPED_EVENT,
    &_TRACE_VIRTIO_RNG_POPPED_EVENT,
    &_TRACE_VIRTIO_RNG_PUSHED_EVENT,
    &_TRACE_VIRTIO_RNG_REQUEST_EVENT,
    &_TRACE_VIRTIO_RNG_VM_STATE_CHANGE_EVENT,
    &_TRACE_VIRTIO_BALLOON_BAD_ADDR_EVENT,
    &_TRACE_VIRTIO_BALLOON_HANDLE_OUTPUT_EVENT,
    &_TRACE_VIRTIO_BALLOON_GET_CONFIG_EVENT,
    &_TRACE_VIRTIO_BALLOON_SET_CONFIG_EVENT,
    &_TRACE_VIRTIO_BALLOON_TO_TARGET_EVENT,
    &_TRACE_VIRTIO_MMIO_READ_EVENT,
    &_TRACE_VIRTIO_MMIO_WRITE_OFFSET_EVENT,
    &_TRACE_VIRTIO_MMIO_GUEST_PAGE_EVENT,
    &_TRACE_VIRTIO_MMIO_QUEUE_WRITE_EVENT,
    &_TRACE_VIRTIO_MMIO_SETTING_IRQ_EVENT,
    &_TRACE_VIRTIO_IOMMU_DEVICE_RESET_EVENT,
    &_TRACE_VIRTIO_IOMMU_SYSTEM_RESET_EVENT,
    &_TRACE_VIRTIO_IOMMU_GET_FEATURES_EVENT,
    &_TRACE_VIRTIO_IOMMU_DEVICE_STATUS_EVENT,
    &_TRACE_VIRTIO_IOMMU_GET_CONFIG_EVENT,
    &_TRACE_VIRTIO_IOMMU_SET_CONFIG_EVENT,
    &_TRACE_VIRTIO_IOMMU_ATTACH_EVENT,
    &_TRACE_VIRTIO_IOMMU_DETACH_EVENT,
    &_TRACE_VIRTIO_IOMMU_MAP_EVENT,
    &_TRACE_VIRTIO_IOMMU_UNMAP_EVENT,
    &_TRACE_VIRTIO_IOMMU_UNMAP_DONE_EVENT,
    &_TRACE_VIRTIO_IOMMU_TRANSLATE_EVENT,
    &_TRACE_VIRTIO_IOMMU_INIT_IOMMU_MR_EVENT,
    &_TRACE_VIRTIO_IOMMU_GET_ENDPOINT_EVENT,
    &_TRACE_VIRTIO_IOMMU_PUT_ENDPOINT_EVENT,
    &_TRACE_VIRTIO_IOMMU_GET_DOMAIN_EVENT,
    &_TRACE_VIRTIO_IOMMU_PUT_DOMAIN_EVENT,
    &_TRACE_VIRTIO_IOMMU_TRANSLATE_OUT_EVENT,
    &_TRACE_VIRTIO_IOMMU_REPORT_FAULT_EVENT,
    &_TRACE_VIRTIO_IOMMU_FILL_RESV_PROPERTY_EVENT,
    &_TRACE_VIRTIO_IOMMU_NOTIFY_MAP_EVENT,
    &_TRACE_VIRTIO_IOMMU_NOTIFY_UNMAP_EVENT,
    &_TRACE_VIRTIO_IOMMU_REMAP_EVENT,
    &_TRACE_VIRTIO_IOMMU_SET_PAGE_SIZE_MASK_EVENT,
    &_TRACE_VIRTIO_IOMMU_NOTIFY_FLAG_ADD_EVENT,
    &_TRACE_VIRTIO_IOMMU_NOTIFY_FLAG_DEL_EVENT,
    &_TRACE_VIRTIO_MEM_SEND_RESPONSE_EVENT,
    &_TRACE_VIRTIO_MEM_PLUG_REQUEST_EVENT,
    &_TRACE_VIRTIO_MEM_UNPLUG_REQUEST_EVENT,
    &_TRACE_VIRTIO_MEM_UNPLUGGED_ALL_EVENT,
    &_TRACE_VIRTIO_MEM_UNPLUG_ALL_REQUEST_EVENT,
    &_TRACE_VIRTIO_MEM_RESIZED_USABLE_REGION_EVENT,
    &_TRACE_VIRTIO_MEM_STATE_REQUEST_EVENT,
    &_TRACE_VIRTIO_MEM_STATE_RESPONSE_EVENT,
    &_TRACE_VIRTIO_PMEM_FLUSH_REQUEST_EVENT,
    &_TRACE_VIRTIO_PMEM_RESPONSE_EVENT,
    &_TRACE_VIRTIO_PMEM_FLUSH_DONE_EVENT,
  NULL,
};

static void trace_hw_virtio_register_events(void)
{
    trace_event_register_group(hw_virtio_trace_events);
}
trace_init(trace_hw_virtio_register_events)
