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

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

uint16_t _TRACE_HANDLE_HMP_COMMAND_DSTATE;
uint16_t _TRACE_MONITOR_PROTOCOL_EVENT_HANDLER_DSTATE;
uint16_t _TRACE_MONITOR_PROTOCOL_EVENT_EMIT_DSTATE;
uint16_t _TRACE_MONITOR_PROTOCOL_EVENT_QUEUE_DSTATE;
uint16_t _TRACE_MONITOR_SUSPEND_DSTATE;
uint16_t _TRACE_MONITOR_QMP_IN_BAND_ENQUEUE_DSTATE;
uint16_t _TRACE_MONITOR_QMP_IN_BAND_DEQUEUE_DSTATE;
uint16_t _TRACE_MONITOR_QMP_CMD_IN_BAND_DSTATE;
uint16_t _TRACE_MONITOR_QMP_ERR_IN_BAND_DSTATE;
uint16_t _TRACE_MONITOR_QMP_CMD_OUT_OF_BAND_DSTATE;
uint16_t _TRACE_MONITOR_QMP_RESPOND_DSTATE;
uint16_t _TRACE_HANDLE_QMP_COMMAND_DSTATE;
TraceEvent _TRACE_HANDLE_HMP_COMMAND_EVENT = {
    .id = 0,
    .vcpu_id = TRACE_VCPU_EVENT_NONE,
    .name = "handle_hmp_command",
    .sstate = TRACE_HANDLE_HMP_COMMAND_ENABLED,
    .dstate = &_TRACE_HANDLE_HMP_COMMAND_DSTATE 
};
TraceEvent _TRACE_MONITOR_PROTOCOL_EVENT_HANDLER_EVENT = {
    .id = 0,
    .vcpu_id = TRACE_VCPU_EVENT_NONE,
    .name = "monitor_protocol_event_handler",
    .sstate = TRACE_MONITOR_PROTOCOL_EVENT_HANDLER_ENABLED,
    .dstate = &_TRACE_MONITOR_PROTOCOL_EVENT_HANDLER_DSTATE 
};
TraceEvent _TRACE_MONITOR_PROTOCOL_EVENT_EMIT_EVENT = {
    .id = 0,
    .vcpu_id = TRACE_VCPU_EVENT_NONE,
    .name = "monitor_protocol_event_emit",
    .sstate = TRACE_MONITOR_PROTOCOL_EVENT_EMIT_ENABLED,
    .dstate = &_TRACE_MONITOR_PROTOCOL_EVENT_EMIT_DSTATE 
};
TraceEvent _TRACE_MONITOR_PROTOCOL_EVENT_QUEUE_EVENT = {
    .id = 0,
    .vcpu_id = TRACE_VCPU_EVENT_NONE,
    .name = "monitor_protocol_event_queue",
    .sstate = TRACE_MONITOR_PROTOCOL_EVENT_QUEUE_ENABLED,
    .dstate = &_TRACE_MONITOR_PROTOCOL_EVENT_QUEUE_DSTATE 
};
TraceEvent _TRACE_MONITOR_SUSPEND_EVENT = {
    .id = 0,
    .vcpu_id = TRACE_VCPU_EVENT_NONE,
    .name = "monitor_suspend",
    .sstate = TRACE_MONITOR_SUSPEND_ENABLED,
    .dstate = &_TRACE_MONITOR_SUSPEND_DSTATE 
};
TraceEvent _TRACE_MONITOR_QMP_IN_BAND_ENQUEUE_EVENT = {
    .id = 0,
    .vcpu_id = TRACE_VCPU_EVENT_NONE,
    .name = "monitor_qmp_in_band_enqueue",
    .sstate = TRACE_MONITOR_QMP_IN_BAND_ENQUEUE_ENABLED,
    .dstate = &_TRACE_MONITOR_QMP_IN_BAND_ENQUEUE_DSTATE 
};
TraceEvent _TRACE_MONITOR_QMP_IN_BAND_DEQUEUE_EVENT = {
    .id = 0,
    .vcpu_id = TRACE_VCPU_EVENT_NONE,
    .name = "monitor_qmp_in_band_dequeue",
    .sstate = TRACE_MONITOR_QMP_IN_BAND_DEQUEUE_ENABLED,
    .dstate = &_TRACE_MONITOR_QMP_IN_BAND_DEQUEUE_DSTATE 
};
TraceEvent _TRACE_MONITOR_QMP_CMD_IN_BAND_EVENT = {
    .id = 0,
    .vcpu_id = TRACE_VCPU_EVENT_NONE,
    .name = "monitor_qmp_cmd_in_band",
    .sstate = TRACE_MONITOR_QMP_CMD_IN_BAND_ENABLED,
    .dstate = &_TRACE_MONITOR_QMP_CMD_IN_BAND_DSTATE 
};
TraceEvent _TRACE_MONITOR_QMP_ERR_IN_BAND_EVENT = {
    .id = 0,
    .vcpu_id = TRACE_VCPU_EVENT_NONE,
    .name = "monitor_qmp_err_in_band",
    .sstate = TRACE_MONITOR_QMP_ERR_IN_BAND_ENABLED,
    .dstate = &_TRACE_MONITOR_QMP_ERR_IN_BAND_DSTATE 
};
TraceEvent _TRACE_MONITOR_QMP_CMD_OUT_OF_BAND_EVENT = {
    .id = 0,
    .vcpu_id = TRACE_VCPU_EVENT_NONE,
    .name = "monitor_qmp_cmd_out_of_band",
    .sstate = TRACE_MONITOR_QMP_CMD_OUT_OF_BAND_ENABLED,
    .dstate = &_TRACE_MONITOR_QMP_CMD_OUT_OF_BAND_DSTATE 
};
TraceEvent _TRACE_MONITOR_QMP_RESPOND_EVENT = {
    .id = 0,
    .vcpu_id = TRACE_VCPU_EVENT_NONE,
    .name = "monitor_qmp_respond",
    .sstate = TRACE_MONITOR_QMP_RESPOND_ENABLED,
    .dstate = &_TRACE_MONITOR_QMP_RESPOND_DSTATE 
};
TraceEvent _TRACE_HANDLE_QMP_COMMAND_EVENT = {
    .id = 0,
    .vcpu_id = TRACE_VCPU_EVENT_NONE,
    .name = "handle_qmp_command",
    .sstate = TRACE_HANDLE_QMP_COMMAND_ENABLED,
    .dstate = &_TRACE_HANDLE_QMP_COMMAND_DSTATE 
};
TraceEvent *monitor_trace_events[] = {
    &_TRACE_HANDLE_HMP_COMMAND_EVENT,
    &_TRACE_MONITOR_PROTOCOL_EVENT_HANDLER_EVENT,
    &_TRACE_MONITOR_PROTOCOL_EVENT_EMIT_EVENT,
    &_TRACE_MONITOR_PROTOCOL_EVENT_QUEUE_EVENT,
    &_TRACE_MONITOR_SUSPEND_EVENT,
    &_TRACE_MONITOR_QMP_IN_BAND_ENQUEUE_EVENT,
    &_TRACE_MONITOR_QMP_IN_BAND_DEQUEUE_EVENT,
    &_TRACE_MONITOR_QMP_CMD_IN_BAND_EVENT,
    &_TRACE_MONITOR_QMP_ERR_IN_BAND_EVENT,
    &_TRACE_MONITOR_QMP_CMD_OUT_OF_BAND_EVENT,
    &_TRACE_MONITOR_QMP_RESPOND_EVENT,
    &_TRACE_HANDLE_QMP_COMMAND_EVENT,
  NULL,
};

static void trace_monitor_register_events(void)
{
    trace_event_register_group(monitor_trace_events);
}
trace_init(trace_monitor_register_events)
