/* 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-backends.h"

uint16_t _TRACE_DBUS_VMSTATE_PRE_SAVE_DSTATE;
uint16_t _TRACE_DBUS_VMSTATE_POST_LOAD_DSTATE;
uint16_t _TRACE_DBUS_VMSTATE_LOADING_DSTATE;
uint16_t _TRACE_DBUS_VMSTATE_SAVING_DSTATE;
uint16_t _TRACE_IOMMUFD_CHANGE_PROCESS_DSTATE;
uint16_t _TRACE_IOMMUFD_BACKEND_CONNECT_DSTATE;
uint16_t _TRACE_IOMMUFD_BACKEND_DISCONNECT_DSTATE;
uint16_t _TRACE_IOMMU_BACKEND_SET_FD_DSTATE;
uint16_t _TRACE_IOMMUFD_BACKEND_MAP_DMA_DSTATE;
uint16_t _TRACE_IOMMUFD_BACKEND_MAP_FILE_DMA_DSTATE;
uint16_t _TRACE_IOMMUFD_BACKEND_UNMAP_DMA_NON_EXIST_DSTATE;
uint16_t _TRACE_IOMMUFD_BACKEND_UNMAP_DMA_DSTATE;
uint16_t _TRACE_IOMMUFD_BACKEND_ALLOC_IOAS_DSTATE;
uint16_t _TRACE_IOMMUFD_BACKEND_ALLOC_HWPT_DSTATE;
uint16_t _TRACE_IOMMUFD_BACKEND_FREE_ID_DSTATE;
uint16_t _TRACE_IOMMUFD_BACKEND_SET_DIRTY_DSTATE;
uint16_t _TRACE_IOMMUFD_BACKEND_GET_DIRTY_BITMAP_DSTATE;
uint16_t _TRACE_IOMMUFD_BACKEND_INVALIDATE_CACHE_DSTATE;
uint16_t _TRACE_IOMMUFD_BACKEND_ALLOC_VIOMMU_DSTATE;
uint16_t _TRACE_IOMMUFD_BACKEND_ALLOC_VDEV_DSTATE;
uint16_t _TRACE_IOMMUFD_VIOMMU_ALLOC_EVENTQ_DSTATE;
uint16_t _TRACE_IGVM_RESET_ENTER_DSTATE;
uint16_t _TRACE_IGVM_RESET_HOLD_DSTATE;
uint16_t _TRACE_IGVM_RESET_EXIT_DSTATE;
uint16_t _TRACE_IGVM_FILE_LOADED_DSTATE;
uint16_t _TRACE_IGVM_PROCESS_FILE_DSTATE;
TraceEvent _TRACE_DBUS_VMSTATE_PRE_SAVE_EVENT = {
    .id = 0,
    .name = "dbus_vmstate_pre_save",
    .sstate = TRACE_DBUS_VMSTATE_PRE_SAVE_ENABLED,
    .dstate = &_TRACE_DBUS_VMSTATE_PRE_SAVE_DSTATE
};
TraceEvent _TRACE_DBUS_VMSTATE_POST_LOAD_EVENT = {
    .id = 0,
    .name = "dbus_vmstate_post_load",
    .sstate = TRACE_DBUS_VMSTATE_POST_LOAD_ENABLED,
    .dstate = &_TRACE_DBUS_VMSTATE_POST_LOAD_DSTATE
};
TraceEvent _TRACE_DBUS_VMSTATE_LOADING_EVENT = {
    .id = 0,
    .name = "dbus_vmstate_loading",
    .sstate = TRACE_DBUS_VMSTATE_LOADING_ENABLED,
    .dstate = &_TRACE_DBUS_VMSTATE_LOADING_DSTATE
};
TraceEvent _TRACE_DBUS_VMSTATE_SAVING_EVENT = {
    .id = 0,
    .name = "dbus_vmstate_saving",
    .sstate = TRACE_DBUS_VMSTATE_SAVING_ENABLED,
    .dstate = &_TRACE_DBUS_VMSTATE_SAVING_DSTATE
};
TraceEvent _TRACE_IOMMUFD_CHANGE_PROCESS_EVENT = {
    .id = 0,
    .name = "iommufd_change_process",
    .sstate = TRACE_IOMMUFD_CHANGE_PROCESS_ENABLED,
    .dstate = &_TRACE_IOMMUFD_CHANGE_PROCESS_DSTATE
};
TraceEvent _TRACE_IOMMUFD_BACKEND_CONNECT_EVENT = {
    .id = 0,
    .name = "iommufd_backend_connect",
    .sstate = TRACE_IOMMUFD_BACKEND_CONNECT_ENABLED,
    .dstate = &_TRACE_IOMMUFD_BACKEND_CONNECT_DSTATE
};
TraceEvent _TRACE_IOMMUFD_BACKEND_DISCONNECT_EVENT = {
    .id = 0,
    .name = "iommufd_backend_disconnect",
    .sstate = TRACE_IOMMUFD_BACKEND_DISCONNECT_ENABLED,
    .dstate = &_TRACE_IOMMUFD_BACKEND_DISCONNECT_DSTATE
};
TraceEvent _TRACE_IOMMU_BACKEND_SET_FD_EVENT = {
    .id = 0,
    .name = "iommu_backend_set_fd",
    .sstate = TRACE_IOMMU_BACKEND_SET_FD_ENABLED,
    .dstate = &_TRACE_IOMMU_BACKEND_SET_FD_DSTATE
};
TraceEvent _TRACE_IOMMUFD_BACKEND_MAP_DMA_EVENT = {
    .id = 0,
    .name = "iommufd_backend_map_dma",
    .sstate = TRACE_IOMMUFD_BACKEND_MAP_DMA_ENABLED,
    .dstate = &_TRACE_IOMMUFD_BACKEND_MAP_DMA_DSTATE
};
TraceEvent _TRACE_IOMMUFD_BACKEND_MAP_FILE_DMA_EVENT = {
    .id = 0,
    .name = "iommufd_backend_map_file_dma",
    .sstate = TRACE_IOMMUFD_BACKEND_MAP_FILE_DMA_ENABLED,
    .dstate = &_TRACE_IOMMUFD_BACKEND_MAP_FILE_DMA_DSTATE
};
TraceEvent _TRACE_IOMMUFD_BACKEND_UNMAP_DMA_NON_EXIST_EVENT = {
    .id = 0,
    .name = "iommufd_backend_unmap_dma_non_exist",
    .sstate = TRACE_IOMMUFD_BACKEND_UNMAP_DMA_NON_EXIST_ENABLED,
    .dstate = &_TRACE_IOMMUFD_BACKEND_UNMAP_DMA_NON_EXIST_DSTATE
};
TraceEvent _TRACE_IOMMUFD_BACKEND_UNMAP_DMA_EVENT = {
    .id = 0,
    .name = "iommufd_backend_unmap_dma",
    .sstate = TRACE_IOMMUFD_BACKEND_UNMAP_DMA_ENABLED,
    .dstate = &_TRACE_IOMMUFD_BACKEND_UNMAP_DMA_DSTATE
};
TraceEvent _TRACE_IOMMUFD_BACKEND_ALLOC_IOAS_EVENT = {
    .id = 0,
    .name = "iommufd_backend_alloc_ioas",
    .sstate = TRACE_IOMMUFD_BACKEND_ALLOC_IOAS_ENABLED,
    .dstate = &_TRACE_IOMMUFD_BACKEND_ALLOC_IOAS_DSTATE
};
TraceEvent _TRACE_IOMMUFD_BACKEND_ALLOC_HWPT_EVENT = {
    .id = 0,
    .name = "iommufd_backend_alloc_hwpt",
    .sstate = TRACE_IOMMUFD_BACKEND_ALLOC_HWPT_ENABLED,
    .dstate = &_TRACE_IOMMUFD_BACKEND_ALLOC_HWPT_DSTATE
};
TraceEvent _TRACE_IOMMUFD_BACKEND_FREE_ID_EVENT = {
    .id = 0,
    .name = "iommufd_backend_free_id",
    .sstate = TRACE_IOMMUFD_BACKEND_FREE_ID_ENABLED,
    .dstate = &_TRACE_IOMMUFD_BACKEND_FREE_ID_DSTATE
};
TraceEvent _TRACE_IOMMUFD_BACKEND_SET_DIRTY_EVENT = {
    .id = 0,
    .name = "iommufd_backend_set_dirty",
    .sstate = TRACE_IOMMUFD_BACKEND_SET_DIRTY_ENABLED,
    .dstate = &_TRACE_IOMMUFD_BACKEND_SET_DIRTY_DSTATE
};
TraceEvent _TRACE_IOMMUFD_BACKEND_GET_DIRTY_BITMAP_EVENT = {
    .id = 0,
    .name = "iommufd_backend_get_dirty_bitmap",
    .sstate = TRACE_IOMMUFD_BACKEND_GET_DIRTY_BITMAP_ENABLED,
    .dstate = &_TRACE_IOMMUFD_BACKEND_GET_DIRTY_BITMAP_DSTATE
};
TraceEvent _TRACE_IOMMUFD_BACKEND_INVALIDATE_CACHE_EVENT = {
    .id = 0,
    .name = "iommufd_backend_invalidate_cache",
    .sstate = TRACE_IOMMUFD_BACKEND_INVALIDATE_CACHE_ENABLED,
    .dstate = &_TRACE_IOMMUFD_BACKEND_INVALIDATE_CACHE_DSTATE
};
TraceEvent _TRACE_IOMMUFD_BACKEND_ALLOC_VIOMMU_EVENT = {
    .id = 0,
    .name = "iommufd_backend_alloc_viommu",
    .sstate = TRACE_IOMMUFD_BACKEND_ALLOC_VIOMMU_ENABLED,
    .dstate = &_TRACE_IOMMUFD_BACKEND_ALLOC_VIOMMU_DSTATE
};
TraceEvent _TRACE_IOMMUFD_BACKEND_ALLOC_VDEV_EVENT = {
    .id = 0,
    .name = "iommufd_backend_alloc_vdev",
    .sstate = TRACE_IOMMUFD_BACKEND_ALLOC_VDEV_ENABLED,
    .dstate = &_TRACE_IOMMUFD_BACKEND_ALLOC_VDEV_DSTATE
};
TraceEvent _TRACE_IOMMUFD_VIOMMU_ALLOC_EVENTQ_EVENT = {
    .id = 0,
    .name = "iommufd_viommu_alloc_eventq",
    .sstate = TRACE_IOMMUFD_VIOMMU_ALLOC_EVENTQ_ENABLED,
    .dstate = &_TRACE_IOMMUFD_VIOMMU_ALLOC_EVENTQ_DSTATE
};
TraceEvent _TRACE_IGVM_RESET_ENTER_EVENT = {
    .id = 0,
    .name = "igvm_reset_enter",
    .sstate = TRACE_IGVM_RESET_ENTER_ENABLED,
    .dstate = &_TRACE_IGVM_RESET_ENTER_DSTATE
};
TraceEvent _TRACE_IGVM_RESET_HOLD_EVENT = {
    .id = 0,
    .name = "igvm_reset_hold",
    .sstate = TRACE_IGVM_RESET_HOLD_ENABLED,
    .dstate = &_TRACE_IGVM_RESET_HOLD_DSTATE
};
TraceEvent _TRACE_IGVM_RESET_EXIT_EVENT = {
    .id = 0,
    .name = "igvm_reset_exit",
    .sstate = TRACE_IGVM_RESET_EXIT_ENABLED,
    .dstate = &_TRACE_IGVM_RESET_EXIT_DSTATE
};
TraceEvent _TRACE_IGVM_FILE_LOADED_EVENT = {
    .id = 0,
    .name = "igvm_file_loaded",
    .sstate = TRACE_IGVM_FILE_LOADED_ENABLED,
    .dstate = &_TRACE_IGVM_FILE_LOADED_DSTATE
};
TraceEvent _TRACE_IGVM_PROCESS_FILE_EVENT = {
    .id = 0,
    .name = "igvm_process_file",
    .sstate = TRACE_IGVM_PROCESS_FILE_ENABLED,
    .dstate = &_TRACE_IGVM_PROCESS_FILE_DSTATE
};
TraceEvent *backends_trace_events[] = {
    &_TRACE_DBUS_VMSTATE_PRE_SAVE_EVENT,
    &_TRACE_DBUS_VMSTATE_POST_LOAD_EVENT,
    &_TRACE_DBUS_VMSTATE_LOADING_EVENT,
    &_TRACE_DBUS_VMSTATE_SAVING_EVENT,
    &_TRACE_IOMMUFD_CHANGE_PROCESS_EVENT,
    &_TRACE_IOMMUFD_BACKEND_CONNECT_EVENT,
    &_TRACE_IOMMUFD_BACKEND_DISCONNECT_EVENT,
    &_TRACE_IOMMU_BACKEND_SET_FD_EVENT,
    &_TRACE_IOMMUFD_BACKEND_MAP_DMA_EVENT,
    &_TRACE_IOMMUFD_BACKEND_MAP_FILE_DMA_EVENT,
    &_TRACE_IOMMUFD_BACKEND_UNMAP_DMA_NON_EXIST_EVENT,
    &_TRACE_IOMMUFD_BACKEND_UNMAP_DMA_EVENT,
    &_TRACE_IOMMUFD_BACKEND_ALLOC_IOAS_EVENT,
    &_TRACE_IOMMUFD_BACKEND_ALLOC_HWPT_EVENT,
    &_TRACE_IOMMUFD_BACKEND_FREE_ID_EVENT,
    &_TRACE_IOMMUFD_BACKEND_SET_DIRTY_EVENT,
    &_TRACE_IOMMUFD_BACKEND_GET_DIRTY_BITMAP_EVENT,
    &_TRACE_IOMMUFD_BACKEND_INVALIDATE_CACHE_EVENT,
    &_TRACE_IOMMUFD_BACKEND_ALLOC_VIOMMU_EVENT,
    &_TRACE_IOMMUFD_BACKEND_ALLOC_VDEV_EVENT,
    &_TRACE_IOMMUFD_VIOMMU_ALLOC_EVENTQ_EVENT,
    &_TRACE_IGVM_RESET_ENTER_EVENT,
    &_TRACE_IGVM_RESET_HOLD_EVENT,
    &_TRACE_IGVM_RESET_EXIT_EVENT,
    &_TRACE_IGVM_FILE_LOADED_EVENT,
    &_TRACE_IGVM_PROCESS_FILE_EVENT,
  NULL,
};

static void trace_backends_register_events(void)
{
    trace_event_register_group(backends_trace_events);
}
trace_init(trace_backends_register_events)
