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

#ifndef TRACE_BACKENDS_GENERATED_TRACERS_H
#define TRACE_BACKENDS_GENERATED_TRACERS_H

#include "trace/control.h"

extern TraceEvent _TRACE_DBUS_VMSTATE_PRE_SAVE_EVENT;
extern TraceEvent _TRACE_DBUS_VMSTATE_POST_LOAD_EVENT;
extern TraceEvent _TRACE_DBUS_VMSTATE_LOADING_EVENT;
extern TraceEvent _TRACE_DBUS_VMSTATE_SAVING_EVENT;
extern TraceEvent _TRACE_IOMMUFD_CHANGE_PROCESS_EVENT;
extern TraceEvent _TRACE_IOMMUFD_BACKEND_CONNECT_EVENT;
extern TraceEvent _TRACE_IOMMUFD_BACKEND_DISCONNECT_EVENT;
extern TraceEvent _TRACE_IOMMU_BACKEND_SET_FD_EVENT;
extern TraceEvent _TRACE_IOMMUFD_BACKEND_MAP_DMA_EVENT;
extern TraceEvent _TRACE_IOMMUFD_BACKEND_MAP_FILE_DMA_EVENT;
extern TraceEvent _TRACE_IOMMUFD_BACKEND_UNMAP_DMA_NON_EXIST_EVENT;
extern TraceEvent _TRACE_IOMMUFD_BACKEND_UNMAP_DMA_EVENT;
extern TraceEvent _TRACE_IOMMUFD_BACKEND_ALLOC_IOAS_EVENT;
extern TraceEvent _TRACE_IOMMUFD_BACKEND_ALLOC_HWPT_EVENT;
extern TraceEvent _TRACE_IOMMUFD_BACKEND_FREE_ID_EVENT;
extern TraceEvent _TRACE_IOMMUFD_BACKEND_SET_DIRTY_EVENT;
extern TraceEvent _TRACE_IOMMUFD_BACKEND_GET_DIRTY_BITMAP_EVENT;
extern TraceEvent _TRACE_IOMMUFD_BACKEND_INVALIDATE_CACHE_EVENT;
extern TraceEvent _TRACE_IOMMUFD_BACKEND_ALLOC_VIOMMU_EVENT;
extern TraceEvent _TRACE_IOMMUFD_BACKEND_ALLOC_VDEV_EVENT;
extern TraceEvent _TRACE_IOMMUFD_VIOMMU_ALLOC_EVENTQ_EVENT;
extern TraceEvent _TRACE_IGVM_RESET_ENTER_EVENT;
extern TraceEvent _TRACE_IGVM_RESET_HOLD_EVENT;
extern TraceEvent _TRACE_IGVM_RESET_EXIT_EVENT;
extern TraceEvent _TRACE_IGVM_FILE_LOADED_EVENT;
extern TraceEvent _TRACE_IGVM_PROCESS_FILE_EVENT;
extern uint16_t _TRACE_DBUS_VMSTATE_PRE_SAVE_DSTATE;
extern uint16_t _TRACE_DBUS_VMSTATE_POST_LOAD_DSTATE;
extern uint16_t _TRACE_DBUS_VMSTATE_LOADING_DSTATE;
extern uint16_t _TRACE_DBUS_VMSTATE_SAVING_DSTATE;
extern uint16_t _TRACE_IOMMUFD_CHANGE_PROCESS_DSTATE;
extern uint16_t _TRACE_IOMMUFD_BACKEND_CONNECT_DSTATE;
extern uint16_t _TRACE_IOMMUFD_BACKEND_DISCONNECT_DSTATE;
extern uint16_t _TRACE_IOMMU_BACKEND_SET_FD_DSTATE;
extern uint16_t _TRACE_IOMMUFD_BACKEND_MAP_DMA_DSTATE;
extern uint16_t _TRACE_IOMMUFD_BACKEND_MAP_FILE_DMA_DSTATE;
extern uint16_t _TRACE_IOMMUFD_BACKEND_UNMAP_DMA_NON_EXIST_DSTATE;
extern uint16_t _TRACE_IOMMUFD_BACKEND_UNMAP_DMA_DSTATE;
extern uint16_t _TRACE_IOMMUFD_BACKEND_ALLOC_IOAS_DSTATE;
extern uint16_t _TRACE_IOMMUFD_BACKEND_ALLOC_HWPT_DSTATE;
extern uint16_t _TRACE_IOMMUFD_BACKEND_FREE_ID_DSTATE;
extern uint16_t _TRACE_IOMMUFD_BACKEND_SET_DIRTY_DSTATE;
extern uint16_t _TRACE_IOMMUFD_BACKEND_GET_DIRTY_BITMAP_DSTATE;
extern uint16_t _TRACE_IOMMUFD_BACKEND_INVALIDATE_CACHE_DSTATE;
extern uint16_t _TRACE_IOMMUFD_BACKEND_ALLOC_VIOMMU_DSTATE;
extern uint16_t _TRACE_IOMMUFD_BACKEND_ALLOC_VDEV_DSTATE;
extern uint16_t _TRACE_IOMMUFD_VIOMMU_ALLOC_EVENTQ_DSTATE;
extern uint16_t _TRACE_IGVM_RESET_ENTER_DSTATE;
extern uint16_t _TRACE_IGVM_RESET_HOLD_DSTATE;
extern uint16_t _TRACE_IGVM_RESET_EXIT_DSTATE;
extern uint16_t _TRACE_IGVM_FILE_LOADED_DSTATE;
extern uint16_t _TRACE_IGVM_PROCESS_FILE_DSTATE;
#define TRACE_DBUS_VMSTATE_PRE_SAVE_ENABLED 1
#define TRACE_DBUS_VMSTATE_POST_LOAD_ENABLED 1
#define TRACE_DBUS_VMSTATE_LOADING_ENABLED 1
#define TRACE_DBUS_VMSTATE_SAVING_ENABLED 1
#define TRACE_IOMMUFD_CHANGE_PROCESS_ENABLED 1
#define TRACE_IOMMUFD_BACKEND_CONNECT_ENABLED 1
#define TRACE_IOMMUFD_BACKEND_DISCONNECT_ENABLED 1
#define TRACE_IOMMU_BACKEND_SET_FD_ENABLED 1
#define TRACE_IOMMUFD_BACKEND_MAP_DMA_ENABLED 1
#define TRACE_IOMMUFD_BACKEND_MAP_FILE_DMA_ENABLED 1
#define TRACE_IOMMUFD_BACKEND_UNMAP_DMA_NON_EXIST_ENABLED 1
#define TRACE_IOMMUFD_BACKEND_UNMAP_DMA_ENABLED 1
#define TRACE_IOMMUFD_BACKEND_ALLOC_IOAS_ENABLED 1
#define TRACE_IOMMUFD_BACKEND_ALLOC_HWPT_ENABLED 1
#define TRACE_IOMMUFD_BACKEND_FREE_ID_ENABLED 1
#define TRACE_IOMMUFD_BACKEND_SET_DIRTY_ENABLED 1
#define TRACE_IOMMUFD_BACKEND_GET_DIRTY_BITMAP_ENABLED 1
#define TRACE_IOMMUFD_BACKEND_INVALIDATE_CACHE_ENABLED 1
#define TRACE_IOMMUFD_BACKEND_ALLOC_VIOMMU_ENABLED 1
#define TRACE_IOMMUFD_BACKEND_ALLOC_VDEV_ENABLED 1
#define TRACE_IOMMUFD_VIOMMU_ALLOC_EVENTQ_ENABLED 1
#define TRACE_IGVM_RESET_ENTER_ENABLED 1
#define TRACE_IGVM_RESET_HOLD_ENABLED 1
#define TRACE_IGVM_RESET_EXIT_ENABLED 1
#define TRACE_IGVM_FILE_LOADED_ENABLED 1
#define TRACE_IGVM_PROCESS_FILE_ENABLED 1
#include "qemu/log-for-trace.h"


#define TRACE_DBUS_VMSTATE_PRE_SAVE_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_DBUS_VMSTATE_PRE_SAVE) || \
    false)

static inline void trace_dbus_vmstate_pre_save(void)
{
    if (trace_event_get_state(TRACE_DBUS_VMSTATE_PRE_SAVE)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 4 "../backends/trace-events"
            qemu_log("dbus_vmstate_pre_save "  "\n");
#line 101 "trace/trace-backends.h"
        }
    }
}

#define TRACE_DBUS_VMSTATE_POST_LOAD_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_DBUS_VMSTATE_POST_LOAD) || \
    false)

static inline void trace_dbus_vmstate_post_load(int version_id)
{
    if (trace_event_get_state(TRACE_DBUS_VMSTATE_POST_LOAD)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 5 "../backends/trace-events"
            qemu_log("dbus_vmstate_post_load " "version_id: %d" "\n", version_id);
#line 116 "trace/trace-backends.h"
        }
    }
}

#define TRACE_DBUS_VMSTATE_LOADING_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_DBUS_VMSTATE_LOADING) || \
    false)

static inline void trace_dbus_vmstate_loading(const char *id)
{
    if (trace_event_get_state(TRACE_DBUS_VMSTATE_LOADING)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 6 "../backends/trace-events"
            qemu_log("dbus_vmstate_loading " "id: %s" "\n", id);
#line 131 "trace/trace-backends.h"
        }
    }
}

#define TRACE_DBUS_VMSTATE_SAVING_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_DBUS_VMSTATE_SAVING) || \
    false)

static inline void trace_dbus_vmstate_saving(const char *id)
{
    if (trace_event_get_state(TRACE_DBUS_VMSTATE_SAVING)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 7 "../backends/trace-events"
            qemu_log("dbus_vmstate_saving " "id: %s" "\n", id);
#line 146 "trace/trace-backends.h"
        }
    }
}

#define TRACE_IOMMUFD_CHANGE_PROCESS_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_IOMMUFD_CHANGE_PROCESS) || \
    false)

static inline void trace_iommufd_change_process(int fd, bool ret)
{
    if (trace_event_get_state(TRACE_IOMMUFD_CHANGE_PROCESS)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 10 "../backends/trace-events"
            qemu_log("iommufd_change_process " "fd=%d (%d)" "\n", fd, ret);
#line 161 "trace/trace-backends.h"
        }
    }
}

#define TRACE_IOMMUFD_BACKEND_CONNECT_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_IOMMUFD_BACKEND_CONNECT) || \
    false)

static inline void trace_iommufd_backend_connect(int fd, bool owned, uint32_t users)
{
    if (trace_event_get_state(TRACE_IOMMUFD_BACKEND_CONNECT)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 11 "../backends/trace-events"
            qemu_log("iommufd_backend_connect " "fd=%d owned=%d users=%d" "\n", fd, owned, users);
#line 176 "trace/trace-backends.h"
        }
    }
}

#define TRACE_IOMMUFD_BACKEND_DISCONNECT_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_IOMMUFD_BACKEND_DISCONNECT) || \
    false)

static inline void trace_iommufd_backend_disconnect(int fd, uint32_t users)
{
    if (trace_event_get_state(TRACE_IOMMUFD_BACKEND_DISCONNECT)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 12 "../backends/trace-events"
            qemu_log("iommufd_backend_disconnect " "fd=%d users=%d" "\n", fd, users);
#line 191 "trace/trace-backends.h"
        }
    }
}

#define TRACE_IOMMU_BACKEND_SET_FD_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_IOMMU_BACKEND_SET_FD) || \
    false)

static inline void trace_iommu_backend_set_fd(int fd)
{
    if (trace_event_get_state(TRACE_IOMMU_BACKEND_SET_FD)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 13 "../backends/trace-events"
            qemu_log("iommu_backend_set_fd " "pre-opened /dev/iommu fd=%d" "\n", fd);
#line 206 "trace/trace-backends.h"
        }
    }
}

#define TRACE_IOMMUFD_BACKEND_MAP_DMA_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_IOMMUFD_BACKEND_MAP_DMA) || \
    false)

static inline void trace_iommufd_backend_map_dma(int iommufd, uint32_t ioas, uint64_t iova, uint64_t size, void *vaddr, bool readonly, int ret)
{
    if (trace_event_get_state(TRACE_IOMMUFD_BACKEND_MAP_DMA)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 14 "../backends/trace-events"
            qemu_log("iommufd_backend_map_dma " " iommufd=%d ioas=%d iova=0x%"PRIx64" size=0x%"PRIx64" addr=%p readonly=%d (%d)" "\n", iommufd, ioas, iova, size, vaddr, readonly, ret);
#line 221 "trace/trace-backends.h"
        }
    }
}

#define TRACE_IOMMUFD_BACKEND_MAP_FILE_DMA_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_IOMMUFD_BACKEND_MAP_FILE_DMA) || \
    false)

static inline void trace_iommufd_backend_map_file_dma(int iommufd, uint32_t ioas, uint64_t iova, uint64_t size, int fd, unsigned long start, bool readonly, int ret)
{
    if (trace_event_get_state(TRACE_IOMMUFD_BACKEND_MAP_FILE_DMA)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 15 "../backends/trace-events"
            qemu_log("iommufd_backend_map_file_dma " " iommufd=%d ioas=%d iova=0x%"PRIx64" size=0x%"PRIx64" fd=%d start=%ld readonly=%d (%d)" "\n", iommufd, ioas, iova, size, fd, start, readonly, ret);
#line 236 "trace/trace-backends.h"
        }
    }
}

#define TRACE_IOMMUFD_BACKEND_UNMAP_DMA_NON_EXIST_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_IOMMUFD_BACKEND_UNMAP_DMA_NON_EXIST) || \
    false)

static inline void trace_iommufd_backend_unmap_dma_non_exist(int iommufd, uint32_t ioas, uint64_t iova, uint64_t size, int ret)
{
    if (trace_event_get_state(TRACE_IOMMUFD_BACKEND_UNMAP_DMA_NON_EXIST)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 16 "../backends/trace-events"
            qemu_log("iommufd_backend_unmap_dma_non_exist " " Unmap nonexistent mapping: iommufd=%d ioas=%d iova=0x%"PRIx64" size=0x%"PRIx64" (%d)" "\n", iommufd, ioas, iova, size, ret);
#line 251 "trace/trace-backends.h"
        }
    }
}

#define TRACE_IOMMUFD_BACKEND_UNMAP_DMA_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_IOMMUFD_BACKEND_UNMAP_DMA) || \
    false)

static inline void trace_iommufd_backend_unmap_dma(int iommufd, uint32_t ioas, uint64_t iova, uint64_t size, int ret)
{
    if (trace_event_get_state(TRACE_IOMMUFD_BACKEND_UNMAP_DMA)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 17 "../backends/trace-events"
            qemu_log("iommufd_backend_unmap_dma " " iommufd=%d ioas=%d iova=0x%"PRIx64" size=0x%"PRIx64" (%d)" "\n", iommufd, ioas, iova, size, ret);
#line 266 "trace/trace-backends.h"
        }
    }
}

#define TRACE_IOMMUFD_BACKEND_ALLOC_IOAS_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_IOMMUFD_BACKEND_ALLOC_IOAS) || \
    false)

static inline void trace_iommufd_backend_alloc_ioas(int iommufd, uint32_t ioas)
{
    if (trace_event_get_state(TRACE_IOMMUFD_BACKEND_ALLOC_IOAS)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 18 "../backends/trace-events"
            qemu_log("iommufd_backend_alloc_ioas " " iommufd=%d ioas=%d" "\n", iommufd, ioas);
#line 281 "trace/trace-backends.h"
        }
    }
}

#define TRACE_IOMMUFD_BACKEND_ALLOC_HWPT_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_IOMMUFD_BACKEND_ALLOC_HWPT) || \
    false)

static inline void trace_iommufd_backend_alloc_hwpt(int iommufd, uint32_t dev_id, uint32_t pt_id, uint32_t flags, uint32_t hwpt_type, uint32_t len, uint64_t data_ptr, uint32_t out_hwpt_id, int ret)
{
    if (trace_event_get_state(TRACE_IOMMUFD_BACKEND_ALLOC_HWPT)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 19 "../backends/trace-events"
            qemu_log("iommufd_backend_alloc_hwpt " " iommufd=%d dev_id=%u pt_id=%u flags=0x%x hwpt_type=%u len=%u data_ptr=0x%"PRIx64" out_hwpt=%u (%d)" "\n", iommufd, dev_id, pt_id, flags, hwpt_type, len, data_ptr, out_hwpt_id, ret);
#line 296 "trace/trace-backends.h"
        }
    }
}

#define TRACE_IOMMUFD_BACKEND_FREE_ID_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_IOMMUFD_BACKEND_FREE_ID) || \
    false)

static inline void trace_iommufd_backend_free_id(int iommufd, uint32_t id, int ret)
{
    if (trace_event_get_state(TRACE_IOMMUFD_BACKEND_FREE_ID)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 20 "../backends/trace-events"
            qemu_log("iommufd_backend_free_id " " iommufd=%d id=%d (%d)" "\n", iommufd, id, ret);
#line 311 "trace/trace-backends.h"
        }
    }
}

#define TRACE_IOMMUFD_BACKEND_SET_DIRTY_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_IOMMUFD_BACKEND_SET_DIRTY) || \
    false)

static inline void trace_iommufd_backend_set_dirty(int iommufd, uint32_t hwpt_id, bool start, int ret)
{
    if (trace_event_get_state(TRACE_IOMMUFD_BACKEND_SET_DIRTY)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 21 "../backends/trace-events"
            qemu_log("iommufd_backend_set_dirty " " iommufd=%d hwpt=%u enable=%d (%d)" "\n", iommufd, hwpt_id, start, ret);
#line 326 "trace/trace-backends.h"
        }
    }
}

#define TRACE_IOMMUFD_BACKEND_GET_DIRTY_BITMAP_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_IOMMUFD_BACKEND_GET_DIRTY_BITMAP) || \
    false)

static inline void trace_iommufd_backend_get_dirty_bitmap(int iommufd, uint32_t hwpt_id, uint64_t iova, uint64_t size, uint64_t flags, uint64_t page_size, int ret)
{
    if (trace_event_get_state(TRACE_IOMMUFD_BACKEND_GET_DIRTY_BITMAP)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 22 "../backends/trace-events"
            qemu_log("iommufd_backend_get_dirty_bitmap " " iommufd=%d hwpt=%u iova=0x%"PRIx64" size=0x%"PRIx64" flags=0x%"PRIx64" page_size=0x%"PRIx64" (%d)" "\n", iommufd, hwpt_id, iova, size, flags, page_size, ret);
#line 341 "trace/trace-backends.h"
        }
    }
}

#define TRACE_IOMMUFD_BACKEND_INVALIDATE_CACHE_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_IOMMUFD_BACKEND_INVALIDATE_CACHE) || \
    false)

static inline void trace_iommufd_backend_invalidate_cache(int iommufd, uint32_t id, uint32_t data_type, uint32_t entry_len, uint32_t entry_num, uint32_t done_num, uint64_t data_ptr, int ret)
{
    if (trace_event_get_state(TRACE_IOMMUFD_BACKEND_INVALIDATE_CACHE)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 23 "../backends/trace-events"
            qemu_log("iommufd_backend_invalidate_cache " " iommufd=%d id=%u data_type=%u entry_len=%u entry_num=%u done_num=%u data_ptr=0x%"PRIx64" (%d)" "\n", iommufd, id, data_type, entry_len, entry_num, done_num, data_ptr, ret);
#line 356 "trace/trace-backends.h"
        }
    }
}

#define TRACE_IOMMUFD_BACKEND_ALLOC_VIOMMU_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_IOMMUFD_BACKEND_ALLOC_VIOMMU) || \
    false)

static inline void trace_iommufd_backend_alloc_viommu(int iommufd, uint32_t dev_id, uint32_t type, uint32_t hwpt_id, uint32_t viommu_id, int ret)
{
    if (trace_event_get_state(TRACE_IOMMUFD_BACKEND_ALLOC_VIOMMU)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 24 "../backends/trace-events"
            qemu_log("iommufd_backend_alloc_viommu " " iommufd=%d type=%u dev_id=%u hwpt_id=%u viommu_id=%u (%d)" "\n", iommufd, dev_id, type, hwpt_id, viommu_id, ret);
#line 371 "trace/trace-backends.h"
        }
    }
}

#define TRACE_IOMMUFD_BACKEND_ALLOC_VDEV_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_IOMMUFD_BACKEND_ALLOC_VDEV) || \
    false)

static inline void trace_iommufd_backend_alloc_vdev(int iommufd, uint32_t dev_id, uint32_t viommu_id, uint64_t virt_id, uint32_t vdev_id, int ret)
{
    if (trace_event_get_state(TRACE_IOMMUFD_BACKEND_ALLOC_VDEV)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 25 "../backends/trace-events"
            qemu_log("iommufd_backend_alloc_vdev " " iommufd=%d dev_id=%u viommu_id=%u virt_id=0x%"PRIx64" vdev_id=%u (%d)" "\n", iommufd, dev_id, viommu_id, virt_id, vdev_id, ret);
#line 386 "trace/trace-backends.h"
        }
    }
}

#define TRACE_IOMMUFD_VIOMMU_ALLOC_EVENTQ_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_IOMMUFD_VIOMMU_ALLOC_EVENTQ) || \
    false)

static inline void trace_iommufd_viommu_alloc_eventq(int iommufd, uint32_t viommu_id, uint32_t type, uint32_t veventq_id, uint32_t veventq_fd, int ret)
{
    if (trace_event_get_state(TRACE_IOMMUFD_VIOMMU_ALLOC_EVENTQ)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 26 "../backends/trace-events"
            qemu_log("iommufd_viommu_alloc_eventq " " iommufd=%d viommu_id=%u type=%u veventq_id=%u veventq_fd=%u (%d)" "\n", iommufd, viommu_id, type, veventq_id, veventq_fd, ret);
#line 401 "trace/trace-backends.h"
        }
    }
}

#define TRACE_IGVM_RESET_ENTER_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_IGVM_RESET_ENTER) || \
    false)

static inline void trace_igvm_reset_enter(int type)
{
    if (trace_event_get_state(TRACE_IGVM_RESET_ENTER)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 29 "../backends/trace-events"
            qemu_log("igvm_reset_enter " "type=%u" "\n", type);
#line 416 "trace/trace-backends.h"
        }
    }
}

#define TRACE_IGVM_RESET_HOLD_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_IGVM_RESET_HOLD) || \
    false)

static inline void trace_igvm_reset_hold(int type)
{
    if (trace_event_get_state(TRACE_IGVM_RESET_HOLD)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 30 "../backends/trace-events"
            qemu_log("igvm_reset_hold " "type=%u" "\n", type);
#line 431 "trace/trace-backends.h"
        }
    }
}

#define TRACE_IGVM_RESET_EXIT_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_IGVM_RESET_EXIT) || \
    false)

static inline void trace_igvm_reset_exit(int type)
{
    if (trace_event_get_state(TRACE_IGVM_RESET_EXIT)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 31 "../backends/trace-events"
            qemu_log("igvm_reset_exit " "type=%u" "\n", type);
#line 446 "trace/trace-backends.h"
        }
    }
}

#define TRACE_IGVM_FILE_LOADED_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_IGVM_FILE_LOADED) || \
    false)

static inline void trace_igvm_file_loaded(const char *fn, int32_t handle)
{
    if (trace_event_get_state(TRACE_IGVM_FILE_LOADED)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 32 "../backends/trace-events"
            qemu_log("igvm_file_loaded " "fn=%s, handle=0x%x" "\n", fn, handle);
#line 461 "trace/trace-backends.h"
        }
    }
}

#define TRACE_IGVM_PROCESS_FILE_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_IGVM_PROCESS_FILE) || \
    false)

static inline void trace_igvm_process_file(int32_t handle, bool context_only)
{
    if (trace_event_get_state(TRACE_IGVM_PROCESS_FILE)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 33 "../backends/trace-events"
            qemu_log("igvm_process_file " "handle=0x%x context-only=%d" "\n", handle, context_only);
#line 476 "trace/trace-backends.h"
        }
    }
}
#endif /* TRACE_BACKENDS_GENERATED_TRACERS_H */
