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

#ifndef TRACE_HW_VFIO_GENERATED_TRACERS_H
#define TRACE_HW_VFIO_GENERATED_TRACERS_H

#include "trace/control.h"

extern TraceEvent _TRACE_VFIO_INTX_INTERRUPT_EVENT;
extern TraceEvent _TRACE_VFIO_PCI_INTX_EOI_EVENT;
extern TraceEvent _TRACE_VFIO_INTX_ENABLE_KVM_EVENT;
extern TraceEvent _TRACE_VFIO_INTX_DISABLE_KVM_EVENT;
extern TraceEvent _TRACE_VFIO_INTX_UPDATE_EVENT;
extern TraceEvent _TRACE_VFIO_INTX_ENABLE_EVENT;
extern TraceEvent _TRACE_VFIO_INTX_DISABLE_EVENT;
extern TraceEvent _TRACE_VFIO_MSI_INTERRUPT_EVENT;
extern TraceEvent _TRACE_VFIO_MSIX_VECTOR_DO_USE_EVENT;
extern TraceEvent _TRACE_VFIO_MSIX_VECTOR_RELEASE_EVENT;
extern TraceEvent _TRACE_VFIO_MSIX_ENABLE_EVENT;
extern TraceEvent _TRACE_VFIO_MSIX_PBA_DISABLE_EVENT;
extern TraceEvent _TRACE_VFIO_MSIX_PBA_ENABLE_EVENT;
extern TraceEvent _TRACE_VFIO_MSIX_DISABLE_EVENT;
extern TraceEvent _TRACE_VFIO_MSIX_FIXUP_EVENT;
extern TraceEvent _TRACE_VFIO_MSIX_RELO_EVENT;
extern TraceEvent _TRACE_VFIO_MSI_ENABLE_EVENT;
extern TraceEvent _TRACE_VFIO_MSI_DISABLE_EVENT;
extern TraceEvent _TRACE_VFIO_PCI_LOAD_ROM_EVENT;
extern TraceEvent _TRACE_VFIO_ROM_READ_EVENT;
extern TraceEvent _TRACE_VFIO_PCI_SIZE_ROM_EVENT;
extern TraceEvent _TRACE_VFIO_VGA_WRITE_EVENT;
extern TraceEvent _TRACE_VFIO_VGA_READ_EVENT;
extern TraceEvent _TRACE_VFIO_PCI_READ_CONFIG_EVENT;
extern TraceEvent _TRACE_VFIO_PCI_WRITE_CONFIG_EVENT;
extern TraceEvent _TRACE_VFIO_MSI_SETUP_EVENT;
extern TraceEvent _TRACE_VFIO_MSIX_EARLY_SETUP_EVENT;
extern TraceEvent _TRACE_VFIO_CHECK_PCIE_FLR_EVENT;
extern TraceEvent _TRACE_VFIO_CHECK_PM_RESET_EVENT;
extern TraceEvent _TRACE_VFIO_CHECK_AF_FLR_EVENT;
extern TraceEvent _TRACE_VFIO_PCI_HOT_RESET_EVENT;
extern TraceEvent _TRACE_VFIO_PCI_HOT_RESET_HAS_DEP_DEVICES_EVENT;
extern TraceEvent _TRACE_VFIO_PCI_HOT_RESET_DEP_DEVICES_EVENT;
extern TraceEvent _TRACE_VFIO_PCI_HOT_RESET_RESULT_EVENT;
extern TraceEvent _TRACE_VFIO_PCI_POPULATE_DEVICE_CONFIG_EVENT;
extern TraceEvent _TRACE_VFIO_PCI_POPULATE_DEVICE_GET_IRQ_INFO_FAILURE_EVENT;
extern TraceEvent _TRACE_VFIO_MDEV_EVENT;
extern TraceEvent _TRACE_VFIO_PCI_SYNTHESIZE_PASID_CAP_EVENT;
extern TraceEvent _TRACE_VFIO_ADD_EXT_CAP_DROPPED_EVENT;
extern TraceEvent _TRACE_VFIO_PCI_RESET_EVENT;
extern TraceEvent _TRACE_VFIO_PCI_RESET_FLR_EVENT;
extern TraceEvent _TRACE_VFIO_PCI_RESET_PM_EVENT;
extern TraceEvent _TRACE_VFIO_PCI_EMULATED_VENDOR_ID_EVENT;
extern TraceEvent _TRACE_VFIO_PCI_EMULATED_DEVICE_ID_EVENT;
extern TraceEvent _TRACE_VFIO_PCI_EMULATED_SUB_VENDOR_ID_EVENT;
extern TraceEvent _TRACE_VFIO_PCI_EMULATED_SUB_DEVICE_ID_EVENT;
extern TraceEvent _TRACE_VFIO_PCI_EMULATED_CLASS_CODE_EVENT;
extern TraceEvent _TRACE_VFIO_QUIRK_ROM_IN_DENYLIST_EVENT;
extern TraceEvent _TRACE_VFIO_QUIRK_GENERIC_WINDOW_ADDRESS_WRITE_EVENT;
extern TraceEvent _TRACE_VFIO_QUIRK_GENERIC_WINDOW_DATA_READ_EVENT;
extern TraceEvent _TRACE_VFIO_QUIRK_GENERIC_WINDOW_DATA_WRITE_EVENT;
extern TraceEvent _TRACE_VFIO_QUIRK_GENERIC_MIRROR_READ_EVENT;
extern TraceEvent _TRACE_VFIO_QUIRK_GENERIC_MIRROR_WRITE_EVENT;
extern TraceEvent _TRACE_VFIO_QUIRK_ATI_3C3_READ_EVENT;
extern TraceEvent _TRACE_VFIO_QUIRK_ATI_3C3_PROBE_EVENT;
extern TraceEvent _TRACE_VFIO_QUIRK_ATI_BAR4_PROBE_EVENT;
extern TraceEvent _TRACE_VFIO_QUIRK_ATI_BAR2_PROBE_EVENT;
extern TraceEvent _TRACE_VFIO_QUIRK_NVIDIA_3D0_STATE_EVENT;
extern TraceEvent _TRACE_VFIO_QUIRK_NVIDIA_3D0_READ_EVENT;
extern TraceEvent _TRACE_VFIO_QUIRK_NVIDIA_3D0_WRITE_EVENT;
extern TraceEvent _TRACE_VFIO_QUIRK_NVIDIA_3D0_PROBE_EVENT;
extern TraceEvent _TRACE_VFIO_QUIRK_NVIDIA_BAR5_STATE_EVENT;
extern TraceEvent _TRACE_VFIO_QUIRK_NVIDIA_BAR5_PROBE_EVENT;
extern TraceEvent _TRACE_VFIO_QUIRK_NVIDIA_BAR0_MSI_ACK_EVENT;
extern TraceEvent _TRACE_VFIO_QUIRK_NVIDIA_BAR0_PROBE_EVENT;
extern TraceEvent _TRACE_VFIO_QUIRK_RTL8168_FAKE_LATCH_EVENT;
extern TraceEvent _TRACE_VFIO_QUIRK_RTL8168_MSIX_WRITE_EVENT;
extern TraceEvent _TRACE_VFIO_QUIRK_RTL8168_MSIX_READ_EVENT;
extern TraceEvent _TRACE_VFIO_QUIRK_RTL8168_PROBE_EVENT;
extern TraceEvent _TRACE_VFIO_QUIRK_ATI_BONAIRE_RESET_SKIPPED_EVENT;
extern TraceEvent _TRACE_VFIO_QUIRK_ATI_BONAIRE_RESET_NO_SMC_EVENT;
extern TraceEvent _TRACE_VFIO_QUIRK_ATI_BONAIRE_RESET_TIMEOUT_EVENT;
extern TraceEvent _TRACE_VFIO_QUIRK_ATI_BONAIRE_RESET_DONE_EVENT;
extern TraceEvent _TRACE_VFIO_QUIRK_ATI_BONAIRE_RESET_EVENT;
extern TraceEvent _TRACE_VFIO_IOEVENTFD_EXIT_EVENT;
extern TraceEvent _TRACE_VFIO_IOEVENTFD_HANDLER_EVENT;
extern TraceEvent _TRACE_VFIO_IOEVENTFD_INIT_EVENT;
extern TraceEvent _TRACE_VFIO_PCI_IGD_OPREGION_ENABLED_EVENT;
extern TraceEvent _TRACE_VFIO_PCI_IGD_BAR4_WRITE_EVENT;
extern TraceEvent _TRACE_VFIO_PCI_IGD_BDSM_ENABLED_EVENT;
extern TraceEvent _TRACE_VFIO_PCI_IGD_HOST_BRIDGE_ENABLED_EVENT;
extern TraceEvent _TRACE_VFIO_PCI_IGD_LPC_BRIDGE_ENABLED_EVENT;
extern TraceEvent _TRACE_VFIO_IOMMU_MAP_NOTIFY_EVENT;
extern TraceEvent _TRACE_VFIO_LISTENER_REGION_SKIP_EVENT;
extern TraceEvent _TRACE_VFIO_SPAPR_GROUP_ATTACH_EVENT;
extern TraceEvent _TRACE_VFIO_LISTENER_REGION_ADD_IOMMU_EVENT;
extern TraceEvent _TRACE_VFIO_LISTENER_REGION_DEL_IOMMU_EVENT;
extern TraceEvent _TRACE_VFIO_LISTENER_REGION_ADD_RAM_EVENT;
extern TraceEvent _TRACE_VFIO_KNOWN_SAFE_MISALIGNMENT_EVENT;
extern TraceEvent _TRACE_VFIO_LISTENER_REGION_ADD_NO_DMA_MAP_EVENT;
extern TraceEvent _TRACE_VFIO_LISTENER_REGION_DEL_EVENT;
extern TraceEvent _TRACE_VFIO_DEVICE_DIRTY_TRACKING_UPDATE_EVENT;
extern TraceEvent _TRACE_VFIO_DEVICE_DIRTY_TRACKING_START_EVENT;
extern TraceEvent _TRACE_VFIO_IOMMU_MAP_DIRTY_NOTIFY_EVENT;
extern TraceEvent _TRACE_VFIO_IOMMU_MAP_DIRTY_NOTIFY_SKIP_RO_EVENT;
extern TraceEvent _TRACE_VFIO_CONTAINER_QUERY_DIRTY_BITMAP_EVENT;
extern TraceEvent _TRACE_VFIO_CONTAINER_DISCONNECT_EVENT;
extern TraceEvent _TRACE_VFIO_GROUP_PUT_EVENT;
extern TraceEvent _TRACE_VFIO_DEVICE_GET_EVENT;
extern TraceEvent _TRACE_VFIO_DEVICE_PUT_EVENT;
extern TraceEvent _TRACE_VFIO_REGION_WRITE_EVENT;
extern TraceEvent _TRACE_VFIO_REGION_READ_EVENT;
extern TraceEvent _TRACE_VFIO_REGION_SETUP_EVENT;
extern TraceEvent _TRACE_VFIO_REGION_DMABUF_EVENT;
extern TraceEvent _TRACE_VFIO_REGION_MMAP_FAULT_EVENT;
extern TraceEvent _TRACE_VFIO_REGION_MMAP_EVENT;
extern TraceEvent _TRACE_VFIO_REGION_EXIT_EVENT;
extern TraceEvent _TRACE_VFIO_REGION_FINALIZE_EVENT;
extern TraceEvent _TRACE_VFIO_REGION_MMAPS_SET_ENABLED_EVENT;
extern TraceEvent _TRACE_VFIO_REGION_UNMAP_EVENT;
extern TraceEvent _TRACE_VFIO_REGION_SPARSE_MMAP_HEADER_EVENT;
extern TraceEvent _TRACE_VFIO_REGION_SPARSE_MMAP_ENTRY_EVENT;
extern TraceEvent _TRACE_VFIO_PREREG_LISTENER_REGION_ADD_SKIP_EVENT;
extern TraceEvent _TRACE_VFIO_PREREG_LISTENER_REGION_DEL_SKIP_EVENT;
extern TraceEvent _TRACE_VFIO_PREREG_REGISTER_EVENT;
extern TraceEvent _TRACE_VFIO_PREREG_UNREGISTER_EVENT;
extern TraceEvent _TRACE_VFIO_SPAPR_CREATE_WINDOW_EVENT;
extern TraceEvent _TRACE_VFIO_SPAPR_REMOVE_WINDOW_EVENT;
extern TraceEvent _TRACE_VFIO_DISPLAY_EDID_AVAILABLE_EVENT;
extern TraceEvent _TRACE_VFIO_DISPLAY_EDID_LINK_UP_EVENT;
extern TraceEvent _TRACE_VFIO_DISPLAY_EDID_LINK_DOWN_EVENT;
extern TraceEvent _TRACE_VFIO_DISPLAY_EDID_UPDATE_EVENT;
extern TraceEvent _TRACE_VFIO_DISPLAY_EDID_WRITE_ERROR_EVENT;
extern TraceEvent _TRACE_VFIO_LOAD_BUFS_THREAD_START_EVENT;
extern TraceEvent _TRACE_VFIO_LOAD_BUFS_THREAD_END_EVENT;
extern TraceEvent _TRACE_VFIO_LOAD_CLEANUP_EVENT;
extern TraceEvent _TRACE_VFIO_LOAD_DEVICE_CONFIG_STATE_START_EVENT;
extern TraceEvent _TRACE_VFIO_LOAD_DEVICE_CONFIG_STATE_END_EVENT;
extern TraceEvent _TRACE_VFIO_LOAD_STATE_EVENT;
extern TraceEvent _TRACE_VFIO_LOAD_STATE_DEVICE_DATA_EVENT;
extern TraceEvent _TRACE_VFIO_LOAD_STATE_DEVICE_BUFFER_INCOMING_EVENT;
extern TraceEvent _TRACE_VFIO_LOAD_STATE_DEVICE_BUFFER_START_EVENT;
extern TraceEvent _TRACE_VFIO_LOAD_STATE_DEVICE_BUFFER_STARVED_EVENT;
extern TraceEvent _TRACE_VFIO_LOAD_STATE_DEVICE_BUFFER_LOAD_START_EVENT;
extern TraceEvent _TRACE_VFIO_LOAD_STATE_DEVICE_BUFFER_LOAD_END_EVENT;
extern TraceEvent _TRACE_VFIO_LOAD_STATE_DEVICE_BUFFER_END_EVENT;
extern TraceEvent _TRACE_VFIO_MIGRATION_REALIZE_EVENT;
extern TraceEvent _TRACE_VFIO_MIGRATION_SET_DEVICE_STATE_EVENT;
extern TraceEvent _TRACE_VFIO_MIGRATION_SET_STATE_EVENT;
extern TraceEvent _TRACE_VFIO_MIGRATION_STATE_NOTIFIER_EVENT;
extern TraceEvent _TRACE_VFIO_QUERY_PRECOPY_SIZE_EVENT;
extern TraceEvent _TRACE_VFIO_QUERY_STOP_COPY_SIZE_EVENT;
extern TraceEvent _TRACE_VFIO_SAVE_BLOCK_EVENT;
extern TraceEvent _TRACE_VFIO_SAVE_BLOCK_PRECOPY_EMPTY_HIT_EVENT;
extern TraceEvent _TRACE_VFIO_SAVE_CLEANUP_EVENT;
extern TraceEvent _TRACE_VFIO_SAVE_COMPLETE_PRECOPY_EVENT;
extern TraceEvent _TRACE_VFIO_SAVE_COMPLETE_PRECOPY_START_EVENT;
extern TraceEvent _TRACE_VFIO_SAVE_COMPLETE_PRECOPY_THREAD_START_EVENT;
extern TraceEvent _TRACE_VFIO_SAVE_COMPLETE_PRECOPY_THREAD_END_EVENT;
extern TraceEvent _TRACE_VFIO_SAVE_DEVICE_CONFIG_STATE_EVENT;
extern TraceEvent _TRACE_VFIO_SAVE_ITERATE_EVENT;
extern TraceEvent _TRACE_VFIO_SAVE_ITERATE_START_EVENT;
extern TraceEvent _TRACE_VFIO_SAVE_SETUP_EVENT;
extern TraceEvent _TRACE_VFIO_STATE_PENDING_EVENT;
extern TraceEvent _TRACE_VFIO_VMSTATE_CHANGE_EVENT;
extern TraceEvent _TRACE_VFIO_VMSTATE_CHANGE_PREPARE_EVENT;
extern TraceEvent _TRACE_IOMMUFD_CDEV_CONNECT_AND_BIND_EVENT;
extern TraceEvent _TRACE_IOMMUFD_CDEV_GETFD_EVENT;
extern TraceEvent _TRACE_IOMMUFD_CDEV_ATTACH_IOAS_HWPT_EVENT;
extern TraceEvent _TRACE_IOMMUFD_CDEV_DETACH_IOAS_HWPT_EVENT;
extern TraceEvent _TRACE_IOMMUFD_CDEV_FAIL_ATTACH_EXISTING_CONTAINER_EVENT;
extern TraceEvent _TRACE_IOMMUFD_CDEV_ALLOC_IOAS_EVENT;
extern TraceEvent _TRACE_IOMMUFD_CDEV_DEVICE_INFO_EVENT;
extern TraceEvent _TRACE_IOMMUFD_CDEV_PCI_HOT_RESET_DEP_DEVICES_EVENT;
extern TraceEvent _TRACE_VFIO_CPR_FIND_DEVICE_EVENT;
extern TraceEvent _TRACE_VFIO_DEVICE_GET_REGION_INFO_TYPE_EVENT;
extern TraceEvent _TRACE_VFIO_DEVICE_RESET_HANDLER_EVENT;
extern TraceEvent _TRACE_VFIO_DEVICE_ATTACH_EVENT;
extern TraceEvent _TRACE_VFIO_DEVICE_DETACH_EVENT;
extern uint16_t _TRACE_VFIO_INTX_INTERRUPT_DSTATE;
extern uint16_t _TRACE_VFIO_PCI_INTX_EOI_DSTATE;
extern uint16_t _TRACE_VFIO_INTX_ENABLE_KVM_DSTATE;
extern uint16_t _TRACE_VFIO_INTX_DISABLE_KVM_DSTATE;
extern uint16_t _TRACE_VFIO_INTX_UPDATE_DSTATE;
extern uint16_t _TRACE_VFIO_INTX_ENABLE_DSTATE;
extern uint16_t _TRACE_VFIO_INTX_DISABLE_DSTATE;
extern uint16_t _TRACE_VFIO_MSI_INTERRUPT_DSTATE;
extern uint16_t _TRACE_VFIO_MSIX_VECTOR_DO_USE_DSTATE;
extern uint16_t _TRACE_VFIO_MSIX_VECTOR_RELEASE_DSTATE;
extern uint16_t _TRACE_VFIO_MSIX_ENABLE_DSTATE;
extern uint16_t _TRACE_VFIO_MSIX_PBA_DISABLE_DSTATE;
extern uint16_t _TRACE_VFIO_MSIX_PBA_ENABLE_DSTATE;
extern uint16_t _TRACE_VFIO_MSIX_DISABLE_DSTATE;
extern uint16_t _TRACE_VFIO_MSIX_FIXUP_DSTATE;
extern uint16_t _TRACE_VFIO_MSIX_RELO_DSTATE;
extern uint16_t _TRACE_VFIO_MSI_ENABLE_DSTATE;
extern uint16_t _TRACE_VFIO_MSI_DISABLE_DSTATE;
extern uint16_t _TRACE_VFIO_PCI_LOAD_ROM_DSTATE;
extern uint16_t _TRACE_VFIO_ROM_READ_DSTATE;
extern uint16_t _TRACE_VFIO_PCI_SIZE_ROM_DSTATE;
extern uint16_t _TRACE_VFIO_VGA_WRITE_DSTATE;
extern uint16_t _TRACE_VFIO_VGA_READ_DSTATE;
extern uint16_t _TRACE_VFIO_PCI_READ_CONFIG_DSTATE;
extern uint16_t _TRACE_VFIO_PCI_WRITE_CONFIG_DSTATE;
extern uint16_t _TRACE_VFIO_MSI_SETUP_DSTATE;
extern uint16_t _TRACE_VFIO_MSIX_EARLY_SETUP_DSTATE;
extern uint16_t _TRACE_VFIO_CHECK_PCIE_FLR_DSTATE;
extern uint16_t _TRACE_VFIO_CHECK_PM_RESET_DSTATE;
extern uint16_t _TRACE_VFIO_CHECK_AF_FLR_DSTATE;
extern uint16_t _TRACE_VFIO_PCI_HOT_RESET_DSTATE;
extern uint16_t _TRACE_VFIO_PCI_HOT_RESET_HAS_DEP_DEVICES_DSTATE;
extern uint16_t _TRACE_VFIO_PCI_HOT_RESET_DEP_DEVICES_DSTATE;
extern uint16_t _TRACE_VFIO_PCI_HOT_RESET_RESULT_DSTATE;
extern uint16_t _TRACE_VFIO_PCI_POPULATE_DEVICE_CONFIG_DSTATE;
extern uint16_t _TRACE_VFIO_PCI_POPULATE_DEVICE_GET_IRQ_INFO_FAILURE_DSTATE;
extern uint16_t _TRACE_VFIO_MDEV_DSTATE;
extern uint16_t _TRACE_VFIO_PCI_SYNTHESIZE_PASID_CAP_DSTATE;
extern uint16_t _TRACE_VFIO_ADD_EXT_CAP_DROPPED_DSTATE;
extern uint16_t _TRACE_VFIO_PCI_RESET_DSTATE;
extern uint16_t _TRACE_VFIO_PCI_RESET_FLR_DSTATE;
extern uint16_t _TRACE_VFIO_PCI_RESET_PM_DSTATE;
extern uint16_t _TRACE_VFIO_PCI_EMULATED_VENDOR_ID_DSTATE;
extern uint16_t _TRACE_VFIO_PCI_EMULATED_DEVICE_ID_DSTATE;
extern uint16_t _TRACE_VFIO_PCI_EMULATED_SUB_VENDOR_ID_DSTATE;
extern uint16_t _TRACE_VFIO_PCI_EMULATED_SUB_DEVICE_ID_DSTATE;
extern uint16_t _TRACE_VFIO_PCI_EMULATED_CLASS_CODE_DSTATE;
extern uint16_t _TRACE_VFIO_QUIRK_ROM_IN_DENYLIST_DSTATE;
extern uint16_t _TRACE_VFIO_QUIRK_GENERIC_WINDOW_ADDRESS_WRITE_DSTATE;
extern uint16_t _TRACE_VFIO_QUIRK_GENERIC_WINDOW_DATA_READ_DSTATE;
extern uint16_t _TRACE_VFIO_QUIRK_GENERIC_WINDOW_DATA_WRITE_DSTATE;
extern uint16_t _TRACE_VFIO_QUIRK_GENERIC_MIRROR_READ_DSTATE;
extern uint16_t _TRACE_VFIO_QUIRK_GENERIC_MIRROR_WRITE_DSTATE;
extern uint16_t _TRACE_VFIO_QUIRK_ATI_3C3_READ_DSTATE;
extern uint16_t _TRACE_VFIO_QUIRK_ATI_3C3_PROBE_DSTATE;
extern uint16_t _TRACE_VFIO_QUIRK_ATI_BAR4_PROBE_DSTATE;
extern uint16_t _TRACE_VFIO_QUIRK_ATI_BAR2_PROBE_DSTATE;
extern uint16_t _TRACE_VFIO_QUIRK_NVIDIA_3D0_STATE_DSTATE;
extern uint16_t _TRACE_VFIO_QUIRK_NVIDIA_3D0_READ_DSTATE;
extern uint16_t _TRACE_VFIO_QUIRK_NVIDIA_3D0_WRITE_DSTATE;
extern uint16_t _TRACE_VFIO_QUIRK_NVIDIA_3D0_PROBE_DSTATE;
extern uint16_t _TRACE_VFIO_QUIRK_NVIDIA_BAR5_STATE_DSTATE;
extern uint16_t _TRACE_VFIO_QUIRK_NVIDIA_BAR5_PROBE_DSTATE;
extern uint16_t _TRACE_VFIO_QUIRK_NVIDIA_BAR0_MSI_ACK_DSTATE;
extern uint16_t _TRACE_VFIO_QUIRK_NVIDIA_BAR0_PROBE_DSTATE;
extern uint16_t _TRACE_VFIO_QUIRK_RTL8168_FAKE_LATCH_DSTATE;
extern uint16_t _TRACE_VFIO_QUIRK_RTL8168_MSIX_WRITE_DSTATE;
extern uint16_t _TRACE_VFIO_QUIRK_RTL8168_MSIX_READ_DSTATE;
extern uint16_t _TRACE_VFIO_QUIRK_RTL8168_PROBE_DSTATE;
extern uint16_t _TRACE_VFIO_QUIRK_ATI_BONAIRE_RESET_SKIPPED_DSTATE;
extern uint16_t _TRACE_VFIO_QUIRK_ATI_BONAIRE_RESET_NO_SMC_DSTATE;
extern uint16_t _TRACE_VFIO_QUIRK_ATI_BONAIRE_RESET_TIMEOUT_DSTATE;
extern uint16_t _TRACE_VFIO_QUIRK_ATI_BONAIRE_RESET_DONE_DSTATE;
extern uint16_t _TRACE_VFIO_QUIRK_ATI_BONAIRE_RESET_DSTATE;
extern uint16_t _TRACE_VFIO_IOEVENTFD_EXIT_DSTATE;
extern uint16_t _TRACE_VFIO_IOEVENTFD_HANDLER_DSTATE;
extern uint16_t _TRACE_VFIO_IOEVENTFD_INIT_DSTATE;
extern uint16_t _TRACE_VFIO_PCI_IGD_OPREGION_ENABLED_DSTATE;
extern uint16_t _TRACE_VFIO_PCI_IGD_BAR4_WRITE_DSTATE;
extern uint16_t _TRACE_VFIO_PCI_IGD_BDSM_ENABLED_DSTATE;
extern uint16_t _TRACE_VFIO_PCI_IGD_HOST_BRIDGE_ENABLED_DSTATE;
extern uint16_t _TRACE_VFIO_PCI_IGD_LPC_BRIDGE_ENABLED_DSTATE;
extern uint16_t _TRACE_VFIO_IOMMU_MAP_NOTIFY_DSTATE;
extern uint16_t _TRACE_VFIO_LISTENER_REGION_SKIP_DSTATE;
extern uint16_t _TRACE_VFIO_SPAPR_GROUP_ATTACH_DSTATE;
extern uint16_t _TRACE_VFIO_LISTENER_REGION_ADD_IOMMU_DSTATE;
extern uint16_t _TRACE_VFIO_LISTENER_REGION_DEL_IOMMU_DSTATE;
extern uint16_t _TRACE_VFIO_LISTENER_REGION_ADD_RAM_DSTATE;
extern uint16_t _TRACE_VFIO_KNOWN_SAFE_MISALIGNMENT_DSTATE;
extern uint16_t _TRACE_VFIO_LISTENER_REGION_ADD_NO_DMA_MAP_DSTATE;
extern uint16_t _TRACE_VFIO_LISTENER_REGION_DEL_DSTATE;
extern uint16_t _TRACE_VFIO_DEVICE_DIRTY_TRACKING_UPDATE_DSTATE;
extern uint16_t _TRACE_VFIO_DEVICE_DIRTY_TRACKING_START_DSTATE;
extern uint16_t _TRACE_VFIO_IOMMU_MAP_DIRTY_NOTIFY_DSTATE;
extern uint16_t _TRACE_VFIO_IOMMU_MAP_DIRTY_NOTIFY_SKIP_RO_DSTATE;
extern uint16_t _TRACE_VFIO_CONTAINER_QUERY_DIRTY_BITMAP_DSTATE;
extern uint16_t _TRACE_VFIO_CONTAINER_DISCONNECT_DSTATE;
extern uint16_t _TRACE_VFIO_GROUP_PUT_DSTATE;
extern uint16_t _TRACE_VFIO_DEVICE_GET_DSTATE;
extern uint16_t _TRACE_VFIO_DEVICE_PUT_DSTATE;
extern uint16_t _TRACE_VFIO_REGION_WRITE_DSTATE;
extern uint16_t _TRACE_VFIO_REGION_READ_DSTATE;
extern uint16_t _TRACE_VFIO_REGION_SETUP_DSTATE;
extern uint16_t _TRACE_VFIO_REGION_DMABUF_DSTATE;
extern uint16_t _TRACE_VFIO_REGION_MMAP_FAULT_DSTATE;
extern uint16_t _TRACE_VFIO_REGION_MMAP_DSTATE;
extern uint16_t _TRACE_VFIO_REGION_EXIT_DSTATE;
extern uint16_t _TRACE_VFIO_REGION_FINALIZE_DSTATE;
extern uint16_t _TRACE_VFIO_REGION_MMAPS_SET_ENABLED_DSTATE;
extern uint16_t _TRACE_VFIO_REGION_UNMAP_DSTATE;
extern uint16_t _TRACE_VFIO_REGION_SPARSE_MMAP_HEADER_DSTATE;
extern uint16_t _TRACE_VFIO_REGION_SPARSE_MMAP_ENTRY_DSTATE;
extern uint16_t _TRACE_VFIO_PREREG_LISTENER_REGION_ADD_SKIP_DSTATE;
extern uint16_t _TRACE_VFIO_PREREG_LISTENER_REGION_DEL_SKIP_DSTATE;
extern uint16_t _TRACE_VFIO_PREREG_REGISTER_DSTATE;
extern uint16_t _TRACE_VFIO_PREREG_UNREGISTER_DSTATE;
extern uint16_t _TRACE_VFIO_SPAPR_CREATE_WINDOW_DSTATE;
extern uint16_t _TRACE_VFIO_SPAPR_REMOVE_WINDOW_DSTATE;
extern uint16_t _TRACE_VFIO_DISPLAY_EDID_AVAILABLE_DSTATE;
extern uint16_t _TRACE_VFIO_DISPLAY_EDID_LINK_UP_DSTATE;
extern uint16_t _TRACE_VFIO_DISPLAY_EDID_LINK_DOWN_DSTATE;
extern uint16_t _TRACE_VFIO_DISPLAY_EDID_UPDATE_DSTATE;
extern uint16_t _TRACE_VFIO_DISPLAY_EDID_WRITE_ERROR_DSTATE;
extern uint16_t _TRACE_VFIO_LOAD_BUFS_THREAD_START_DSTATE;
extern uint16_t _TRACE_VFIO_LOAD_BUFS_THREAD_END_DSTATE;
extern uint16_t _TRACE_VFIO_LOAD_CLEANUP_DSTATE;
extern uint16_t _TRACE_VFIO_LOAD_DEVICE_CONFIG_STATE_START_DSTATE;
extern uint16_t _TRACE_VFIO_LOAD_DEVICE_CONFIG_STATE_END_DSTATE;
extern uint16_t _TRACE_VFIO_LOAD_STATE_DSTATE;
extern uint16_t _TRACE_VFIO_LOAD_STATE_DEVICE_DATA_DSTATE;
extern uint16_t _TRACE_VFIO_LOAD_STATE_DEVICE_BUFFER_INCOMING_DSTATE;
extern uint16_t _TRACE_VFIO_LOAD_STATE_DEVICE_BUFFER_START_DSTATE;
extern uint16_t _TRACE_VFIO_LOAD_STATE_DEVICE_BUFFER_STARVED_DSTATE;
extern uint16_t _TRACE_VFIO_LOAD_STATE_DEVICE_BUFFER_LOAD_START_DSTATE;
extern uint16_t _TRACE_VFIO_LOAD_STATE_DEVICE_BUFFER_LOAD_END_DSTATE;
extern uint16_t _TRACE_VFIO_LOAD_STATE_DEVICE_BUFFER_END_DSTATE;
extern uint16_t _TRACE_VFIO_MIGRATION_REALIZE_DSTATE;
extern uint16_t _TRACE_VFIO_MIGRATION_SET_DEVICE_STATE_DSTATE;
extern uint16_t _TRACE_VFIO_MIGRATION_SET_STATE_DSTATE;
extern uint16_t _TRACE_VFIO_MIGRATION_STATE_NOTIFIER_DSTATE;
extern uint16_t _TRACE_VFIO_QUERY_PRECOPY_SIZE_DSTATE;
extern uint16_t _TRACE_VFIO_QUERY_STOP_COPY_SIZE_DSTATE;
extern uint16_t _TRACE_VFIO_SAVE_BLOCK_DSTATE;
extern uint16_t _TRACE_VFIO_SAVE_BLOCK_PRECOPY_EMPTY_HIT_DSTATE;
extern uint16_t _TRACE_VFIO_SAVE_CLEANUP_DSTATE;
extern uint16_t _TRACE_VFIO_SAVE_COMPLETE_PRECOPY_DSTATE;
extern uint16_t _TRACE_VFIO_SAVE_COMPLETE_PRECOPY_START_DSTATE;
extern uint16_t _TRACE_VFIO_SAVE_COMPLETE_PRECOPY_THREAD_START_DSTATE;
extern uint16_t _TRACE_VFIO_SAVE_COMPLETE_PRECOPY_THREAD_END_DSTATE;
extern uint16_t _TRACE_VFIO_SAVE_DEVICE_CONFIG_STATE_DSTATE;
extern uint16_t _TRACE_VFIO_SAVE_ITERATE_DSTATE;
extern uint16_t _TRACE_VFIO_SAVE_ITERATE_START_DSTATE;
extern uint16_t _TRACE_VFIO_SAVE_SETUP_DSTATE;
extern uint16_t _TRACE_VFIO_STATE_PENDING_DSTATE;
extern uint16_t _TRACE_VFIO_VMSTATE_CHANGE_DSTATE;
extern uint16_t _TRACE_VFIO_VMSTATE_CHANGE_PREPARE_DSTATE;
extern uint16_t _TRACE_IOMMUFD_CDEV_CONNECT_AND_BIND_DSTATE;
extern uint16_t _TRACE_IOMMUFD_CDEV_GETFD_DSTATE;
extern uint16_t _TRACE_IOMMUFD_CDEV_ATTACH_IOAS_HWPT_DSTATE;
extern uint16_t _TRACE_IOMMUFD_CDEV_DETACH_IOAS_HWPT_DSTATE;
extern uint16_t _TRACE_IOMMUFD_CDEV_FAIL_ATTACH_EXISTING_CONTAINER_DSTATE;
extern uint16_t _TRACE_IOMMUFD_CDEV_ALLOC_IOAS_DSTATE;
extern uint16_t _TRACE_IOMMUFD_CDEV_DEVICE_INFO_DSTATE;
extern uint16_t _TRACE_IOMMUFD_CDEV_PCI_HOT_RESET_DEP_DEVICES_DSTATE;
extern uint16_t _TRACE_VFIO_CPR_FIND_DEVICE_DSTATE;
extern uint16_t _TRACE_VFIO_DEVICE_GET_REGION_INFO_TYPE_DSTATE;
extern uint16_t _TRACE_VFIO_DEVICE_RESET_HANDLER_DSTATE;
extern uint16_t _TRACE_VFIO_DEVICE_ATTACH_DSTATE;
extern uint16_t _TRACE_VFIO_DEVICE_DETACH_DSTATE;
#define TRACE_VFIO_INTX_INTERRUPT_ENABLED 1
#define TRACE_VFIO_PCI_INTX_EOI_ENABLED 1
#define TRACE_VFIO_INTX_ENABLE_KVM_ENABLED 1
#define TRACE_VFIO_INTX_DISABLE_KVM_ENABLED 1
#define TRACE_VFIO_INTX_UPDATE_ENABLED 1
#define TRACE_VFIO_INTX_ENABLE_ENABLED 1
#define TRACE_VFIO_INTX_DISABLE_ENABLED 1
#define TRACE_VFIO_MSI_INTERRUPT_ENABLED 1
#define TRACE_VFIO_MSIX_VECTOR_DO_USE_ENABLED 1
#define TRACE_VFIO_MSIX_VECTOR_RELEASE_ENABLED 1
#define TRACE_VFIO_MSIX_ENABLE_ENABLED 1
#define TRACE_VFIO_MSIX_PBA_DISABLE_ENABLED 1
#define TRACE_VFIO_MSIX_PBA_ENABLE_ENABLED 1
#define TRACE_VFIO_MSIX_DISABLE_ENABLED 1
#define TRACE_VFIO_MSIX_FIXUP_ENABLED 1
#define TRACE_VFIO_MSIX_RELO_ENABLED 1
#define TRACE_VFIO_MSI_ENABLE_ENABLED 1
#define TRACE_VFIO_MSI_DISABLE_ENABLED 1
#define TRACE_VFIO_PCI_LOAD_ROM_ENABLED 1
#define TRACE_VFIO_ROM_READ_ENABLED 1
#define TRACE_VFIO_PCI_SIZE_ROM_ENABLED 1
#define TRACE_VFIO_VGA_WRITE_ENABLED 1
#define TRACE_VFIO_VGA_READ_ENABLED 1
#define TRACE_VFIO_PCI_READ_CONFIG_ENABLED 1
#define TRACE_VFIO_PCI_WRITE_CONFIG_ENABLED 1
#define TRACE_VFIO_MSI_SETUP_ENABLED 1
#define TRACE_VFIO_MSIX_EARLY_SETUP_ENABLED 1
#define TRACE_VFIO_CHECK_PCIE_FLR_ENABLED 1
#define TRACE_VFIO_CHECK_PM_RESET_ENABLED 1
#define TRACE_VFIO_CHECK_AF_FLR_ENABLED 1
#define TRACE_VFIO_PCI_HOT_RESET_ENABLED 1
#define TRACE_VFIO_PCI_HOT_RESET_HAS_DEP_DEVICES_ENABLED 1
#define TRACE_VFIO_PCI_HOT_RESET_DEP_DEVICES_ENABLED 1
#define TRACE_VFIO_PCI_HOT_RESET_RESULT_ENABLED 1
#define TRACE_VFIO_PCI_POPULATE_DEVICE_CONFIG_ENABLED 1
#define TRACE_VFIO_PCI_POPULATE_DEVICE_GET_IRQ_INFO_FAILURE_ENABLED 1
#define TRACE_VFIO_MDEV_ENABLED 1
#define TRACE_VFIO_PCI_SYNTHESIZE_PASID_CAP_ENABLED 1
#define TRACE_VFIO_ADD_EXT_CAP_DROPPED_ENABLED 1
#define TRACE_VFIO_PCI_RESET_ENABLED 1
#define TRACE_VFIO_PCI_RESET_FLR_ENABLED 1
#define TRACE_VFIO_PCI_RESET_PM_ENABLED 1
#define TRACE_VFIO_PCI_EMULATED_VENDOR_ID_ENABLED 1
#define TRACE_VFIO_PCI_EMULATED_DEVICE_ID_ENABLED 1
#define TRACE_VFIO_PCI_EMULATED_SUB_VENDOR_ID_ENABLED 1
#define TRACE_VFIO_PCI_EMULATED_SUB_DEVICE_ID_ENABLED 1
#define TRACE_VFIO_PCI_EMULATED_CLASS_CODE_ENABLED 1
#define TRACE_VFIO_QUIRK_ROM_IN_DENYLIST_ENABLED 1
#define TRACE_VFIO_QUIRK_GENERIC_WINDOW_ADDRESS_WRITE_ENABLED 1
#define TRACE_VFIO_QUIRK_GENERIC_WINDOW_DATA_READ_ENABLED 1
#define TRACE_VFIO_QUIRK_GENERIC_WINDOW_DATA_WRITE_ENABLED 1
#define TRACE_VFIO_QUIRK_GENERIC_MIRROR_READ_ENABLED 1
#define TRACE_VFIO_QUIRK_GENERIC_MIRROR_WRITE_ENABLED 1
#define TRACE_VFIO_QUIRK_ATI_3C3_READ_ENABLED 1
#define TRACE_VFIO_QUIRK_ATI_3C3_PROBE_ENABLED 1
#define TRACE_VFIO_QUIRK_ATI_BAR4_PROBE_ENABLED 1
#define TRACE_VFIO_QUIRK_ATI_BAR2_PROBE_ENABLED 1
#define TRACE_VFIO_QUIRK_NVIDIA_3D0_STATE_ENABLED 1
#define TRACE_VFIO_QUIRK_NVIDIA_3D0_READ_ENABLED 1
#define TRACE_VFIO_QUIRK_NVIDIA_3D0_WRITE_ENABLED 1
#define TRACE_VFIO_QUIRK_NVIDIA_3D0_PROBE_ENABLED 1
#define TRACE_VFIO_QUIRK_NVIDIA_BAR5_STATE_ENABLED 1
#define TRACE_VFIO_QUIRK_NVIDIA_BAR5_PROBE_ENABLED 1
#define TRACE_VFIO_QUIRK_NVIDIA_BAR0_MSI_ACK_ENABLED 1
#define TRACE_VFIO_QUIRK_NVIDIA_BAR0_PROBE_ENABLED 1
#define TRACE_VFIO_QUIRK_RTL8168_FAKE_LATCH_ENABLED 1
#define TRACE_VFIO_QUIRK_RTL8168_MSIX_WRITE_ENABLED 1
#define TRACE_VFIO_QUIRK_RTL8168_MSIX_READ_ENABLED 1
#define TRACE_VFIO_QUIRK_RTL8168_PROBE_ENABLED 1
#define TRACE_VFIO_QUIRK_ATI_BONAIRE_RESET_SKIPPED_ENABLED 1
#define TRACE_VFIO_QUIRK_ATI_BONAIRE_RESET_NO_SMC_ENABLED 1
#define TRACE_VFIO_QUIRK_ATI_BONAIRE_RESET_TIMEOUT_ENABLED 1
#define TRACE_VFIO_QUIRK_ATI_BONAIRE_RESET_DONE_ENABLED 1
#define TRACE_VFIO_QUIRK_ATI_BONAIRE_RESET_ENABLED 1
#define TRACE_VFIO_IOEVENTFD_EXIT_ENABLED 1
#define TRACE_VFIO_IOEVENTFD_HANDLER_ENABLED 1
#define TRACE_VFIO_IOEVENTFD_INIT_ENABLED 1
#define TRACE_VFIO_PCI_IGD_OPREGION_ENABLED_ENABLED 1
#define TRACE_VFIO_PCI_IGD_BAR4_WRITE_ENABLED 1
#define TRACE_VFIO_PCI_IGD_BDSM_ENABLED_ENABLED 1
#define TRACE_VFIO_PCI_IGD_HOST_BRIDGE_ENABLED_ENABLED 1
#define TRACE_VFIO_PCI_IGD_LPC_BRIDGE_ENABLED_ENABLED 1
#define TRACE_VFIO_IOMMU_MAP_NOTIFY_ENABLED 1
#define TRACE_VFIO_LISTENER_REGION_SKIP_ENABLED 1
#define TRACE_VFIO_SPAPR_GROUP_ATTACH_ENABLED 1
#define TRACE_VFIO_LISTENER_REGION_ADD_IOMMU_ENABLED 1
#define TRACE_VFIO_LISTENER_REGION_DEL_IOMMU_ENABLED 1
#define TRACE_VFIO_LISTENER_REGION_ADD_RAM_ENABLED 1
#define TRACE_VFIO_KNOWN_SAFE_MISALIGNMENT_ENABLED 1
#define TRACE_VFIO_LISTENER_REGION_ADD_NO_DMA_MAP_ENABLED 1
#define TRACE_VFIO_LISTENER_REGION_DEL_ENABLED 1
#define TRACE_VFIO_DEVICE_DIRTY_TRACKING_UPDATE_ENABLED 1
#define TRACE_VFIO_DEVICE_DIRTY_TRACKING_START_ENABLED 1
#define TRACE_VFIO_IOMMU_MAP_DIRTY_NOTIFY_ENABLED 1
#define TRACE_VFIO_IOMMU_MAP_DIRTY_NOTIFY_SKIP_RO_ENABLED 1
#define TRACE_VFIO_CONTAINER_QUERY_DIRTY_BITMAP_ENABLED 1
#define TRACE_VFIO_CONTAINER_DISCONNECT_ENABLED 1
#define TRACE_VFIO_GROUP_PUT_ENABLED 1
#define TRACE_VFIO_DEVICE_GET_ENABLED 1
#define TRACE_VFIO_DEVICE_PUT_ENABLED 1
#define TRACE_VFIO_REGION_WRITE_ENABLED 1
#define TRACE_VFIO_REGION_READ_ENABLED 1
#define TRACE_VFIO_REGION_SETUP_ENABLED 1
#define TRACE_VFIO_REGION_DMABUF_ENABLED 1
#define TRACE_VFIO_REGION_MMAP_FAULT_ENABLED 1
#define TRACE_VFIO_REGION_MMAP_ENABLED 1
#define TRACE_VFIO_REGION_EXIT_ENABLED 1
#define TRACE_VFIO_REGION_FINALIZE_ENABLED 1
#define TRACE_VFIO_REGION_MMAPS_SET_ENABLED_ENABLED 1
#define TRACE_VFIO_REGION_UNMAP_ENABLED 1
#define TRACE_VFIO_REGION_SPARSE_MMAP_HEADER_ENABLED 1
#define TRACE_VFIO_REGION_SPARSE_MMAP_ENTRY_ENABLED 1
#define TRACE_VFIO_PREREG_LISTENER_REGION_ADD_SKIP_ENABLED 1
#define TRACE_VFIO_PREREG_LISTENER_REGION_DEL_SKIP_ENABLED 1
#define TRACE_VFIO_PREREG_REGISTER_ENABLED 1
#define TRACE_VFIO_PREREG_UNREGISTER_ENABLED 1
#define TRACE_VFIO_SPAPR_CREATE_WINDOW_ENABLED 1
#define TRACE_VFIO_SPAPR_REMOVE_WINDOW_ENABLED 1
#define TRACE_VFIO_DISPLAY_EDID_AVAILABLE_ENABLED 1
#define TRACE_VFIO_DISPLAY_EDID_LINK_UP_ENABLED 1
#define TRACE_VFIO_DISPLAY_EDID_LINK_DOWN_ENABLED 1
#define TRACE_VFIO_DISPLAY_EDID_UPDATE_ENABLED 1
#define TRACE_VFIO_DISPLAY_EDID_WRITE_ERROR_ENABLED 1
#define TRACE_VFIO_LOAD_BUFS_THREAD_START_ENABLED 1
#define TRACE_VFIO_LOAD_BUFS_THREAD_END_ENABLED 1
#define TRACE_VFIO_LOAD_CLEANUP_ENABLED 1
#define TRACE_VFIO_LOAD_DEVICE_CONFIG_STATE_START_ENABLED 1
#define TRACE_VFIO_LOAD_DEVICE_CONFIG_STATE_END_ENABLED 1
#define TRACE_VFIO_LOAD_STATE_ENABLED 1
#define TRACE_VFIO_LOAD_STATE_DEVICE_DATA_ENABLED 1
#define TRACE_VFIO_LOAD_STATE_DEVICE_BUFFER_INCOMING_ENABLED 1
#define TRACE_VFIO_LOAD_STATE_DEVICE_BUFFER_START_ENABLED 1
#define TRACE_VFIO_LOAD_STATE_DEVICE_BUFFER_STARVED_ENABLED 1
#define TRACE_VFIO_LOAD_STATE_DEVICE_BUFFER_LOAD_START_ENABLED 1
#define TRACE_VFIO_LOAD_STATE_DEVICE_BUFFER_LOAD_END_ENABLED 1
#define TRACE_VFIO_LOAD_STATE_DEVICE_BUFFER_END_ENABLED 1
#define TRACE_VFIO_MIGRATION_REALIZE_ENABLED 1
#define TRACE_VFIO_MIGRATION_SET_DEVICE_STATE_ENABLED 1
#define TRACE_VFIO_MIGRATION_SET_STATE_ENABLED 1
#define TRACE_VFIO_MIGRATION_STATE_NOTIFIER_ENABLED 1
#define TRACE_VFIO_QUERY_PRECOPY_SIZE_ENABLED 1
#define TRACE_VFIO_QUERY_STOP_COPY_SIZE_ENABLED 1
#define TRACE_VFIO_SAVE_BLOCK_ENABLED 1
#define TRACE_VFIO_SAVE_BLOCK_PRECOPY_EMPTY_HIT_ENABLED 1
#define TRACE_VFIO_SAVE_CLEANUP_ENABLED 1
#define TRACE_VFIO_SAVE_COMPLETE_PRECOPY_ENABLED 1
#define TRACE_VFIO_SAVE_COMPLETE_PRECOPY_START_ENABLED 1
#define TRACE_VFIO_SAVE_COMPLETE_PRECOPY_THREAD_START_ENABLED 1
#define TRACE_VFIO_SAVE_COMPLETE_PRECOPY_THREAD_END_ENABLED 1
#define TRACE_VFIO_SAVE_DEVICE_CONFIG_STATE_ENABLED 1
#define TRACE_VFIO_SAVE_ITERATE_ENABLED 1
#define TRACE_VFIO_SAVE_ITERATE_START_ENABLED 1
#define TRACE_VFIO_SAVE_SETUP_ENABLED 1
#define TRACE_VFIO_STATE_PENDING_ENABLED 1
#define TRACE_VFIO_VMSTATE_CHANGE_ENABLED 1
#define TRACE_VFIO_VMSTATE_CHANGE_PREPARE_ENABLED 1
#define TRACE_IOMMUFD_CDEV_CONNECT_AND_BIND_ENABLED 1
#define TRACE_IOMMUFD_CDEV_GETFD_ENABLED 1
#define TRACE_IOMMUFD_CDEV_ATTACH_IOAS_HWPT_ENABLED 1
#define TRACE_IOMMUFD_CDEV_DETACH_IOAS_HWPT_ENABLED 1
#define TRACE_IOMMUFD_CDEV_FAIL_ATTACH_EXISTING_CONTAINER_ENABLED 1
#define TRACE_IOMMUFD_CDEV_ALLOC_IOAS_ENABLED 1
#define TRACE_IOMMUFD_CDEV_DEVICE_INFO_ENABLED 1
#define TRACE_IOMMUFD_CDEV_PCI_HOT_RESET_DEP_DEVICES_ENABLED 1
#define TRACE_VFIO_CPR_FIND_DEVICE_ENABLED 1
#define TRACE_VFIO_DEVICE_GET_REGION_INFO_TYPE_ENABLED 1
#define TRACE_VFIO_DEVICE_RESET_HANDLER_ENABLED 1
#define TRACE_VFIO_DEVICE_ATTACH_ENABLED 1
#define TRACE_VFIO_DEVICE_DETACH_ENABLED 1
#include "qemu/log-for-trace.h"


#define TRACE_VFIO_INTX_INTERRUPT_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_VFIO_INTX_INTERRUPT) || \
    false)

static inline void trace_vfio_intx_interrupt(const char *name, char line)
{
    if (trace_event_get_state(TRACE_VFIO_INTX_INTERRUPT)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 6 "../hw/vfio/trace-events"
            qemu_log("vfio_intx_interrupt " " (%s) Pin %c" "\n", name, line);
#line 530 "trace/trace-hw_vfio.h"
        }
    }
}

#define TRACE_VFIO_PCI_INTX_EOI_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_VFIO_PCI_INTX_EOI) || \
    false)

static inline void trace_vfio_pci_intx_eoi(const char *name)
{
    if (trace_event_get_state(TRACE_VFIO_PCI_INTX_EOI)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 7 "../hw/vfio/trace-events"
            qemu_log("vfio_pci_intx_eoi " " (%s) EOI" "\n", name);
#line 545 "trace/trace-hw_vfio.h"
        }
    }
}

#define TRACE_VFIO_INTX_ENABLE_KVM_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_VFIO_INTX_ENABLE_KVM) || \
    false)

static inline void trace_vfio_intx_enable_kvm(const char *name)
{
    if (trace_event_get_state(TRACE_VFIO_INTX_ENABLE_KVM)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 8 "../hw/vfio/trace-events"
            qemu_log("vfio_intx_enable_kvm " " (%s) KVM INTx accel enabled" "\n", name);
#line 560 "trace/trace-hw_vfio.h"
        }
    }
}

#define TRACE_VFIO_INTX_DISABLE_KVM_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_VFIO_INTX_DISABLE_KVM) || \
    false)

static inline void trace_vfio_intx_disable_kvm(const char *name)
{
    if (trace_event_get_state(TRACE_VFIO_INTX_DISABLE_KVM)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 9 "../hw/vfio/trace-events"
            qemu_log("vfio_intx_disable_kvm " " (%s) KVM INTx accel disabled" "\n", name);
#line 575 "trace/trace-hw_vfio.h"
        }
    }
}

#define TRACE_VFIO_INTX_UPDATE_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_VFIO_INTX_UPDATE) || \
    false)

static inline void trace_vfio_intx_update(const char *name, int new_irq, int target_irq)
{
    if (trace_event_get_state(TRACE_VFIO_INTX_UPDATE)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 10 "../hw/vfio/trace-events"
            qemu_log("vfio_intx_update " " (%s) IRQ moved %d -> %d" "\n", name, new_irq, target_irq);
#line 590 "trace/trace-hw_vfio.h"
        }
    }
}

#define TRACE_VFIO_INTX_ENABLE_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_VFIO_INTX_ENABLE) || \
    false)

static inline void trace_vfio_intx_enable(const char *name)
{
    if (trace_event_get_state(TRACE_VFIO_INTX_ENABLE)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 11 "../hw/vfio/trace-events"
            qemu_log("vfio_intx_enable " " (%s)" "\n", name);
#line 605 "trace/trace-hw_vfio.h"
        }
    }
}

#define TRACE_VFIO_INTX_DISABLE_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_VFIO_INTX_DISABLE) || \
    false)

static inline void trace_vfio_intx_disable(const char *name)
{
    if (trace_event_get_state(TRACE_VFIO_INTX_DISABLE)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 12 "../hw/vfio/trace-events"
            qemu_log("vfio_intx_disable " " (%s)" "\n", name);
#line 620 "trace/trace-hw_vfio.h"
        }
    }
}

#define TRACE_VFIO_MSI_INTERRUPT_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_VFIO_MSI_INTERRUPT) || \
    false)

static inline void trace_vfio_msi_interrupt(const char *name, int index, uint64_t addr, int data)
{
    if (trace_event_get_state(TRACE_VFIO_MSI_INTERRUPT)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 13 "../hw/vfio/trace-events"
            qemu_log("vfio_msi_interrupt " " (%s) vector %d 0x%"PRIx64"/0x%x" "\n", name, index, addr, data);
#line 635 "trace/trace-hw_vfio.h"
        }
    }
}

#define TRACE_VFIO_MSIX_VECTOR_DO_USE_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_VFIO_MSIX_VECTOR_DO_USE) || \
    false)

static inline void trace_vfio_msix_vector_do_use(const char *name, int index)
{
    if (trace_event_get_state(TRACE_VFIO_MSIX_VECTOR_DO_USE)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 14 "../hw/vfio/trace-events"
            qemu_log("vfio_msix_vector_do_use " " (%s) vector %d used" "\n", name, index);
#line 650 "trace/trace-hw_vfio.h"
        }
    }
}

#define TRACE_VFIO_MSIX_VECTOR_RELEASE_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_VFIO_MSIX_VECTOR_RELEASE) || \
    false)

static inline void trace_vfio_msix_vector_release(const char *name, int index)
{
    if (trace_event_get_state(TRACE_VFIO_MSIX_VECTOR_RELEASE)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 15 "../hw/vfio/trace-events"
            qemu_log("vfio_msix_vector_release " " (%s) vector %d released" "\n", name, index);
#line 665 "trace/trace-hw_vfio.h"
        }
    }
}

#define TRACE_VFIO_MSIX_ENABLE_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_VFIO_MSIX_ENABLE) || \
    false)

static inline void trace_vfio_msix_enable(const char *name)
{
    if (trace_event_get_state(TRACE_VFIO_MSIX_ENABLE)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 16 "../hw/vfio/trace-events"
            qemu_log("vfio_msix_enable " " (%s)" "\n", name);
#line 680 "trace/trace-hw_vfio.h"
        }
    }
}

#define TRACE_VFIO_MSIX_PBA_DISABLE_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_VFIO_MSIX_PBA_DISABLE) || \
    false)

static inline void trace_vfio_msix_pba_disable(const char *name)
{
    if (trace_event_get_state(TRACE_VFIO_MSIX_PBA_DISABLE)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 17 "../hw/vfio/trace-events"
            qemu_log("vfio_msix_pba_disable " " (%s)" "\n", name);
#line 695 "trace/trace-hw_vfio.h"
        }
    }
}

#define TRACE_VFIO_MSIX_PBA_ENABLE_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_VFIO_MSIX_PBA_ENABLE) || \
    false)

static inline void trace_vfio_msix_pba_enable(const char *name)
{
    if (trace_event_get_state(TRACE_VFIO_MSIX_PBA_ENABLE)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 18 "../hw/vfio/trace-events"
            qemu_log("vfio_msix_pba_enable " " (%s)" "\n", name);
#line 710 "trace/trace-hw_vfio.h"
        }
    }
}

#define TRACE_VFIO_MSIX_DISABLE_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_VFIO_MSIX_DISABLE) || \
    false)

static inline void trace_vfio_msix_disable(const char *name)
{
    if (trace_event_get_state(TRACE_VFIO_MSIX_DISABLE)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 19 "../hw/vfio/trace-events"
            qemu_log("vfio_msix_disable " " (%s)" "\n", name);
#line 725 "trace/trace-hw_vfio.h"
        }
    }
}

#define TRACE_VFIO_MSIX_FIXUP_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_VFIO_MSIX_FIXUP) || \
    false)

static inline void trace_vfio_msix_fixup(const char *name, int bar, uint64_t start, uint64_t end)
{
    if (trace_event_get_state(TRACE_VFIO_MSIX_FIXUP)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 20 "../hw/vfio/trace-events"
            qemu_log("vfio_msix_fixup " " (%s) MSI-X region %d mmap fixup [0x%"PRIx64" - 0x%"PRIx64"]" "\n", name, bar, start, end);
#line 740 "trace/trace-hw_vfio.h"
        }
    }
}

#define TRACE_VFIO_MSIX_RELO_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_VFIO_MSIX_RELO) || \
    false)

static inline void trace_vfio_msix_relo(const char *name, int bar, uint64_t offset)
{
    if (trace_event_get_state(TRACE_VFIO_MSIX_RELO)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 21 "../hw/vfio/trace-events"
            qemu_log("vfio_msix_relo " " (%s) BAR %d offset 0x%"PRIx64"" "\n", name, bar, offset);
#line 755 "trace/trace-hw_vfio.h"
        }
    }
}

#define TRACE_VFIO_MSI_ENABLE_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_VFIO_MSI_ENABLE) || \
    false)

static inline void trace_vfio_msi_enable(const char *name, int nr_vectors)
{
    if (trace_event_get_state(TRACE_VFIO_MSI_ENABLE)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 22 "../hw/vfio/trace-events"
            qemu_log("vfio_msi_enable " " (%s) Enabled %d MSI vectors" "\n", name, nr_vectors);
#line 770 "trace/trace-hw_vfio.h"
        }
    }
}

#define TRACE_VFIO_MSI_DISABLE_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_VFIO_MSI_DISABLE) || \
    false)

static inline void trace_vfio_msi_disable(const char *name)
{
    if (trace_event_get_state(TRACE_VFIO_MSI_DISABLE)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 23 "../hw/vfio/trace-events"
            qemu_log("vfio_msi_disable " " (%s)" "\n", name);
#line 785 "trace/trace-hw_vfio.h"
        }
    }
}

#define TRACE_VFIO_PCI_LOAD_ROM_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_VFIO_PCI_LOAD_ROM) || \
    false)

static inline void trace_vfio_pci_load_rom(const char *name, unsigned long size, unsigned long offset, unsigned long flags)
{
    if (trace_event_get_state(TRACE_VFIO_PCI_LOAD_ROM)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 24 "../hw/vfio/trace-events"
            qemu_log("vfio_pci_load_rom " "Device '%s' ROM: size: 0x%lx, offset: 0x%lx, flags: 0x%lx" "\n", name, size, offset, flags);
#line 800 "trace/trace-hw_vfio.h"
        }
    }
}

#define TRACE_VFIO_ROM_READ_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_VFIO_ROM_READ) || \
    false)

static inline void trace_vfio_rom_read(const char *name, uint64_t addr, int size, uint64_t data)
{
    if (trace_event_get_state(TRACE_VFIO_ROM_READ)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 25 "../hw/vfio/trace-events"
            qemu_log("vfio_rom_read " " (%s, 0x%"PRIx64", 0x%x) = 0x%"PRIx64 "\n", name, addr, size, data);
#line 815 "trace/trace-hw_vfio.h"
        }
    }
}

#define TRACE_VFIO_PCI_SIZE_ROM_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_VFIO_PCI_SIZE_ROM) || \
    false)

static inline void trace_vfio_pci_size_rom(const char *name, int size)
{
    if (trace_event_get_state(TRACE_VFIO_PCI_SIZE_ROM)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 26 "../hw/vfio/trace-events"
            qemu_log("vfio_pci_size_rom " "%s ROM size 0x%x" "\n", name, size);
#line 830 "trace/trace-hw_vfio.h"
        }
    }
}

#define TRACE_VFIO_VGA_WRITE_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_VFIO_VGA_WRITE) || \
    false)

static inline void trace_vfio_vga_write(uint64_t addr, uint64_t data, int size)
{
    if (trace_event_get_state(TRACE_VFIO_VGA_WRITE)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 27 "../hw/vfio/trace-events"
            qemu_log("vfio_vga_write " " (0x%"PRIx64", 0x%"PRIx64", %d)" "\n", addr, data, size);
#line 845 "trace/trace-hw_vfio.h"
        }
    }
}

#define TRACE_VFIO_VGA_READ_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_VFIO_VGA_READ) || \
    false)

static inline void trace_vfio_vga_read(uint64_t addr, int size, uint64_t data)
{
    if (trace_event_get_state(TRACE_VFIO_VGA_READ)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 28 "../hw/vfio/trace-events"
            qemu_log("vfio_vga_read " " (0x%"PRIx64", %d) = 0x%"PRIx64 "\n", addr, size, data);
#line 860 "trace/trace-hw_vfio.h"
        }
    }
}

#define TRACE_VFIO_PCI_READ_CONFIG_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_VFIO_PCI_READ_CONFIG) || \
    false)

static inline void trace_vfio_pci_read_config(const char *name, int addr, int len, int val)
{
    if (trace_event_get_state(TRACE_VFIO_PCI_READ_CONFIG)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 29 "../hw/vfio/trace-events"
            qemu_log("vfio_pci_read_config " " (%s, @0x%x, len=0x%x) 0x%x" "\n", name, addr, len, val);
#line 875 "trace/trace-hw_vfio.h"
        }
    }
}

#define TRACE_VFIO_PCI_WRITE_CONFIG_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_VFIO_PCI_WRITE_CONFIG) || \
    false)

static inline void trace_vfio_pci_write_config(const char *name, int addr, int val, int len)
{
    if (trace_event_get_state(TRACE_VFIO_PCI_WRITE_CONFIG)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 30 "../hw/vfio/trace-events"
            qemu_log("vfio_pci_write_config " " (%s, @0x%x, 0x%x, len=0x%x)" "\n", name, addr, val, len);
#line 890 "trace/trace-hw_vfio.h"
        }
    }
}

#define TRACE_VFIO_MSI_SETUP_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_VFIO_MSI_SETUP) || \
    false)

static inline void trace_vfio_msi_setup(const char *name, int pos)
{
    if (trace_event_get_state(TRACE_VFIO_MSI_SETUP)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 31 "../hw/vfio/trace-events"
            qemu_log("vfio_msi_setup " "%s PCI MSI CAP @0x%x" "\n", name, pos);
#line 905 "trace/trace-hw_vfio.h"
        }
    }
}

#define TRACE_VFIO_MSIX_EARLY_SETUP_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_VFIO_MSIX_EARLY_SETUP) || \
    false)

static inline void trace_vfio_msix_early_setup(const char *name, int pos, int table_bar, uint64_t offset, int entries, bool noresize)
{
    if (trace_event_get_state(TRACE_VFIO_MSIX_EARLY_SETUP)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 32 "../hw/vfio/trace-events"
            qemu_log("vfio_msix_early_setup " "%s PCI MSI-X CAP @0x%x, BAR %d, offset 0x%"PRIx64", entries %d, noresize %d" "\n", name, pos, table_bar, offset, entries, noresize);
#line 920 "trace/trace-hw_vfio.h"
        }
    }
}

#define TRACE_VFIO_CHECK_PCIE_FLR_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_VFIO_CHECK_PCIE_FLR) || \
    false)

static inline void trace_vfio_check_pcie_flr(const char *name)
{
    if (trace_event_get_state(TRACE_VFIO_CHECK_PCIE_FLR)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 33 "../hw/vfio/trace-events"
            qemu_log("vfio_check_pcie_flr " "%s Supports FLR via PCIe cap" "\n", name);
#line 935 "trace/trace-hw_vfio.h"
        }
    }
}

#define TRACE_VFIO_CHECK_PM_RESET_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_VFIO_CHECK_PM_RESET) || \
    false)

static inline void trace_vfio_check_pm_reset(const char *name)
{
    if (trace_event_get_state(TRACE_VFIO_CHECK_PM_RESET)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 34 "../hw/vfio/trace-events"
            qemu_log("vfio_check_pm_reset " "%s Supports PM reset" "\n", name);
#line 950 "trace/trace-hw_vfio.h"
        }
    }
}

#define TRACE_VFIO_CHECK_AF_FLR_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_VFIO_CHECK_AF_FLR) || \
    false)

static inline void trace_vfio_check_af_flr(const char *name)
{
    if (trace_event_get_state(TRACE_VFIO_CHECK_AF_FLR)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 35 "../hw/vfio/trace-events"
            qemu_log("vfio_check_af_flr " "%s Supports FLR via AF cap" "\n", name);
#line 965 "trace/trace-hw_vfio.h"
        }
    }
}

#define TRACE_VFIO_PCI_HOT_RESET_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_VFIO_PCI_HOT_RESET) || \
    false)

static inline void trace_vfio_pci_hot_reset(const char *name, const char *type)
{
    if (trace_event_get_state(TRACE_VFIO_PCI_HOT_RESET)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 36 "../hw/vfio/trace-events"
            qemu_log("vfio_pci_hot_reset " " (%s) %s" "\n", name, type);
#line 980 "trace/trace-hw_vfio.h"
        }
    }
}

#define TRACE_VFIO_PCI_HOT_RESET_HAS_DEP_DEVICES_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_VFIO_PCI_HOT_RESET_HAS_DEP_DEVICES) || \
    false)

static inline void trace_vfio_pci_hot_reset_has_dep_devices(const char *name)
{
    if (trace_event_get_state(TRACE_VFIO_PCI_HOT_RESET_HAS_DEP_DEVICES)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 37 "../hw/vfio/trace-events"
            qemu_log("vfio_pci_hot_reset_has_dep_devices " "%s: hot reset dependent devices:" "\n", name);
#line 995 "trace/trace-hw_vfio.h"
        }
    }
}

#define TRACE_VFIO_PCI_HOT_RESET_DEP_DEVICES_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_VFIO_PCI_HOT_RESET_DEP_DEVICES) || \
    false)

static inline void trace_vfio_pci_hot_reset_dep_devices(int domain, int bus, int slot, int function, int group_id)
{
    if (trace_event_get_state(TRACE_VFIO_PCI_HOT_RESET_DEP_DEVICES)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 38 "../hw/vfio/trace-events"
            qemu_log("vfio_pci_hot_reset_dep_devices " "\t%04x:%02x:%02x.%x group %d" "\n", domain, bus, slot, function, group_id);
#line 1010 "trace/trace-hw_vfio.h"
        }
    }
}

#define TRACE_VFIO_PCI_HOT_RESET_RESULT_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_VFIO_PCI_HOT_RESET_RESULT) || \
    false)

static inline void trace_vfio_pci_hot_reset_result(const char *name, const char *result)
{
    if (trace_event_get_state(TRACE_VFIO_PCI_HOT_RESET_RESULT)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 39 "../hw/vfio/trace-events"
            qemu_log("vfio_pci_hot_reset_result " "%s hot reset: %s" "\n", name, result);
#line 1025 "trace/trace-hw_vfio.h"
        }
    }
}

#define TRACE_VFIO_PCI_POPULATE_DEVICE_CONFIG_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_VFIO_PCI_POPULATE_DEVICE_CONFIG) || \
    false)

static inline void trace_vfio_pci_populate_device_config(const char *name, unsigned long size, unsigned long offset, unsigned long flags)
{
    if (trace_event_get_state(TRACE_VFIO_PCI_POPULATE_DEVICE_CONFIG)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 40 "../hw/vfio/trace-events"
            qemu_log("vfio_pci_populate_device_config " "Device '%s' config: size: 0x%lx, offset: 0x%lx, flags: 0x%lx" "\n", name, size, offset, flags);
#line 1040 "trace/trace-hw_vfio.h"
        }
    }
}

#define TRACE_VFIO_PCI_POPULATE_DEVICE_GET_IRQ_INFO_FAILURE_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_VFIO_PCI_POPULATE_DEVICE_GET_IRQ_INFO_FAILURE) || \
    false)

static inline void trace_vfio_pci_populate_device_get_irq_info_failure(const char *errstr)
{
    if (trace_event_get_state(TRACE_VFIO_PCI_POPULATE_DEVICE_GET_IRQ_INFO_FAILURE)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 41 "../hw/vfio/trace-events"
            qemu_log("vfio_pci_populate_device_get_irq_info_failure " "VFIO_DEVICE_GET_IRQ_INFO failure: %s" "\n", errstr);
#line 1055 "trace/trace-hw_vfio.h"
        }
    }
}

#define TRACE_VFIO_MDEV_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_VFIO_MDEV) || \
    false)

static inline void trace_vfio_mdev(const char *name, bool is_mdev)
{
    if (trace_event_get_state(TRACE_VFIO_MDEV)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 42 "../hw/vfio/trace-events"
            qemu_log("vfio_mdev " " (%s) is_mdev %d" "\n", name, is_mdev);
#line 1070 "trace/trace-hw_vfio.h"
        }
    }
}

#define TRACE_VFIO_PCI_SYNTHESIZE_PASID_CAP_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_VFIO_PCI_SYNTHESIZE_PASID_CAP) || \
    false)

static inline void trace_vfio_pci_synthesize_pasid_cap(const char *name, uint16_t offset)
{
    if (trace_event_get_state(TRACE_VFIO_PCI_SYNTHESIZE_PASID_CAP)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 43 "../hw/vfio/trace-events"
            qemu_log("vfio_pci_synthesize_pasid_cap " "%s offset: 0x%x" "\n", name, offset);
#line 1085 "trace/trace-hw_vfio.h"
        }
    }
}

#define TRACE_VFIO_ADD_EXT_CAP_DROPPED_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_VFIO_ADD_EXT_CAP_DROPPED) || \
    false)

static inline void trace_vfio_add_ext_cap_dropped(const char *name, uint16_t cap, uint16_t offset)
{
    if (trace_event_get_state(TRACE_VFIO_ADD_EXT_CAP_DROPPED)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 44 "../hw/vfio/trace-events"
            qemu_log("vfio_add_ext_cap_dropped " "%s 0x%x@0x%x" "\n", name, cap, offset);
#line 1100 "trace/trace-hw_vfio.h"
        }
    }
}

#define TRACE_VFIO_PCI_RESET_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_VFIO_PCI_RESET) || \
    false)

static inline void trace_vfio_pci_reset(const char *name)
{
    if (trace_event_get_state(TRACE_VFIO_PCI_RESET)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 45 "../hw/vfio/trace-events"
            qemu_log("vfio_pci_reset " " (%s)" "\n", name);
#line 1115 "trace/trace-hw_vfio.h"
        }
    }
}

#define TRACE_VFIO_PCI_RESET_FLR_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_VFIO_PCI_RESET_FLR) || \
    false)

static inline void trace_vfio_pci_reset_flr(const char *name)
{
    if (trace_event_get_state(TRACE_VFIO_PCI_RESET_FLR)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 46 "../hw/vfio/trace-events"
            qemu_log("vfio_pci_reset_flr " "%s FLR/VFIO_DEVICE_RESET" "\n", name);
#line 1130 "trace/trace-hw_vfio.h"
        }
    }
}

#define TRACE_VFIO_PCI_RESET_PM_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_VFIO_PCI_RESET_PM) || \
    false)

static inline void trace_vfio_pci_reset_pm(const char *name)
{
    if (trace_event_get_state(TRACE_VFIO_PCI_RESET_PM)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 47 "../hw/vfio/trace-events"
            qemu_log("vfio_pci_reset_pm " "%s PCI PM Reset" "\n", name);
#line 1145 "trace/trace-hw_vfio.h"
        }
    }
}

#define TRACE_VFIO_PCI_EMULATED_VENDOR_ID_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_VFIO_PCI_EMULATED_VENDOR_ID) || \
    false)

static inline void trace_vfio_pci_emulated_vendor_id(const char *name, uint16_t val)
{
    if (trace_event_get_state(TRACE_VFIO_PCI_EMULATED_VENDOR_ID)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 48 "../hw/vfio/trace-events"
            qemu_log("vfio_pci_emulated_vendor_id " "%s 0x%04x" "\n", name, val);
#line 1160 "trace/trace-hw_vfio.h"
        }
    }
}

#define TRACE_VFIO_PCI_EMULATED_DEVICE_ID_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_VFIO_PCI_EMULATED_DEVICE_ID) || \
    false)

static inline void trace_vfio_pci_emulated_device_id(const char *name, uint16_t val)
{
    if (trace_event_get_state(TRACE_VFIO_PCI_EMULATED_DEVICE_ID)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 49 "../hw/vfio/trace-events"
            qemu_log("vfio_pci_emulated_device_id " "%s 0x%04x" "\n", name, val);
#line 1175 "trace/trace-hw_vfio.h"
        }
    }
}

#define TRACE_VFIO_PCI_EMULATED_SUB_VENDOR_ID_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_VFIO_PCI_EMULATED_SUB_VENDOR_ID) || \
    false)

static inline void trace_vfio_pci_emulated_sub_vendor_id(const char *name, uint16_t val)
{
    if (trace_event_get_state(TRACE_VFIO_PCI_EMULATED_SUB_VENDOR_ID)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 50 "../hw/vfio/trace-events"
            qemu_log("vfio_pci_emulated_sub_vendor_id " "%s 0x%04x" "\n", name, val);
#line 1190 "trace/trace-hw_vfio.h"
        }
    }
}

#define TRACE_VFIO_PCI_EMULATED_SUB_DEVICE_ID_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_VFIO_PCI_EMULATED_SUB_DEVICE_ID) || \
    false)

static inline void trace_vfio_pci_emulated_sub_device_id(const char *name, uint16_t val)
{
    if (trace_event_get_state(TRACE_VFIO_PCI_EMULATED_SUB_DEVICE_ID)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 51 "../hw/vfio/trace-events"
            qemu_log("vfio_pci_emulated_sub_device_id " "%s 0x%04x" "\n", name, val);
#line 1205 "trace/trace-hw_vfio.h"
        }
    }
}

#define TRACE_VFIO_PCI_EMULATED_CLASS_CODE_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_VFIO_PCI_EMULATED_CLASS_CODE) || \
    false)

static inline void trace_vfio_pci_emulated_class_code(const char *name, uint32_t val)
{
    if (trace_event_get_state(TRACE_VFIO_PCI_EMULATED_CLASS_CODE)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 52 "../hw/vfio/trace-events"
            qemu_log("vfio_pci_emulated_class_code " "%s 0x%06x" "\n", name, val);
#line 1220 "trace/trace-hw_vfio.h"
        }
    }
}

#define TRACE_VFIO_QUIRK_ROM_IN_DENYLIST_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_VFIO_QUIRK_ROM_IN_DENYLIST) || \
    false)

static inline void trace_vfio_quirk_rom_in_denylist(const char *name, uint16_t vid, uint16_t did)
{
    if (trace_event_get_state(TRACE_VFIO_QUIRK_ROM_IN_DENYLIST)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 55 "../hw/vfio/trace-events"
            qemu_log("vfio_quirk_rom_in_denylist " "%s %04x:%04x" "\n", name, vid, did);
#line 1235 "trace/trace-hw_vfio.h"
        }
    }
}

#define TRACE_VFIO_QUIRK_GENERIC_WINDOW_ADDRESS_WRITE_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_VFIO_QUIRK_GENERIC_WINDOW_ADDRESS_WRITE) || \
    false)

static inline void trace_vfio_quirk_generic_window_address_write(const char *name, const char *region_name, uint64_t data)
{
    if (trace_event_get_state(TRACE_VFIO_QUIRK_GENERIC_WINDOW_ADDRESS_WRITE)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 56 "../hw/vfio/trace-events"
            qemu_log("vfio_quirk_generic_window_address_write " "%s %s 0x%"PRIx64 "\n", name, region_name, data);
#line 1250 "trace/trace-hw_vfio.h"
        }
    }
}

#define TRACE_VFIO_QUIRK_GENERIC_WINDOW_DATA_READ_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_VFIO_QUIRK_GENERIC_WINDOW_DATA_READ) || \
    false)

static inline void trace_vfio_quirk_generic_window_data_read(const char *name, const char *region_name, uint64_t data)
{
    if (trace_event_get_state(TRACE_VFIO_QUIRK_GENERIC_WINDOW_DATA_READ)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 57 "../hw/vfio/trace-events"
            qemu_log("vfio_quirk_generic_window_data_read " "%s %s 0x%"PRIx64 "\n", name, region_name, data);
#line 1265 "trace/trace-hw_vfio.h"
        }
    }
}

#define TRACE_VFIO_QUIRK_GENERIC_WINDOW_DATA_WRITE_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_VFIO_QUIRK_GENERIC_WINDOW_DATA_WRITE) || \
    false)

static inline void trace_vfio_quirk_generic_window_data_write(const char *name, const char *region_name, uint64_t data)
{
    if (trace_event_get_state(TRACE_VFIO_QUIRK_GENERIC_WINDOW_DATA_WRITE)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 58 "../hw/vfio/trace-events"
            qemu_log("vfio_quirk_generic_window_data_write " "%s %s 0x%"PRIx64 "\n", name, region_name, data);
#line 1280 "trace/trace-hw_vfio.h"
        }
    }
}

#define TRACE_VFIO_QUIRK_GENERIC_MIRROR_READ_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_VFIO_QUIRK_GENERIC_MIRROR_READ) || \
    false)

static inline void trace_vfio_quirk_generic_mirror_read(const char *name, const char *region_name, uint64_t addr, uint64_t data)
{
    if (trace_event_get_state(TRACE_VFIO_QUIRK_GENERIC_MIRROR_READ)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 59 "../hw/vfio/trace-events"
            qemu_log("vfio_quirk_generic_mirror_read " "%s %s 0x%"PRIx64": 0x%"PRIx64 "\n", name, region_name, addr, data);
#line 1295 "trace/trace-hw_vfio.h"
        }
    }
}

#define TRACE_VFIO_QUIRK_GENERIC_MIRROR_WRITE_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_VFIO_QUIRK_GENERIC_MIRROR_WRITE) || \
    false)

static inline void trace_vfio_quirk_generic_mirror_write(const char *name, const char *region_name, uint64_t addr, uint64_t data)
{
    if (trace_event_get_state(TRACE_VFIO_QUIRK_GENERIC_MIRROR_WRITE)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 60 "../hw/vfio/trace-events"
            qemu_log("vfio_quirk_generic_mirror_write " "%s %s 0x%"PRIx64": 0x%"PRIx64 "\n", name, region_name, addr, data);
#line 1310 "trace/trace-hw_vfio.h"
        }
    }
}

#define TRACE_VFIO_QUIRK_ATI_3C3_READ_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_VFIO_QUIRK_ATI_3C3_READ) || \
    false)

static inline void trace_vfio_quirk_ati_3c3_read(const char *name, uint64_t data)
{
    if (trace_event_get_state(TRACE_VFIO_QUIRK_ATI_3C3_READ)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 61 "../hw/vfio/trace-events"
            qemu_log("vfio_quirk_ati_3c3_read " "%s 0x%"PRIx64 "\n", name, data);
#line 1325 "trace/trace-hw_vfio.h"
        }
    }
}

#define TRACE_VFIO_QUIRK_ATI_3C3_PROBE_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_VFIO_QUIRK_ATI_3C3_PROBE) || \
    false)

static inline void trace_vfio_quirk_ati_3c3_probe(const char *name)
{
    if (trace_event_get_state(TRACE_VFIO_QUIRK_ATI_3C3_PROBE)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 62 "../hw/vfio/trace-events"
            qemu_log("vfio_quirk_ati_3c3_probe " "%s" "\n", name);
#line 1340 "trace/trace-hw_vfio.h"
        }
    }
}

#define TRACE_VFIO_QUIRK_ATI_BAR4_PROBE_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_VFIO_QUIRK_ATI_BAR4_PROBE) || \
    false)

static inline void trace_vfio_quirk_ati_bar4_probe(const char *name)
{
    if (trace_event_get_state(TRACE_VFIO_QUIRK_ATI_BAR4_PROBE)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 63 "../hw/vfio/trace-events"
            qemu_log("vfio_quirk_ati_bar4_probe " "%s" "\n", name);
#line 1355 "trace/trace-hw_vfio.h"
        }
    }
}

#define TRACE_VFIO_QUIRK_ATI_BAR2_PROBE_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_VFIO_QUIRK_ATI_BAR2_PROBE) || \
    false)

static inline void trace_vfio_quirk_ati_bar2_probe(const char *name)
{
    if (trace_event_get_state(TRACE_VFIO_QUIRK_ATI_BAR2_PROBE)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 64 "../hw/vfio/trace-events"
            qemu_log("vfio_quirk_ati_bar2_probe " "%s" "\n", name);
#line 1370 "trace/trace-hw_vfio.h"
        }
    }
}

#define TRACE_VFIO_QUIRK_NVIDIA_3D0_STATE_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_VFIO_QUIRK_NVIDIA_3D0_STATE) || \
    false)

static inline void trace_vfio_quirk_nvidia_3d0_state(const char *name, const char *state)
{
    if (trace_event_get_state(TRACE_VFIO_QUIRK_NVIDIA_3D0_STATE)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 65 "../hw/vfio/trace-events"
            qemu_log("vfio_quirk_nvidia_3d0_state " "%s %s" "\n", name, state);
#line 1385 "trace/trace-hw_vfio.h"
        }
    }
}

#define TRACE_VFIO_QUIRK_NVIDIA_3D0_READ_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_VFIO_QUIRK_NVIDIA_3D0_READ) || \
    false)

static inline void trace_vfio_quirk_nvidia_3d0_read(const char *name, uint8_t offset, unsigned size, uint64_t val)
{
    if (trace_event_get_state(TRACE_VFIO_QUIRK_NVIDIA_3D0_READ)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 66 "../hw/vfio/trace-events"
            qemu_log("vfio_quirk_nvidia_3d0_read " " (%s, @0x%x, len=0x%x) 0x%"PRIx64 "\n", name, offset, size, val);
#line 1400 "trace/trace-hw_vfio.h"
        }
    }
}

#define TRACE_VFIO_QUIRK_NVIDIA_3D0_WRITE_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_VFIO_QUIRK_NVIDIA_3D0_WRITE) || \
    false)

static inline void trace_vfio_quirk_nvidia_3d0_write(const char *name, uint8_t offset, uint64_t data, unsigned size)
{
    if (trace_event_get_state(TRACE_VFIO_QUIRK_NVIDIA_3D0_WRITE)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 67 "../hw/vfio/trace-events"
            qemu_log("vfio_quirk_nvidia_3d0_write " "(%s, @0x%x, 0x%"PRIx64", len=0x%x)" "\n", name, offset, data, size);
#line 1415 "trace/trace-hw_vfio.h"
        }
    }
}

#define TRACE_VFIO_QUIRK_NVIDIA_3D0_PROBE_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_VFIO_QUIRK_NVIDIA_3D0_PROBE) || \
    false)

static inline void trace_vfio_quirk_nvidia_3d0_probe(const char *name)
{
    if (trace_event_get_state(TRACE_VFIO_QUIRK_NVIDIA_3D0_PROBE)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 68 "../hw/vfio/trace-events"
            qemu_log("vfio_quirk_nvidia_3d0_probe " "%s" "\n", name);
#line 1430 "trace/trace-hw_vfio.h"
        }
    }
}

#define TRACE_VFIO_QUIRK_NVIDIA_BAR5_STATE_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_VFIO_QUIRK_NVIDIA_BAR5_STATE) || \
    false)

static inline void trace_vfio_quirk_nvidia_bar5_state(const char *name, const char *state)
{
    if (trace_event_get_state(TRACE_VFIO_QUIRK_NVIDIA_BAR5_STATE)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 69 "../hw/vfio/trace-events"
            qemu_log("vfio_quirk_nvidia_bar5_state " "%s %s" "\n", name, state);
#line 1445 "trace/trace-hw_vfio.h"
        }
    }
}

#define TRACE_VFIO_QUIRK_NVIDIA_BAR5_PROBE_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_VFIO_QUIRK_NVIDIA_BAR5_PROBE) || \
    false)

static inline void trace_vfio_quirk_nvidia_bar5_probe(const char *name)
{
    if (trace_event_get_state(TRACE_VFIO_QUIRK_NVIDIA_BAR5_PROBE)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 70 "../hw/vfio/trace-events"
            qemu_log("vfio_quirk_nvidia_bar5_probe " "%s" "\n", name);
#line 1460 "trace/trace-hw_vfio.h"
        }
    }
}

#define TRACE_VFIO_QUIRK_NVIDIA_BAR0_MSI_ACK_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_VFIO_QUIRK_NVIDIA_BAR0_MSI_ACK) || \
    false)

static inline void trace_vfio_quirk_nvidia_bar0_msi_ack(const char *name)
{
    if (trace_event_get_state(TRACE_VFIO_QUIRK_NVIDIA_BAR0_MSI_ACK)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 71 "../hw/vfio/trace-events"
            qemu_log("vfio_quirk_nvidia_bar0_msi_ack " "%s" "\n", name);
#line 1475 "trace/trace-hw_vfio.h"
        }
    }
}

#define TRACE_VFIO_QUIRK_NVIDIA_BAR0_PROBE_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_VFIO_QUIRK_NVIDIA_BAR0_PROBE) || \
    false)

static inline void trace_vfio_quirk_nvidia_bar0_probe(const char *name)
{
    if (trace_event_get_state(TRACE_VFIO_QUIRK_NVIDIA_BAR0_PROBE)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 72 "../hw/vfio/trace-events"
            qemu_log("vfio_quirk_nvidia_bar0_probe " "%s" "\n", name);
#line 1490 "trace/trace-hw_vfio.h"
        }
    }
}

#define TRACE_VFIO_QUIRK_RTL8168_FAKE_LATCH_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_VFIO_QUIRK_RTL8168_FAKE_LATCH) || \
    false)

static inline void trace_vfio_quirk_rtl8168_fake_latch(const char *name, uint64_t val)
{
    if (trace_event_get_state(TRACE_VFIO_QUIRK_RTL8168_FAKE_LATCH)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 73 "../hw/vfio/trace-events"
            qemu_log("vfio_quirk_rtl8168_fake_latch " "%s 0x%"PRIx64 "\n", name, val);
#line 1505 "trace/trace-hw_vfio.h"
        }
    }
}

#define TRACE_VFIO_QUIRK_RTL8168_MSIX_WRITE_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_VFIO_QUIRK_RTL8168_MSIX_WRITE) || \
    false)

static inline void trace_vfio_quirk_rtl8168_msix_write(const char *name, uint16_t offset, uint64_t val)
{
    if (trace_event_get_state(TRACE_VFIO_QUIRK_RTL8168_MSIX_WRITE)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 74 "../hw/vfio/trace-events"
            qemu_log("vfio_quirk_rtl8168_msix_write " "%s MSI-X table write[0x%x]: 0x%"PRIx64 "\n", name, offset, val);
#line 1520 "trace/trace-hw_vfio.h"
        }
    }
}

#define TRACE_VFIO_QUIRK_RTL8168_MSIX_READ_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_VFIO_QUIRK_RTL8168_MSIX_READ) || \
    false)

static inline void trace_vfio_quirk_rtl8168_msix_read(const char *name, uint16_t offset, uint64_t val)
{
    if (trace_event_get_state(TRACE_VFIO_QUIRK_RTL8168_MSIX_READ)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 75 "../hw/vfio/trace-events"
            qemu_log("vfio_quirk_rtl8168_msix_read " "%s MSI-X table read[0x%x]: 0x%"PRIx64 "\n", name, offset, val);
#line 1535 "trace/trace-hw_vfio.h"
        }
    }
}

#define TRACE_VFIO_QUIRK_RTL8168_PROBE_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_VFIO_QUIRK_RTL8168_PROBE) || \
    false)

static inline void trace_vfio_quirk_rtl8168_probe(const char *name)
{
    if (trace_event_get_state(TRACE_VFIO_QUIRK_RTL8168_PROBE)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 76 "../hw/vfio/trace-events"
            qemu_log("vfio_quirk_rtl8168_probe " "%s" "\n", name);
#line 1550 "trace/trace-hw_vfio.h"
        }
    }
}

#define TRACE_VFIO_QUIRK_ATI_BONAIRE_RESET_SKIPPED_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_VFIO_QUIRK_ATI_BONAIRE_RESET_SKIPPED) || \
    false)

static inline void trace_vfio_quirk_ati_bonaire_reset_skipped(const char *name)
{
    if (trace_event_get_state(TRACE_VFIO_QUIRK_ATI_BONAIRE_RESET_SKIPPED)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 78 "../hw/vfio/trace-events"
            qemu_log("vfio_quirk_ati_bonaire_reset_skipped " "%s" "\n", name);
#line 1565 "trace/trace-hw_vfio.h"
        }
    }
}

#define TRACE_VFIO_QUIRK_ATI_BONAIRE_RESET_NO_SMC_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_VFIO_QUIRK_ATI_BONAIRE_RESET_NO_SMC) || \
    false)

static inline void trace_vfio_quirk_ati_bonaire_reset_no_smc(const char *name)
{
    if (trace_event_get_state(TRACE_VFIO_QUIRK_ATI_BONAIRE_RESET_NO_SMC)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 79 "../hw/vfio/trace-events"
            qemu_log("vfio_quirk_ati_bonaire_reset_no_smc " "%s" "\n", name);
#line 1580 "trace/trace-hw_vfio.h"
        }
    }
}

#define TRACE_VFIO_QUIRK_ATI_BONAIRE_RESET_TIMEOUT_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_VFIO_QUIRK_ATI_BONAIRE_RESET_TIMEOUT) || \
    false)

static inline void trace_vfio_quirk_ati_bonaire_reset_timeout(const char *name)
{
    if (trace_event_get_state(TRACE_VFIO_QUIRK_ATI_BONAIRE_RESET_TIMEOUT)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 80 "../hw/vfio/trace-events"
            qemu_log("vfio_quirk_ati_bonaire_reset_timeout " "%s" "\n", name);
#line 1595 "trace/trace-hw_vfio.h"
        }
    }
}

#define TRACE_VFIO_QUIRK_ATI_BONAIRE_RESET_DONE_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_VFIO_QUIRK_ATI_BONAIRE_RESET_DONE) || \
    false)

static inline void trace_vfio_quirk_ati_bonaire_reset_done(const char *name)
{
    if (trace_event_get_state(TRACE_VFIO_QUIRK_ATI_BONAIRE_RESET_DONE)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 81 "../hw/vfio/trace-events"
            qemu_log("vfio_quirk_ati_bonaire_reset_done " "%s" "\n", name);
#line 1610 "trace/trace-hw_vfio.h"
        }
    }
}

#define TRACE_VFIO_QUIRK_ATI_BONAIRE_RESET_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_VFIO_QUIRK_ATI_BONAIRE_RESET) || \
    false)

static inline void trace_vfio_quirk_ati_bonaire_reset(const char *name)
{
    if (trace_event_get_state(TRACE_VFIO_QUIRK_ATI_BONAIRE_RESET)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 82 "../hw/vfio/trace-events"
            qemu_log("vfio_quirk_ati_bonaire_reset " "%s" "\n", name);
#line 1625 "trace/trace-hw_vfio.h"
        }
    }
}

#define TRACE_VFIO_IOEVENTFD_EXIT_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_VFIO_IOEVENTFD_EXIT) || \
    false)

static inline void trace_vfio_ioeventfd_exit(const char *name, uint64_t addr, unsigned size, uint64_t data)
{
    if (trace_event_get_state(TRACE_VFIO_IOEVENTFD_EXIT)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 83 "../hw/vfio/trace-events"
            qemu_log("vfio_ioeventfd_exit " "%s+0x%"PRIx64"[%d]:0x%"PRIx64 "\n", name, addr, size, data);
#line 1640 "trace/trace-hw_vfio.h"
        }
    }
}

#define TRACE_VFIO_IOEVENTFD_HANDLER_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_VFIO_IOEVENTFD_HANDLER) || \
    false)

static inline void trace_vfio_ioeventfd_handler(const char *name, uint64_t addr, unsigned size, uint64_t data)
{
    if (trace_event_get_state(TRACE_VFIO_IOEVENTFD_HANDLER)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 84 "../hw/vfio/trace-events"
            qemu_log("vfio_ioeventfd_handler " "%s+0x%"PRIx64"[%d] -> 0x%"PRIx64 "\n", name, addr, size, data);
#line 1655 "trace/trace-hw_vfio.h"
        }
    }
}

#define TRACE_VFIO_IOEVENTFD_INIT_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_VFIO_IOEVENTFD_INIT) || \
    false)

static inline void trace_vfio_ioeventfd_init(const char *name, uint64_t addr, unsigned size, uint64_t data, bool vfio)
{
    if (trace_event_get_state(TRACE_VFIO_IOEVENTFD_INIT)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 85 "../hw/vfio/trace-events"
            qemu_log("vfio_ioeventfd_init " "%s+0x%"PRIx64"[%d]:0x%"PRIx64" vfio:%d" "\n", name, addr, size, data, vfio);
#line 1670 "trace/trace-hw_vfio.h"
        }
    }
}

#define TRACE_VFIO_PCI_IGD_OPREGION_ENABLED_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_VFIO_PCI_IGD_OPREGION_ENABLED) || \
    false)

static inline void trace_vfio_pci_igd_opregion_enabled(const char *name)
{
    if (trace_event_get_state(TRACE_VFIO_PCI_IGD_OPREGION_ENABLED)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 86 "../hw/vfio/trace-events"
            qemu_log("vfio_pci_igd_opregion_enabled " "%s" "\n", name);
#line 1685 "trace/trace-hw_vfio.h"
        }
    }
}

#define TRACE_VFIO_PCI_IGD_BAR4_WRITE_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_VFIO_PCI_IGD_BAR4_WRITE) || \
    false)

static inline void trace_vfio_pci_igd_bar4_write(const char *name, uint32_t index, uint32_t data, uint32_t base)
{
    if (trace_event_get_state(TRACE_VFIO_PCI_IGD_BAR4_WRITE)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 89 "../hw/vfio/trace-events"
            qemu_log("vfio_pci_igd_bar4_write " "%s [0x%03x] 0x%08x -> 0x%08x" "\n", name, index, data, base);
#line 1700 "trace/trace-hw_vfio.h"
        }
    }
}

#define TRACE_VFIO_PCI_IGD_BDSM_ENABLED_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_VFIO_PCI_IGD_BDSM_ENABLED) || \
    false)

static inline void trace_vfio_pci_igd_bdsm_enabled(const char *name, int size)
{
    if (trace_event_get_state(TRACE_VFIO_PCI_IGD_BDSM_ENABLED)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 90 "../hw/vfio/trace-events"
            qemu_log("vfio_pci_igd_bdsm_enabled " "%s %dMB" "\n", name, size);
#line 1715 "trace/trace-hw_vfio.h"
        }
    }
}

#define TRACE_VFIO_PCI_IGD_HOST_BRIDGE_ENABLED_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_VFIO_PCI_IGD_HOST_BRIDGE_ENABLED) || \
    false)

static inline void trace_vfio_pci_igd_host_bridge_enabled(const char *name)
{
    if (trace_event_get_state(TRACE_VFIO_PCI_IGD_HOST_BRIDGE_ENABLED)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 91 "../hw/vfio/trace-events"
            qemu_log("vfio_pci_igd_host_bridge_enabled " "%s" "\n", name);
#line 1730 "trace/trace-hw_vfio.h"
        }
    }
}

#define TRACE_VFIO_PCI_IGD_LPC_BRIDGE_ENABLED_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_VFIO_PCI_IGD_LPC_BRIDGE_ENABLED) || \
    false)

static inline void trace_vfio_pci_igd_lpc_bridge_enabled(const char *name)
{
    if (trace_event_get_state(TRACE_VFIO_PCI_IGD_LPC_BRIDGE_ENABLED)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 92 "../hw/vfio/trace-events"
            qemu_log("vfio_pci_igd_lpc_bridge_enabled " "%s" "\n", name);
#line 1745 "trace/trace-hw_vfio.h"
        }
    }
}

#define TRACE_VFIO_IOMMU_MAP_NOTIFY_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_VFIO_IOMMU_MAP_NOTIFY) || \
    false)

static inline void trace_vfio_iommu_map_notify(const char *op, uint64_t iova_start, uint64_t iova_end)
{
    if (trace_event_get_state(TRACE_VFIO_IOMMU_MAP_NOTIFY)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 95 "../hw/vfio/trace-events"
            qemu_log("vfio_iommu_map_notify " "iommu %s @ 0x%"PRIx64" - 0x%"PRIx64 "\n", op, iova_start, iova_end);
#line 1760 "trace/trace-hw_vfio.h"
        }
    }
}

#define TRACE_VFIO_LISTENER_REGION_SKIP_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_VFIO_LISTENER_REGION_SKIP) || \
    false)

static inline void trace_vfio_listener_region_skip(const char *name, uint64_t start, uint64_t end)
{
    if (trace_event_get_state(TRACE_VFIO_LISTENER_REGION_SKIP)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 96 "../hw/vfio/trace-events"
            qemu_log("vfio_listener_region_skip " "SKIPPING %s 0x%"PRIx64" - 0x%"PRIx64 "\n", name, start, end);
#line 1775 "trace/trace-hw_vfio.h"
        }
    }
}

#define TRACE_VFIO_SPAPR_GROUP_ATTACH_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_VFIO_SPAPR_GROUP_ATTACH) || \
    false)

static inline void trace_vfio_spapr_group_attach(int groupfd, int tablefd)
{
    if (trace_event_get_state(TRACE_VFIO_SPAPR_GROUP_ATTACH)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 97 "../hw/vfio/trace-events"
            qemu_log("vfio_spapr_group_attach " "Attached groupfd %d to liobn fd %d" "\n", groupfd, tablefd);
#line 1790 "trace/trace-hw_vfio.h"
        }
    }
}

#define TRACE_VFIO_LISTENER_REGION_ADD_IOMMU_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_VFIO_LISTENER_REGION_ADD_IOMMU) || \
    false)

static inline void trace_vfio_listener_region_add_iommu(const char*name, uint64_t start, uint64_t end)
{
    if (trace_event_get_state(TRACE_VFIO_LISTENER_REGION_ADD_IOMMU)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 98 "../hw/vfio/trace-events"
            qemu_log("vfio_listener_region_add_iommu " "region_add [iommu] %s 0x%"PRIx64" - 0x%"PRIx64 "\n", name, start, end);
#line 1805 "trace/trace-hw_vfio.h"
        }
    }
}

#define TRACE_VFIO_LISTENER_REGION_DEL_IOMMU_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_VFIO_LISTENER_REGION_DEL_IOMMU) || \
    false)

static inline void trace_vfio_listener_region_del_iommu(const char *name)
{
    if (trace_event_get_state(TRACE_VFIO_LISTENER_REGION_DEL_IOMMU)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 99 "../hw/vfio/trace-events"
            qemu_log("vfio_listener_region_del_iommu " "region_del [iommu] %s" "\n", name);
#line 1820 "trace/trace-hw_vfio.h"
        }
    }
}

#define TRACE_VFIO_LISTENER_REGION_ADD_RAM_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_VFIO_LISTENER_REGION_ADD_RAM) || \
    false)

static inline void trace_vfio_listener_region_add_ram(uint64_t iova_start, uint64_t iova_end, void *vaddr)
{
    if (trace_event_get_state(TRACE_VFIO_LISTENER_REGION_ADD_RAM)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 100 "../hw/vfio/trace-events"
            qemu_log("vfio_listener_region_add_ram " "region_add [ram] 0x%"PRIx64" - 0x%"PRIx64" [%p]" "\n", iova_start, iova_end, vaddr);
#line 1835 "trace/trace-hw_vfio.h"
        }
    }
}

#define TRACE_VFIO_KNOWN_SAFE_MISALIGNMENT_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_VFIO_KNOWN_SAFE_MISALIGNMENT) || \
    false)

static inline void trace_vfio_known_safe_misalignment(const char *name, uint64_t iova, uint64_t offset_within_region, uintptr_t page_size)
{
    if (trace_event_get_state(TRACE_VFIO_KNOWN_SAFE_MISALIGNMENT)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 101 "../hw/vfio/trace-events"
            qemu_log("vfio_known_safe_misalignment " "Region \"%s\" iova=0x%"PRIx64" offset_within_region=0x%"PRIx64" qemu_real_host_page_size=0x%"PRIxPTR "\n", name, iova, offset_within_region, page_size);
#line 1850 "trace/trace-hw_vfio.h"
        }
    }
}

#define TRACE_VFIO_LISTENER_REGION_ADD_NO_DMA_MAP_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_VFIO_LISTENER_REGION_ADD_NO_DMA_MAP) || \
    false)

static inline void trace_vfio_listener_region_add_no_dma_map(const char *name, uint64_t iova, uint64_t size, uint64_t page_size)
{
    if (trace_event_get_state(TRACE_VFIO_LISTENER_REGION_ADD_NO_DMA_MAP)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 102 "../hw/vfio/trace-events"
            qemu_log("vfio_listener_region_add_no_dma_map " "Region \"%s\" 0x%"PRIx64" size=0x%"PRIx64" is not aligned to 0x%"PRIx64" and cannot be mapped for DMA" "\n", name, iova, size, page_size);
#line 1865 "trace/trace-hw_vfio.h"
        }
    }
}

#define TRACE_VFIO_LISTENER_REGION_DEL_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_VFIO_LISTENER_REGION_DEL) || \
    false)

static inline void trace_vfio_listener_region_del(uint64_t start, uint64_t end)
{
    if (trace_event_get_state(TRACE_VFIO_LISTENER_REGION_DEL)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 103 "../hw/vfio/trace-events"
            qemu_log("vfio_listener_region_del " "region_del 0x%"PRIx64" - 0x%"PRIx64 "\n", start, end);
#line 1880 "trace/trace-hw_vfio.h"
        }
    }
}

#define TRACE_VFIO_DEVICE_DIRTY_TRACKING_UPDATE_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_VFIO_DEVICE_DIRTY_TRACKING_UPDATE) || \
    false)

static inline void trace_vfio_device_dirty_tracking_update(uint64_t start, uint64_t end, uint64_t min, uint64_t max)
{
    if (trace_event_get_state(TRACE_VFIO_DEVICE_DIRTY_TRACKING_UPDATE)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 104 "../hw/vfio/trace-events"
            qemu_log("vfio_device_dirty_tracking_update " "section 0x%"PRIx64" - 0x%"PRIx64" -> update [0x%"PRIx64" - 0x%"PRIx64"]" "\n", start, end, min, max);
#line 1895 "trace/trace-hw_vfio.h"
        }
    }
}

#define TRACE_VFIO_DEVICE_DIRTY_TRACKING_START_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_VFIO_DEVICE_DIRTY_TRACKING_START) || \
    false)

static inline void trace_vfio_device_dirty_tracking_start(int nr_ranges, uint64_t min32, uint64_t max32, uint64_t min64, uint64_t max64, uint64_t minpci, uint64_t maxpci)
{
    if (trace_event_get_state(TRACE_VFIO_DEVICE_DIRTY_TRACKING_START)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 105 "../hw/vfio/trace-events"
            qemu_log("vfio_device_dirty_tracking_start " "nr_ranges %d 32:[0x%"PRIx64" - 0x%"PRIx64"], 64:[0x%"PRIx64" - 0x%"PRIx64"], pci64:[0x%"PRIx64" - 0x%"PRIx64"]" "\n", nr_ranges, min32, max32, min64, max64, minpci, maxpci);
#line 1910 "trace/trace-hw_vfio.h"
        }
    }
}

#define TRACE_VFIO_IOMMU_MAP_DIRTY_NOTIFY_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_VFIO_IOMMU_MAP_DIRTY_NOTIFY) || \
    false)

static inline void trace_vfio_iommu_map_dirty_notify(uint64_t iova_start, uint64_t iova_end)
{
    if (trace_event_get_state(TRACE_VFIO_IOMMU_MAP_DIRTY_NOTIFY)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 106 "../hw/vfio/trace-events"
            qemu_log("vfio_iommu_map_dirty_notify " "iommu dirty @ 0x%"PRIx64" - 0x%"PRIx64 "\n", iova_start, iova_end);
#line 1925 "trace/trace-hw_vfio.h"
        }
    }
}

#define TRACE_VFIO_IOMMU_MAP_DIRTY_NOTIFY_SKIP_RO_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_VFIO_IOMMU_MAP_DIRTY_NOTIFY_SKIP_RO) || \
    false)

static inline void trace_vfio_iommu_map_dirty_notify_skip_ro(uint64_t iova_start, uint64_t iova_end)
{
    if (trace_event_get_state(TRACE_VFIO_IOMMU_MAP_DIRTY_NOTIFY_SKIP_RO)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 107 "../hw/vfio/trace-events"
            qemu_log("vfio_iommu_map_dirty_notify_skip_ro " "iommu dirty @ 0x%"PRIx64" - 0x%"PRIx64 "\n", iova_start, iova_end);
#line 1940 "trace/trace-hw_vfio.h"
        }
    }
}

#define TRACE_VFIO_CONTAINER_QUERY_DIRTY_BITMAP_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_VFIO_CONTAINER_QUERY_DIRTY_BITMAP) || \
    false)

static inline void trace_vfio_container_query_dirty_bitmap(uint64_t iova, uint64_t size, uint64_t backend_flag, uint64_t bitmap_size, uint64_t translated_addr, uint64_t dirty_pages)
{
    if (trace_event_get_state(TRACE_VFIO_CONTAINER_QUERY_DIRTY_BITMAP)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 110 "../hw/vfio/trace-events"
            qemu_log("vfio_container_query_dirty_bitmap " "iova=0x%"PRIx64" size=0x%"PRIx64" backend_flag=0x%"PRIx64" bitmap_size=0x%"PRIx64" gpa=0x%"PRIx64" dirty_pages=%"PRIu64 "\n", iova, size, backend_flag, bitmap_size, translated_addr, dirty_pages);
#line 1955 "trace/trace-hw_vfio.h"
        }
    }
}

#define TRACE_VFIO_CONTAINER_DISCONNECT_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_VFIO_CONTAINER_DISCONNECT) || \
    false)

static inline void trace_vfio_container_disconnect(int fd)
{
    if (trace_event_get_state(TRACE_VFIO_CONTAINER_DISCONNECT)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 113 "../hw/vfio/trace-events"
            qemu_log("vfio_container_disconnect " "close container->fd=%d" "\n", fd);
#line 1970 "trace/trace-hw_vfio.h"
        }
    }
}

#define TRACE_VFIO_GROUP_PUT_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_VFIO_GROUP_PUT) || \
    false)

static inline void trace_vfio_group_put(int fd)
{
    if (trace_event_get_state(TRACE_VFIO_GROUP_PUT)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 114 "../hw/vfio/trace-events"
            qemu_log("vfio_group_put " "close group->fd=%d" "\n", fd);
#line 1985 "trace/trace-hw_vfio.h"
        }
    }
}

#define TRACE_VFIO_DEVICE_GET_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_VFIO_DEVICE_GET) || \
    false)

static inline void trace_vfio_device_get(const char *name, unsigned int flags, unsigned int num_regions, unsigned int num_irqs)
{
    if (trace_event_get_state(TRACE_VFIO_DEVICE_GET)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 115 "../hw/vfio/trace-events"
            qemu_log("vfio_device_get " "Device %s flags: %u, regions: %u, irqs: %u" "\n", name, flags, num_regions, num_irqs);
#line 2000 "trace/trace-hw_vfio.h"
        }
    }
}

#define TRACE_VFIO_DEVICE_PUT_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_VFIO_DEVICE_PUT) || \
    false)

static inline void trace_vfio_device_put(int fd)
{
    if (trace_event_get_state(TRACE_VFIO_DEVICE_PUT)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 116 "../hw/vfio/trace-events"
            qemu_log("vfio_device_put " "close vdev->fd=%d" "\n", fd);
#line 2015 "trace/trace-hw_vfio.h"
        }
    }
}

#define TRACE_VFIO_REGION_WRITE_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_VFIO_REGION_WRITE) || \
    false)

static inline void trace_vfio_region_write(const char *name, int index, uint64_t addr, uint64_t data, unsigned size)
{
    if (trace_event_get_state(TRACE_VFIO_REGION_WRITE)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 119 "../hw/vfio/trace-events"
            qemu_log("vfio_region_write " " (%s:region%d+0x%"PRIx64", 0x%"PRIx64 ", %d)" "\n", name, index, addr, data, size);
#line 2030 "trace/trace-hw_vfio.h"
        }
    }
}

#define TRACE_VFIO_REGION_READ_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_VFIO_REGION_READ) || \
    false)

static inline void trace_vfio_region_read(char *name, int index, uint64_t addr, unsigned size, uint64_t data)
{
    if (trace_event_get_state(TRACE_VFIO_REGION_READ)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 120 "../hw/vfio/trace-events"
            qemu_log("vfio_region_read " " (%s:region%d+0x%"PRIx64", %d) = 0x%"PRIx64 "\n", name, index, addr, size, data);
#line 2045 "trace/trace-hw_vfio.h"
        }
    }
}

#define TRACE_VFIO_REGION_SETUP_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_VFIO_REGION_SETUP) || \
    false)

static inline void trace_vfio_region_setup(const char *dev, int index, const char *name, unsigned long flags, unsigned long offset, unsigned long size)
{
    if (trace_event_get_state(TRACE_VFIO_REGION_SETUP)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 121 "../hw/vfio/trace-events"
            qemu_log("vfio_region_setup " "Device %s, region %d \"%s\", flags: 0x%lx, offset: 0x%lx, size: 0x%lx" "\n", dev, index, name, flags, offset, size);
#line 2060 "trace/trace-hw_vfio.h"
        }
    }
}

#define TRACE_VFIO_REGION_DMABUF_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_VFIO_REGION_DMABUF) || \
    false)

static inline void trace_vfio_region_dmabuf(const char *dev, int fd, int index, const char *name, unsigned long offset, unsigned long size)
{
    if (trace_event_get_state(TRACE_VFIO_REGION_DMABUF)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 122 "../hw/vfio/trace-events"
            qemu_log("vfio_region_dmabuf " "Device %s, dmabuf fd %d region %d \"%s\", offset: 0x%lx, size: 0x%lx" "\n", dev, fd, index, name, offset, size);
#line 2075 "trace/trace-hw_vfio.h"
        }
    }
}

#define TRACE_VFIO_REGION_MMAP_FAULT_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_VFIO_REGION_MMAP_FAULT) || \
    false)

static inline void trace_vfio_region_mmap_fault(const char *name, int index, unsigned long offset, unsigned long size, int fault)
{
    if (trace_event_get_state(TRACE_VFIO_REGION_MMAP_FAULT)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 123 "../hw/vfio/trace-events"
            qemu_log("vfio_region_mmap_fault " "Region %s mmaps[%d], [0x%lx - 0x%lx], fault: %d" "\n", name, index, offset, size, fault);
#line 2090 "trace/trace-hw_vfio.h"
        }
    }
}

#define TRACE_VFIO_REGION_MMAP_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_VFIO_REGION_MMAP) || \
    false)

static inline void trace_vfio_region_mmap(const char *name, unsigned long offset, unsigned long end)
{
    if (trace_event_get_state(TRACE_VFIO_REGION_MMAP)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 124 "../hw/vfio/trace-events"
            qemu_log("vfio_region_mmap " "Region %s [0x%lx - 0x%lx]" "\n", name, offset, end);
#line 2105 "trace/trace-hw_vfio.h"
        }
    }
}

#define TRACE_VFIO_REGION_EXIT_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_VFIO_REGION_EXIT) || \
    false)

static inline void trace_vfio_region_exit(const char *name, int index)
{
    if (trace_event_get_state(TRACE_VFIO_REGION_EXIT)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 125 "../hw/vfio/trace-events"
            qemu_log("vfio_region_exit " "Device %s, region %d" "\n", name, index);
#line 2120 "trace/trace-hw_vfio.h"
        }
    }
}

#define TRACE_VFIO_REGION_FINALIZE_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_VFIO_REGION_FINALIZE) || \
    false)

static inline void trace_vfio_region_finalize(const char *name, int index)
{
    if (trace_event_get_state(TRACE_VFIO_REGION_FINALIZE)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 126 "../hw/vfio/trace-events"
            qemu_log("vfio_region_finalize " "Device %s, region %d" "\n", name, index);
#line 2135 "trace/trace-hw_vfio.h"
        }
    }
}

#define TRACE_VFIO_REGION_MMAPS_SET_ENABLED_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_VFIO_REGION_MMAPS_SET_ENABLED) || \
    false)

static inline void trace_vfio_region_mmaps_set_enabled(const char *name, bool enabled)
{
    if (trace_event_get_state(TRACE_VFIO_REGION_MMAPS_SET_ENABLED)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 127 "../hw/vfio/trace-events"
            qemu_log("vfio_region_mmaps_set_enabled " "Region %s mmaps enabled: %d" "\n", name, enabled);
#line 2150 "trace/trace-hw_vfio.h"
        }
    }
}

#define TRACE_VFIO_REGION_UNMAP_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_VFIO_REGION_UNMAP) || \
    false)

static inline void trace_vfio_region_unmap(const char *name, unsigned long offset, unsigned long end)
{
    if (trace_event_get_state(TRACE_VFIO_REGION_UNMAP)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 128 "../hw/vfio/trace-events"
            qemu_log("vfio_region_unmap " "Region %s unmap [0x%lx - 0x%lx]" "\n", name, offset, end);
#line 2165 "trace/trace-hw_vfio.h"
        }
    }
}

#define TRACE_VFIO_REGION_SPARSE_MMAP_HEADER_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_VFIO_REGION_SPARSE_MMAP_HEADER) || \
    false)

static inline void trace_vfio_region_sparse_mmap_header(const char *name, int index, int nr_areas)
{
    if (trace_event_get_state(TRACE_VFIO_REGION_SPARSE_MMAP_HEADER)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 129 "../hw/vfio/trace-events"
            qemu_log("vfio_region_sparse_mmap_header " "Device %s region %d: %d sparse mmap entries" "\n", name, index, nr_areas);
#line 2180 "trace/trace-hw_vfio.h"
        }
    }
}

#define TRACE_VFIO_REGION_SPARSE_MMAP_ENTRY_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_VFIO_REGION_SPARSE_MMAP_ENTRY) || \
    false)

static inline void trace_vfio_region_sparse_mmap_entry(int i, unsigned long start, unsigned long end)
{
    if (trace_event_get_state(TRACE_VFIO_REGION_SPARSE_MMAP_ENTRY)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 130 "../hw/vfio/trace-events"
            qemu_log("vfio_region_sparse_mmap_entry " "sparse entry %d [0x%lx - 0x%lx]" "\n", i, start, end);
#line 2195 "trace/trace-hw_vfio.h"
        }
    }
}

#define TRACE_VFIO_PREREG_LISTENER_REGION_ADD_SKIP_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_VFIO_PREREG_LISTENER_REGION_ADD_SKIP) || \
    false)

static inline void trace_vfio_prereg_listener_region_add_skip(uint64_t start, uint64_t end)
{
    if (trace_event_get_state(TRACE_VFIO_PREREG_LISTENER_REGION_ADD_SKIP)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 133 "../hw/vfio/trace-events"
            qemu_log("vfio_prereg_listener_region_add_skip " "0x%"PRIx64" - 0x%"PRIx64 "\n", start, end);
#line 2210 "trace/trace-hw_vfio.h"
        }
    }
}

#define TRACE_VFIO_PREREG_LISTENER_REGION_DEL_SKIP_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_VFIO_PREREG_LISTENER_REGION_DEL_SKIP) || \
    false)

static inline void trace_vfio_prereg_listener_region_del_skip(uint64_t start, uint64_t end)
{
    if (trace_event_get_state(TRACE_VFIO_PREREG_LISTENER_REGION_DEL_SKIP)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 134 "../hw/vfio/trace-events"
            qemu_log("vfio_prereg_listener_region_del_skip " "0x%"PRIx64" - 0x%"PRIx64 "\n", start, end);
#line 2225 "trace/trace-hw_vfio.h"
        }
    }
}

#define TRACE_VFIO_PREREG_REGISTER_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_VFIO_PREREG_REGISTER) || \
    false)

static inline void trace_vfio_prereg_register(uint64_t va, uint64_t size, int ret)
{
    if (trace_event_get_state(TRACE_VFIO_PREREG_REGISTER)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 135 "../hw/vfio/trace-events"
            qemu_log("vfio_prereg_register " "va=0x%"PRIx64" size=0x%"PRIx64" ret=%d" "\n", va, size, ret);
#line 2240 "trace/trace-hw_vfio.h"
        }
    }
}

#define TRACE_VFIO_PREREG_UNREGISTER_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_VFIO_PREREG_UNREGISTER) || \
    false)

static inline void trace_vfio_prereg_unregister(uint64_t va, uint64_t size, int ret)
{
    if (trace_event_get_state(TRACE_VFIO_PREREG_UNREGISTER)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 136 "../hw/vfio/trace-events"
            qemu_log("vfio_prereg_unregister " "va=0x%"PRIx64" size=0x%"PRIx64" ret=%d" "\n", va, size, ret);
#line 2255 "trace/trace-hw_vfio.h"
        }
    }
}

#define TRACE_VFIO_SPAPR_CREATE_WINDOW_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_VFIO_SPAPR_CREATE_WINDOW) || \
    false)

static inline void trace_vfio_spapr_create_window(int ps, unsigned int levels, uint64_t ws, uint64_t off)
{
    if (trace_event_get_state(TRACE_VFIO_SPAPR_CREATE_WINDOW)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 137 "../hw/vfio/trace-events"
            qemu_log("vfio_spapr_create_window " "pageshift=0x%x levels=%u winsize=0x%"PRIx64" offset=0x%"PRIx64 "\n", ps, levels, ws, off);
#line 2270 "trace/trace-hw_vfio.h"
        }
    }
}

#define TRACE_VFIO_SPAPR_REMOVE_WINDOW_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_VFIO_SPAPR_REMOVE_WINDOW) || \
    false)

static inline void trace_vfio_spapr_remove_window(uint64_t off)
{
    if (trace_event_get_state(TRACE_VFIO_SPAPR_REMOVE_WINDOW)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 138 "../hw/vfio/trace-events"
            qemu_log("vfio_spapr_remove_window " "offset=0x%"PRIx64 "\n", off);
#line 2285 "trace/trace-hw_vfio.h"
        }
    }
}

#define TRACE_VFIO_DISPLAY_EDID_AVAILABLE_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_VFIO_DISPLAY_EDID_AVAILABLE) || \
    false)

static inline void trace_vfio_display_edid_available(void)
{
    if (trace_event_get_state(TRACE_VFIO_DISPLAY_EDID_AVAILABLE)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 141 "../hw/vfio/trace-events"
            qemu_log("vfio_display_edid_available " "" "\n");
#line 2300 "trace/trace-hw_vfio.h"
        }
    }
}

#define TRACE_VFIO_DISPLAY_EDID_LINK_UP_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_VFIO_DISPLAY_EDID_LINK_UP) || \
    false)

static inline void trace_vfio_display_edid_link_up(void)
{
    if (trace_event_get_state(TRACE_VFIO_DISPLAY_EDID_LINK_UP)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 142 "../hw/vfio/trace-events"
            qemu_log("vfio_display_edid_link_up " "" "\n");
#line 2315 "trace/trace-hw_vfio.h"
        }
    }
}

#define TRACE_VFIO_DISPLAY_EDID_LINK_DOWN_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_VFIO_DISPLAY_EDID_LINK_DOWN) || \
    false)

static inline void trace_vfio_display_edid_link_down(void)
{
    if (trace_event_get_state(TRACE_VFIO_DISPLAY_EDID_LINK_DOWN)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 143 "../hw/vfio/trace-events"
            qemu_log("vfio_display_edid_link_down " "" "\n");
#line 2330 "trace/trace-hw_vfio.h"
        }
    }
}

#define TRACE_VFIO_DISPLAY_EDID_UPDATE_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_VFIO_DISPLAY_EDID_UPDATE) || \
    false)

static inline void trace_vfio_display_edid_update(uint32_t prefx, uint32_t prefy)
{
    if (trace_event_get_state(TRACE_VFIO_DISPLAY_EDID_UPDATE)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 144 "../hw/vfio/trace-events"
            qemu_log("vfio_display_edid_update " "%ux%u" "\n", prefx, prefy);
#line 2345 "trace/trace-hw_vfio.h"
        }
    }
}

#define TRACE_VFIO_DISPLAY_EDID_WRITE_ERROR_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_VFIO_DISPLAY_EDID_WRITE_ERROR) || \
    false)

static inline void trace_vfio_display_edid_write_error(void)
{
    if (trace_event_get_state(TRACE_VFIO_DISPLAY_EDID_WRITE_ERROR)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 145 "../hw/vfio/trace-events"
            qemu_log("vfio_display_edid_write_error " "" "\n");
#line 2360 "trace/trace-hw_vfio.h"
        }
    }
}

#define TRACE_VFIO_LOAD_BUFS_THREAD_START_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_VFIO_LOAD_BUFS_THREAD_START) || \
    false)

static inline void trace_vfio_load_bufs_thread_start(const char *name)
{
    if (trace_event_get_state(TRACE_VFIO_LOAD_BUFS_THREAD_START)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 148 "../hw/vfio/trace-events"
            qemu_log("vfio_load_bufs_thread_start " " (%s)" "\n", name);
#line 2375 "trace/trace-hw_vfio.h"
        }
    }
}

#define TRACE_VFIO_LOAD_BUFS_THREAD_END_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_VFIO_LOAD_BUFS_THREAD_END) || \
    false)

static inline void trace_vfio_load_bufs_thread_end(const char *name)
{
    if (trace_event_get_state(TRACE_VFIO_LOAD_BUFS_THREAD_END)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 149 "../hw/vfio/trace-events"
            qemu_log("vfio_load_bufs_thread_end " " (%s)" "\n", name);
#line 2390 "trace/trace-hw_vfio.h"
        }
    }
}

#define TRACE_VFIO_LOAD_CLEANUP_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_VFIO_LOAD_CLEANUP) || \
    false)

static inline void trace_vfio_load_cleanup(const char *name)
{
    if (trace_event_get_state(TRACE_VFIO_LOAD_CLEANUP)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 150 "../hw/vfio/trace-events"
            qemu_log("vfio_load_cleanup " " (%s)" "\n", name);
#line 2405 "trace/trace-hw_vfio.h"
        }
    }
}

#define TRACE_VFIO_LOAD_DEVICE_CONFIG_STATE_START_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_VFIO_LOAD_DEVICE_CONFIG_STATE_START) || \
    false)

static inline void trace_vfio_load_device_config_state_start(const char *name)
{
    if (trace_event_get_state(TRACE_VFIO_LOAD_DEVICE_CONFIG_STATE_START)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 151 "../hw/vfio/trace-events"
            qemu_log("vfio_load_device_config_state_start " " (%s)" "\n", name);
#line 2420 "trace/trace-hw_vfio.h"
        }
    }
}

#define TRACE_VFIO_LOAD_DEVICE_CONFIG_STATE_END_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_VFIO_LOAD_DEVICE_CONFIG_STATE_END) || \
    false)

static inline void trace_vfio_load_device_config_state_end(const char *name)
{
    if (trace_event_get_state(TRACE_VFIO_LOAD_DEVICE_CONFIG_STATE_END)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 152 "../hw/vfio/trace-events"
            qemu_log("vfio_load_device_config_state_end " " (%s)" "\n", name);
#line 2435 "trace/trace-hw_vfio.h"
        }
    }
}

#define TRACE_VFIO_LOAD_STATE_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_VFIO_LOAD_STATE) || \
    false)

static inline void trace_vfio_load_state(const char *name, uint64_t data)
{
    if (trace_event_get_state(TRACE_VFIO_LOAD_STATE)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 153 "../hw/vfio/trace-events"
            qemu_log("vfio_load_state " " (%s) data 0x%"PRIx64 "\n", name, data);
#line 2450 "trace/trace-hw_vfio.h"
        }
    }
}

#define TRACE_VFIO_LOAD_STATE_DEVICE_DATA_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_VFIO_LOAD_STATE_DEVICE_DATA) || \
    false)

static inline void trace_vfio_load_state_device_data(const char *name, uint64_t data_size, int ret)
{
    if (trace_event_get_state(TRACE_VFIO_LOAD_STATE_DEVICE_DATA)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 154 "../hw/vfio/trace-events"
            qemu_log("vfio_load_state_device_data " " (%s) size %"PRIu64" ret %d" "\n", name, data_size, ret);
#line 2465 "trace/trace-hw_vfio.h"
        }
    }
}

#define TRACE_VFIO_LOAD_STATE_DEVICE_BUFFER_INCOMING_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_VFIO_LOAD_STATE_DEVICE_BUFFER_INCOMING) || \
    false)

static inline void trace_vfio_load_state_device_buffer_incoming(const char *name, uint32_t idx)
{
    if (trace_event_get_state(TRACE_VFIO_LOAD_STATE_DEVICE_BUFFER_INCOMING)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 155 "../hw/vfio/trace-events"
            qemu_log("vfio_load_state_device_buffer_incoming " " (%s) idx %"PRIu32 "\n", name, idx);
#line 2480 "trace/trace-hw_vfio.h"
        }
    }
}

#define TRACE_VFIO_LOAD_STATE_DEVICE_BUFFER_START_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_VFIO_LOAD_STATE_DEVICE_BUFFER_START) || \
    false)

static inline void trace_vfio_load_state_device_buffer_start(const char *name)
{
    if (trace_event_get_state(TRACE_VFIO_LOAD_STATE_DEVICE_BUFFER_START)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 156 "../hw/vfio/trace-events"
            qemu_log("vfio_load_state_device_buffer_start " " (%s)" "\n", name);
#line 2495 "trace/trace-hw_vfio.h"
        }
    }
}

#define TRACE_VFIO_LOAD_STATE_DEVICE_BUFFER_STARVED_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_VFIO_LOAD_STATE_DEVICE_BUFFER_STARVED) || \
    false)

static inline void trace_vfio_load_state_device_buffer_starved(const char *name, uint32_t idx)
{
    if (trace_event_get_state(TRACE_VFIO_LOAD_STATE_DEVICE_BUFFER_STARVED)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 157 "../hw/vfio/trace-events"
            qemu_log("vfio_load_state_device_buffer_starved " " (%s) idx %"PRIu32 "\n", name, idx);
#line 2510 "trace/trace-hw_vfio.h"
        }
    }
}

#define TRACE_VFIO_LOAD_STATE_DEVICE_BUFFER_LOAD_START_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_VFIO_LOAD_STATE_DEVICE_BUFFER_LOAD_START) || \
    false)

static inline void trace_vfio_load_state_device_buffer_load_start(const char *name, uint32_t idx)
{
    if (trace_event_get_state(TRACE_VFIO_LOAD_STATE_DEVICE_BUFFER_LOAD_START)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 158 "../hw/vfio/trace-events"
            qemu_log("vfio_load_state_device_buffer_load_start " " (%s) idx %"PRIu32 "\n", name, idx);
#line 2525 "trace/trace-hw_vfio.h"
        }
    }
}

#define TRACE_VFIO_LOAD_STATE_DEVICE_BUFFER_LOAD_END_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_VFIO_LOAD_STATE_DEVICE_BUFFER_LOAD_END) || \
    false)

static inline void trace_vfio_load_state_device_buffer_load_end(const char *name, uint32_t idx)
{
    if (trace_event_get_state(TRACE_VFIO_LOAD_STATE_DEVICE_BUFFER_LOAD_END)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 159 "../hw/vfio/trace-events"
            qemu_log("vfio_load_state_device_buffer_load_end " " (%s) idx %"PRIu32 "\n", name, idx);
#line 2540 "trace/trace-hw_vfio.h"
        }
    }
}

#define TRACE_VFIO_LOAD_STATE_DEVICE_BUFFER_END_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_VFIO_LOAD_STATE_DEVICE_BUFFER_END) || \
    false)

static inline void trace_vfio_load_state_device_buffer_end(const char *name)
{
    if (trace_event_get_state(TRACE_VFIO_LOAD_STATE_DEVICE_BUFFER_END)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 160 "../hw/vfio/trace-events"
            qemu_log("vfio_load_state_device_buffer_end " " (%s)" "\n", name);
#line 2555 "trace/trace-hw_vfio.h"
        }
    }
}

#define TRACE_VFIO_MIGRATION_REALIZE_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_VFIO_MIGRATION_REALIZE) || \
    false)

static inline void trace_vfio_migration_realize(const char *name)
{
    if (trace_event_get_state(TRACE_VFIO_MIGRATION_REALIZE)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 161 "../hw/vfio/trace-events"
            qemu_log("vfio_migration_realize " " (%s)" "\n", name);
#line 2570 "trace/trace-hw_vfio.h"
        }
    }
}

#define TRACE_VFIO_MIGRATION_SET_DEVICE_STATE_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_VFIO_MIGRATION_SET_DEVICE_STATE) || \
    false)

static inline void trace_vfio_migration_set_device_state(const char *name, const char *state)
{
    if (trace_event_get_state(TRACE_VFIO_MIGRATION_SET_DEVICE_STATE)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 162 "../hw/vfio/trace-events"
            qemu_log("vfio_migration_set_device_state " " (%s) state %s" "\n", name, state);
#line 2585 "trace/trace-hw_vfio.h"
        }
    }
}

#define TRACE_VFIO_MIGRATION_SET_STATE_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_VFIO_MIGRATION_SET_STATE) || \
    false)

static inline void trace_vfio_migration_set_state(const char *name, const char *new_state, const char *recover_state)
{
    if (trace_event_get_state(TRACE_VFIO_MIGRATION_SET_STATE)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 163 "../hw/vfio/trace-events"
            qemu_log("vfio_migration_set_state " " (%s) new state %s, recover state %s" "\n", name, new_state, recover_state);
#line 2600 "trace/trace-hw_vfio.h"
        }
    }
}

#define TRACE_VFIO_MIGRATION_STATE_NOTIFIER_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_VFIO_MIGRATION_STATE_NOTIFIER) || \
    false)

static inline void trace_vfio_migration_state_notifier(const char *name, int state)
{
    if (trace_event_get_state(TRACE_VFIO_MIGRATION_STATE_NOTIFIER)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 164 "../hw/vfio/trace-events"
            qemu_log("vfio_migration_state_notifier " " (%s) state %d" "\n", name, state);
#line 2615 "trace/trace-hw_vfio.h"
        }
    }
}

#define TRACE_VFIO_QUERY_PRECOPY_SIZE_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_VFIO_QUERY_PRECOPY_SIZE) || \
    false)

static inline void trace_vfio_query_precopy_size(const char *name, uint64_t init_size, uint64_t dirty_size, int ret)
{
    if (trace_event_get_state(TRACE_VFIO_QUERY_PRECOPY_SIZE)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 165 "../hw/vfio/trace-events"
            qemu_log("vfio_query_precopy_size " " (%s) init %"PRIu64" dirty %"PRIu64" ret %d" "\n", name, init_size, dirty_size, ret);
#line 2630 "trace/trace-hw_vfio.h"
        }
    }
}

#define TRACE_VFIO_QUERY_STOP_COPY_SIZE_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_VFIO_QUERY_STOP_COPY_SIZE) || \
    false)

static inline void trace_vfio_query_stop_copy_size(const char *name, uint64_t size, int ret)
{
    if (trace_event_get_state(TRACE_VFIO_QUERY_STOP_COPY_SIZE)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 166 "../hw/vfio/trace-events"
            qemu_log("vfio_query_stop_copy_size " " (%s) stopcopy size %"PRIu64" ret %d" "\n", name, size, ret);
#line 2645 "trace/trace-hw_vfio.h"
        }
    }
}

#define TRACE_VFIO_SAVE_BLOCK_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_VFIO_SAVE_BLOCK) || \
    false)

static inline void trace_vfio_save_block(const char *name, int data_size)
{
    if (trace_event_get_state(TRACE_VFIO_SAVE_BLOCK)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 167 "../hw/vfio/trace-events"
            qemu_log("vfio_save_block " " (%s) data_size %d" "\n", name, data_size);
#line 2660 "trace/trace-hw_vfio.h"
        }
    }
}

#define TRACE_VFIO_SAVE_BLOCK_PRECOPY_EMPTY_HIT_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_VFIO_SAVE_BLOCK_PRECOPY_EMPTY_HIT) || \
    false)

static inline void trace_vfio_save_block_precopy_empty_hit(const char *name)
{
    if (trace_event_get_state(TRACE_VFIO_SAVE_BLOCK_PRECOPY_EMPTY_HIT)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 168 "../hw/vfio/trace-events"
            qemu_log("vfio_save_block_precopy_empty_hit " " (%s)" "\n", name);
#line 2675 "trace/trace-hw_vfio.h"
        }
    }
}

#define TRACE_VFIO_SAVE_CLEANUP_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_VFIO_SAVE_CLEANUP) || \
    false)

static inline void trace_vfio_save_cleanup(const char *name)
{
    if (trace_event_get_state(TRACE_VFIO_SAVE_CLEANUP)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 169 "../hw/vfio/trace-events"
            qemu_log("vfio_save_cleanup " " (%s)" "\n", name);
#line 2690 "trace/trace-hw_vfio.h"
        }
    }
}

#define TRACE_VFIO_SAVE_COMPLETE_PRECOPY_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_VFIO_SAVE_COMPLETE_PRECOPY) || \
    false)

static inline void trace_vfio_save_complete_precopy(const char *name, int ret)
{
    if (trace_event_get_state(TRACE_VFIO_SAVE_COMPLETE_PRECOPY)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 170 "../hw/vfio/trace-events"
            qemu_log("vfio_save_complete_precopy " " (%s) ret %d" "\n", name, ret);
#line 2705 "trace/trace-hw_vfio.h"
        }
    }
}

#define TRACE_VFIO_SAVE_COMPLETE_PRECOPY_START_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_VFIO_SAVE_COMPLETE_PRECOPY_START) || \
    false)

static inline void trace_vfio_save_complete_precopy_start(const char *name)
{
    if (trace_event_get_state(TRACE_VFIO_SAVE_COMPLETE_PRECOPY_START)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 171 "../hw/vfio/trace-events"
            qemu_log("vfio_save_complete_precopy_start " " (%s)" "\n", name);
#line 2720 "trace/trace-hw_vfio.h"
        }
    }
}

#define TRACE_VFIO_SAVE_COMPLETE_PRECOPY_THREAD_START_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_VFIO_SAVE_COMPLETE_PRECOPY_THREAD_START) || \
    false)

static inline void trace_vfio_save_complete_precopy_thread_start(const char *name, const char *idstr, uint32_t instance_id)
{
    if (trace_event_get_state(TRACE_VFIO_SAVE_COMPLETE_PRECOPY_THREAD_START)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 172 "../hw/vfio/trace-events"
            qemu_log("vfio_save_complete_precopy_thread_start " " (%s) idstr %s instance %"PRIu32 "\n", name, idstr, instance_id);
#line 2735 "trace/trace-hw_vfio.h"
        }
    }
}

#define TRACE_VFIO_SAVE_COMPLETE_PRECOPY_THREAD_END_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_VFIO_SAVE_COMPLETE_PRECOPY_THREAD_END) || \
    false)

static inline void trace_vfio_save_complete_precopy_thread_end(const char *name, int ret)
{
    if (trace_event_get_state(TRACE_VFIO_SAVE_COMPLETE_PRECOPY_THREAD_END)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 173 "../hw/vfio/trace-events"
            qemu_log("vfio_save_complete_precopy_thread_end " " (%s) ret %d" "\n", name, ret);
#line 2750 "trace/trace-hw_vfio.h"
        }
    }
}

#define TRACE_VFIO_SAVE_DEVICE_CONFIG_STATE_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_VFIO_SAVE_DEVICE_CONFIG_STATE) || \
    false)

static inline void trace_vfio_save_device_config_state(const char *name)
{
    if (trace_event_get_state(TRACE_VFIO_SAVE_DEVICE_CONFIG_STATE)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 174 "../hw/vfio/trace-events"
            qemu_log("vfio_save_device_config_state " " (%s)" "\n", name);
#line 2765 "trace/trace-hw_vfio.h"
        }
    }
}

#define TRACE_VFIO_SAVE_ITERATE_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_VFIO_SAVE_ITERATE) || \
    false)

static inline void trace_vfio_save_iterate(const char *name, uint64_t precopy_init_size, uint64_t precopy_dirty_size)
{
    if (trace_event_get_state(TRACE_VFIO_SAVE_ITERATE)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 175 "../hw/vfio/trace-events"
            qemu_log("vfio_save_iterate " " (%s) precopy initial size %"PRIu64" precopy dirty size %"PRIu64 "\n", name, precopy_init_size, precopy_dirty_size);
#line 2780 "trace/trace-hw_vfio.h"
        }
    }
}

#define TRACE_VFIO_SAVE_ITERATE_START_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_VFIO_SAVE_ITERATE_START) || \
    false)

static inline void trace_vfio_save_iterate_start(const char *name)
{
    if (trace_event_get_state(TRACE_VFIO_SAVE_ITERATE_START)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 176 "../hw/vfio/trace-events"
            qemu_log("vfio_save_iterate_start " " (%s)" "\n", name);
#line 2795 "trace/trace-hw_vfio.h"
        }
    }
}

#define TRACE_VFIO_SAVE_SETUP_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_VFIO_SAVE_SETUP) || \
    false)

static inline void trace_vfio_save_setup(const char *name, uint64_t data_buffer_size)
{
    if (trace_event_get_state(TRACE_VFIO_SAVE_SETUP)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 177 "../hw/vfio/trace-events"
            qemu_log("vfio_save_setup " " (%s) data buffer size %"PRIu64 "\n", name, data_buffer_size);
#line 2810 "trace/trace-hw_vfio.h"
        }
    }
}

#define TRACE_VFIO_STATE_PENDING_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_VFIO_STATE_PENDING) || \
    false)

static inline void trace_vfio_state_pending(const char *name, uint64_t stopcopy_size, uint64_t precopy_init_size, uint64_t precopy_dirty_size, bool exact)
{
    if (trace_event_get_state(TRACE_VFIO_STATE_PENDING)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 178 "../hw/vfio/trace-events"
            qemu_log("vfio_state_pending " " (%s) stopcopy size %"PRIu64" precopy initial size %"PRIu64" precopy dirty size %"PRIu64 " exact %d" "\n", name, stopcopy_size, precopy_init_size, precopy_dirty_size, exact);
#line 2825 "trace/trace-hw_vfio.h"
        }
    }
}

#define TRACE_VFIO_VMSTATE_CHANGE_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_VFIO_VMSTATE_CHANGE) || \
    false)

static inline void trace_vfio_vmstate_change(const char *name, int running, const char *reason, const char *dev_state)
{
    if (trace_event_get_state(TRACE_VFIO_VMSTATE_CHANGE)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 179 "../hw/vfio/trace-events"
            qemu_log("vfio_vmstate_change " " (%s) running %d reason %s device state %s" "\n", name, running, reason, dev_state);
#line 2840 "trace/trace-hw_vfio.h"
        }
    }
}

#define TRACE_VFIO_VMSTATE_CHANGE_PREPARE_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_VFIO_VMSTATE_CHANGE_PREPARE) || \
    false)

static inline void trace_vfio_vmstate_change_prepare(const char *name, int running, const char *reason, const char *dev_state)
{
    if (trace_event_get_state(TRACE_VFIO_VMSTATE_CHANGE_PREPARE)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 180 "../hw/vfio/trace-events"
            qemu_log("vfio_vmstate_change_prepare " " (%s) running %d reason %s device state %s" "\n", name, running, reason, dev_state);
#line 2855 "trace/trace-hw_vfio.h"
        }
    }
}

#define TRACE_IOMMUFD_CDEV_CONNECT_AND_BIND_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_IOMMUFD_CDEV_CONNECT_AND_BIND) || \
    false)

static inline void trace_iommufd_cdev_connect_and_bind(int iommufd, const char *name, int devfd, int devid)
{
    if (trace_event_get_state(TRACE_IOMMUFD_CDEV_CONNECT_AND_BIND)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 184 "../hw/vfio/trace-events"
            qemu_log("iommufd_cdev_connect_and_bind " " [iommufd=%d] Successfully bound device %s (fd=%d): output devid=%d" "\n", iommufd, name, devfd, devid);
#line 2870 "trace/trace-hw_vfio.h"
        }
    }
}

#define TRACE_IOMMUFD_CDEV_GETFD_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_IOMMUFD_CDEV_GETFD) || \
    false)

static inline void trace_iommufd_cdev_getfd(const char *dev, int devfd)
{
    if (trace_event_get_state(TRACE_IOMMUFD_CDEV_GETFD)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 185 "../hw/vfio/trace-events"
            qemu_log("iommufd_cdev_getfd " " %s (fd=%d)" "\n", dev, devfd);
#line 2885 "trace/trace-hw_vfio.h"
        }
    }
}

#define TRACE_IOMMUFD_CDEV_ATTACH_IOAS_HWPT_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_IOMMUFD_CDEV_ATTACH_IOAS_HWPT) || \
    false)

static inline void trace_iommufd_cdev_attach_ioas_hwpt(int iommufd, const char *name, int devfd, int id)
{
    if (trace_event_get_state(TRACE_IOMMUFD_CDEV_ATTACH_IOAS_HWPT)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 186 "../hw/vfio/trace-events"
            qemu_log("iommufd_cdev_attach_ioas_hwpt " " [iommufd=%d] Successfully attached device %s (%d) to id=%d" "\n", iommufd, name, devfd, id);
#line 2900 "trace/trace-hw_vfio.h"
        }
    }
}

#define TRACE_IOMMUFD_CDEV_DETACH_IOAS_HWPT_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_IOMMUFD_CDEV_DETACH_IOAS_HWPT) || \
    false)

static inline void trace_iommufd_cdev_detach_ioas_hwpt(int iommufd, const char *name)
{
    if (trace_event_get_state(TRACE_IOMMUFD_CDEV_DETACH_IOAS_HWPT)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 187 "../hw/vfio/trace-events"
            qemu_log("iommufd_cdev_detach_ioas_hwpt " " [iommufd=%d] Successfully detached %s" "\n", iommufd, name);
#line 2915 "trace/trace-hw_vfio.h"
        }
    }
}

#define TRACE_IOMMUFD_CDEV_FAIL_ATTACH_EXISTING_CONTAINER_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_IOMMUFD_CDEV_FAIL_ATTACH_EXISTING_CONTAINER) || \
    false)

static inline void trace_iommufd_cdev_fail_attach_existing_container(const char *msg)
{
    if (trace_event_get_state(TRACE_IOMMUFD_CDEV_FAIL_ATTACH_EXISTING_CONTAINER)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 188 "../hw/vfio/trace-events"
            qemu_log("iommufd_cdev_fail_attach_existing_container " " %s" "\n", msg);
#line 2930 "trace/trace-hw_vfio.h"
        }
    }
}

#define TRACE_IOMMUFD_CDEV_ALLOC_IOAS_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_IOMMUFD_CDEV_ALLOC_IOAS) || \
    false)

static inline void trace_iommufd_cdev_alloc_ioas(int iommufd, int ioas_id)
{
    if (trace_event_get_state(TRACE_IOMMUFD_CDEV_ALLOC_IOAS)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 189 "../hw/vfio/trace-events"
            qemu_log("iommufd_cdev_alloc_ioas " " [iommufd=%d] new IOMMUFD container with ioasid=%d" "\n", iommufd, ioas_id);
#line 2945 "trace/trace-hw_vfio.h"
        }
    }
}

#define TRACE_IOMMUFD_CDEV_DEVICE_INFO_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_IOMMUFD_CDEV_DEVICE_INFO) || \
    false)

static inline void trace_iommufd_cdev_device_info(char *name, int devfd, int num_irqs, int num_regions, int flags)
{
    if (trace_event_get_state(TRACE_IOMMUFD_CDEV_DEVICE_INFO)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 190 "../hw/vfio/trace-events"
            qemu_log("iommufd_cdev_device_info " " %s (%d) num_irqs=%d num_regions=%d flags=%d" "\n", name, devfd, num_irqs, num_regions, flags);
#line 2960 "trace/trace-hw_vfio.h"
        }
    }
}

#define TRACE_IOMMUFD_CDEV_PCI_HOT_RESET_DEP_DEVICES_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_IOMMUFD_CDEV_PCI_HOT_RESET_DEP_DEVICES) || \
    false)

static inline void trace_iommufd_cdev_pci_hot_reset_dep_devices(int domain, int bus, int slot, int function, int dev_id)
{
    if (trace_event_get_state(TRACE_IOMMUFD_CDEV_PCI_HOT_RESET_DEP_DEVICES)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 191 "../hw/vfio/trace-events"
            qemu_log("iommufd_cdev_pci_hot_reset_dep_devices " "\t%04x:%02x:%02x.%x devid %d" "\n", domain, bus, slot, function, dev_id);
#line 2975 "trace/trace-hw_vfio.h"
        }
    }
}

#define TRACE_VFIO_CPR_FIND_DEVICE_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_VFIO_CPR_FIND_DEVICE) || \
    false)

static inline void trace_vfio_cpr_find_device(uint32_t ioas_id, int devid, uint32_t hwpt_id)
{
    if (trace_event_get_state(TRACE_VFIO_CPR_FIND_DEVICE)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 194 "../hw/vfio/trace-events"
            qemu_log("vfio_cpr_find_device " "ioas_id %u, devid %d, hwpt_id %u" "\n", ioas_id, devid, hwpt_id);
#line 2990 "trace/trace-hw_vfio.h"
        }
    }
}

#define TRACE_VFIO_DEVICE_GET_REGION_INFO_TYPE_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_VFIO_DEVICE_GET_REGION_INFO_TYPE) || \
    false)

static inline void trace_vfio_device_get_region_info_type(const char *name, int index, uint32_t type, uint32_t subtype)
{
    if (trace_event_get_state(TRACE_VFIO_DEVICE_GET_REGION_INFO_TYPE)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 197 "../hw/vfio/trace-events"
            qemu_log("vfio_device_get_region_info_type " "%s index %d, %08x/%08x" "\n", name, index, type, subtype);
#line 3005 "trace/trace-hw_vfio.h"
        }
    }
}

#define TRACE_VFIO_DEVICE_RESET_HANDLER_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_VFIO_DEVICE_RESET_HANDLER) || \
    false)

static inline void trace_vfio_device_reset_handler(void)
{
    if (trace_event_get_state(TRACE_VFIO_DEVICE_RESET_HANDLER)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 198 "../hw/vfio/trace-events"
            qemu_log("vfio_device_reset_handler " "" "\n");
#line 3020 "trace/trace-hw_vfio.h"
        }
    }
}

#define TRACE_VFIO_DEVICE_ATTACH_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_VFIO_DEVICE_ATTACH) || \
    false)

static inline void trace_vfio_device_attach(const char *name, int group_id)
{
    if (trace_event_get_state(TRACE_VFIO_DEVICE_ATTACH)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 199 "../hw/vfio/trace-events"
            qemu_log("vfio_device_attach " " (%s) group %d" "\n", name, group_id);
#line 3035 "trace/trace-hw_vfio.h"
        }
    }
}

#define TRACE_VFIO_DEVICE_DETACH_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_VFIO_DEVICE_DETACH) || \
    false)

static inline void trace_vfio_device_detach(const char *name, int group_id)
{
    if (trace_event_get_state(TRACE_VFIO_DEVICE_DETACH)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 200 "../hw/vfio/trace-events"
            qemu_log("vfio_device_detach " " (%s) group %d" "\n", name, group_id);
#line 3050 "trace/trace-hw_vfio.h"
        }
    }
}
#endif /* TRACE_HW_VFIO_GENERATED_TRACERS_H */
