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

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

uint16_t _TRACE_MSHV_START_VCPU_THREAD_DSTATE;
uint16_t _TRACE_MSHV_SET_MEMORY_DSTATE;
uint16_t _TRACE_MSHV_MEM_IOEVENTFD_ADD_DSTATE;
uint16_t _TRACE_MSHV_MEM_IOEVENTFD_DEL_DSTATE;
uint16_t _TRACE_MSHV_HVCALL_ARGS_DSTATE;
uint16_t _TRACE_MSHV_HANDLE_INTERRUPT_DSTATE;
uint16_t _TRACE_MSHV_SET_MSI_ROUTING_DSTATE;
uint16_t _TRACE_MSHV_REMOVE_MSI_ROUTING_DSTATE;
uint16_t _TRACE_MSHV_ADD_MSI_ROUTING_DSTATE;
uint16_t _TRACE_MSHV_COMMIT_MSI_ROUTING_TABLE_DSTATE;
uint16_t _TRACE_MSHV_REGISTER_IRQFD_DSTATE;
uint16_t _TRACE_MSHV_IRQCHIP_UPDATE_IRQFD_NOTIFIER_GSI_DSTATE;
uint16_t _TRACE_MSHV_INSN_FETCH_DSTATE;
uint16_t _TRACE_MSHV_MEM_WRITE_DSTATE;
uint16_t _TRACE_MSHV_MEM_READ_DSTATE;
uint16_t _TRACE_MSHV_MAP_MEMORY_DSTATE;
uint16_t _TRACE_MSHV_UNMAP_MEMORY_DSTATE;
uint16_t _TRACE_MSHV_SET_PHYS_MEM_DSTATE;
uint16_t _TRACE_MSHV_HANDLE_MMIO_DSTATE;
TraceEvent _TRACE_MSHV_START_VCPU_THREAD_EVENT = {
    .id = 0,
    .name = "mshv_start_vcpu_thread",
    .sstate = TRACE_MSHV_START_VCPU_THREAD_ENABLED,
    .dstate = &_TRACE_MSHV_START_VCPU_THREAD_DSTATE
};
TraceEvent _TRACE_MSHV_SET_MEMORY_EVENT = {
    .id = 0,
    .name = "mshv_set_memory",
    .sstate = TRACE_MSHV_SET_MEMORY_ENABLED,
    .dstate = &_TRACE_MSHV_SET_MEMORY_DSTATE
};
TraceEvent _TRACE_MSHV_MEM_IOEVENTFD_ADD_EVENT = {
    .id = 0,
    .name = "mshv_mem_ioeventfd_add",
    .sstate = TRACE_MSHV_MEM_IOEVENTFD_ADD_ENABLED,
    .dstate = &_TRACE_MSHV_MEM_IOEVENTFD_ADD_DSTATE
};
TraceEvent _TRACE_MSHV_MEM_IOEVENTFD_DEL_EVENT = {
    .id = 0,
    .name = "mshv_mem_ioeventfd_del",
    .sstate = TRACE_MSHV_MEM_IOEVENTFD_DEL_ENABLED,
    .dstate = &_TRACE_MSHV_MEM_IOEVENTFD_DEL_DSTATE
};
TraceEvent _TRACE_MSHV_HVCALL_ARGS_EVENT = {
    .id = 0,
    .name = "mshv_hvcall_args",
    .sstate = TRACE_MSHV_HVCALL_ARGS_ENABLED,
    .dstate = &_TRACE_MSHV_HVCALL_ARGS_DSTATE
};
TraceEvent _TRACE_MSHV_HANDLE_INTERRUPT_EVENT = {
    .id = 0,
    .name = "mshv_handle_interrupt",
    .sstate = TRACE_MSHV_HANDLE_INTERRUPT_ENABLED,
    .dstate = &_TRACE_MSHV_HANDLE_INTERRUPT_DSTATE
};
TraceEvent _TRACE_MSHV_SET_MSI_ROUTING_EVENT = {
    .id = 0,
    .name = "mshv_set_msi_routing",
    .sstate = TRACE_MSHV_SET_MSI_ROUTING_ENABLED,
    .dstate = &_TRACE_MSHV_SET_MSI_ROUTING_DSTATE
};
TraceEvent _TRACE_MSHV_REMOVE_MSI_ROUTING_EVENT = {
    .id = 0,
    .name = "mshv_remove_msi_routing",
    .sstate = TRACE_MSHV_REMOVE_MSI_ROUTING_ENABLED,
    .dstate = &_TRACE_MSHV_REMOVE_MSI_ROUTING_DSTATE
};
TraceEvent _TRACE_MSHV_ADD_MSI_ROUTING_EVENT = {
    .id = 0,
    .name = "mshv_add_msi_routing",
    .sstate = TRACE_MSHV_ADD_MSI_ROUTING_ENABLED,
    .dstate = &_TRACE_MSHV_ADD_MSI_ROUTING_DSTATE
};
TraceEvent _TRACE_MSHV_COMMIT_MSI_ROUTING_TABLE_EVENT = {
    .id = 0,
    .name = "mshv_commit_msi_routing_table",
    .sstate = TRACE_MSHV_COMMIT_MSI_ROUTING_TABLE_ENABLED,
    .dstate = &_TRACE_MSHV_COMMIT_MSI_ROUTING_TABLE_DSTATE
};
TraceEvent _TRACE_MSHV_REGISTER_IRQFD_EVENT = {
    .id = 0,
    .name = "mshv_register_irqfd",
    .sstate = TRACE_MSHV_REGISTER_IRQFD_ENABLED,
    .dstate = &_TRACE_MSHV_REGISTER_IRQFD_DSTATE
};
TraceEvent _TRACE_MSHV_IRQCHIP_UPDATE_IRQFD_NOTIFIER_GSI_EVENT = {
    .id = 0,
    .name = "mshv_irqchip_update_irqfd_notifier_gsi",
    .sstate = TRACE_MSHV_IRQCHIP_UPDATE_IRQFD_NOTIFIER_GSI_ENABLED,
    .dstate = &_TRACE_MSHV_IRQCHIP_UPDATE_IRQFD_NOTIFIER_GSI_DSTATE
};
TraceEvent _TRACE_MSHV_INSN_FETCH_EVENT = {
    .id = 0,
    .name = "mshv_insn_fetch",
    .sstate = TRACE_MSHV_INSN_FETCH_ENABLED,
    .dstate = &_TRACE_MSHV_INSN_FETCH_DSTATE
};
TraceEvent _TRACE_MSHV_MEM_WRITE_EVENT = {
    .id = 0,
    .name = "mshv_mem_write",
    .sstate = TRACE_MSHV_MEM_WRITE_ENABLED,
    .dstate = &_TRACE_MSHV_MEM_WRITE_DSTATE
};
TraceEvent _TRACE_MSHV_MEM_READ_EVENT = {
    .id = 0,
    .name = "mshv_mem_read",
    .sstate = TRACE_MSHV_MEM_READ_ENABLED,
    .dstate = &_TRACE_MSHV_MEM_READ_DSTATE
};
TraceEvent _TRACE_MSHV_MAP_MEMORY_EVENT = {
    .id = 0,
    .name = "mshv_map_memory",
    .sstate = TRACE_MSHV_MAP_MEMORY_ENABLED,
    .dstate = &_TRACE_MSHV_MAP_MEMORY_DSTATE
};
TraceEvent _TRACE_MSHV_UNMAP_MEMORY_EVENT = {
    .id = 0,
    .name = "mshv_unmap_memory",
    .sstate = TRACE_MSHV_UNMAP_MEMORY_ENABLED,
    .dstate = &_TRACE_MSHV_UNMAP_MEMORY_DSTATE
};
TraceEvent _TRACE_MSHV_SET_PHYS_MEM_EVENT = {
    .id = 0,
    .name = "mshv_set_phys_mem",
    .sstate = TRACE_MSHV_SET_PHYS_MEM_ENABLED,
    .dstate = &_TRACE_MSHV_SET_PHYS_MEM_DSTATE
};
TraceEvent _TRACE_MSHV_HANDLE_MMIO_EVENT = {
    .id = 0,
    .name = "mshv_handle_mmio",
    .sstate = TRACE_MSHV_HANDLE_MMIO_ENABLED,
    .dstate = &_TRACE_MSHV_HANDLE_MMIO_DSTATE
};
TraceEvent *accel_mshv_trace_events[] = {
    &_TRACE_MSHV_START_VCPU_THREAD_EVENT,
    &_TRACE_MSHV_SET_MEMORY_EVENT,
    &_TRACE_MSHV_MEM_IOEVENTFD_ADD_EVENT,
    &_TRACE_MSHV_MEM_IOEVENTFD_DEL_EVENT,
    &_TRACE_MSHV_HVCALL_ARGS_EVENT,
    &_TRACE_MSHV_HANDLE_INTERRUPT_EVENT,
    &_TRACE_MSHV_SET_MSI_ROUTING_EVENT,
    &_TRACE_MSHV_REMOVE_MSI_ROUTING_EVENT,
    &_TRACE_MSHV_ADD_MSI_ROUTING_EVENT,
    &_TRACE_MSHV_COMMIT_MSI_ROUTING_TABLE_EVENT,
    &_TRACE_MSHV_REGISTER_IRQFD_EVENT,
    &_TRACE_MSHV_IRQCHIP_UPDATE_IRQFD_NOTIFIER_GSI_EVENT,
    &_TRACE_MSHV_INSN_FETCH_EVENT,
    &_TRACE_MSHV_MEM_WRITE_EVENT,
    &_TRACE_MSHV_MEM_READ_EVENT,
    &_TRACE_MSHV_MAP_MEMORY_EVENT,
    &_TRACE_MSHV_UNMAP_MEMORY_EVENT,
    &_TRACE_MSHV_SET_PHYS_MEM_EVENT,
    &_TRACE_MSHV_HANDLE_MMIO_EVENT,
  NULL,
};

static void trace_accel_mshv_register_events(void)
{
    trace_event_register_group(accel_mshv_trace_events);
}
trace_init(trace_accel_mshv_register_events)
