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

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

uint16_t _TRACE_ADB_DEVICE_KBD_NO_KEY_DSTATE;
uint16_t _TRACE_ADB_DEVICE_KBD_WRITEREG_DSTATE;
uint16_t _TRACE_ADB_DEVICE_KBD_READREG_DSTATE;
uint16_t _TRACE_ADB_DEVICE_KBD_REQUEST_CHANGE_ADDR_DSTATE;
uint16_t _TRACE_ADB_DEVICE_KBD_REQUEST_CHANGE_ADDR_AND_HANDLER_DSTATE;
uint16_t _TRACE_ADB_DEVICE_MOUSE_FLUSH_DSTATE;
uint16_t _TRACE_ADB_DEVICE_MOUSE_WRITEREG_DSTATE;
uint16_t _TRACE_ADB_DEVICE_MOUSE_READREG_DSTATE;
uint16_t _TRACE_ADB_DEVICE_MOUSE_REQUEST_CHANGE_ADDR_DSTATE;
uint16_t _TRACE_ADB_DEVICE_MOUSE_REQUEST_CHANGE_ADDR_AND_HANDLER_DSTATE;
uint16_t _TRACE_ADB_BUS_REQUEST_DSTATE;
uint16_t _TRACE_ADB_BUS_REQUEST_DONE_DSTATE;
uint16_t _TRACE_ADB_BUS_AUTOPOLL_BLOCK_DSTATE;
uint16_t _TRACE_ADB_BUS_AUTOPOLL_CB_DSTATE;
uint16_t _TRACE_ADB_BUS_AUTOPOLL_CB_DONE_DSTATE;
uint16_t _TRACE_PCKBD_KBD_READ_DATA_DSTATE;
uint16_t _TRACE_PCKBD_KBD_READ_STATUS_DSTATE;
uint16_t _TRACE_PCKBD_OUTPORT_WRITE_DSTATE;
uint16_t _TRACE_PCKBD_KBD_WRITE_COMMAND_DSTATE;
uint16_t _TRACE_PCKBD_KBD_WRITE_DATA_DSTATE;
uint16_t _TRACE_PS2_PUT_KEYCODE_DSTATE;
uint16_t _TRACE_PS2_KEYBOARD_EVENT_DSTATE;
uint16_t _TRACE_PS2_READ_DATA_DSTATE;
uint16_t _TRACE_PS2_SET_LEDSTATE_DSTATE;
uint16_t _TRACE_PS2_RESET_KEYBOARD_DSTATE;
uint16_t _TRACE_PS2_WRITE_KEYBOARD_DSTATE;
uint16_t _TRACE_PS2_KEYBOARD_SET_TRANSLATION_DSTATE;
uint16_t _TRACE_PS2_MOUSE_SEND_PACKET_DSTATE;
uint16_t _TRACE_PS2_MOUSE_FAKE_EVENT_DSTATE;
uint16_t _TRACE_PS2_WRITE_MOUSE_DSTATE;
uint16_t _TRACE_PS2_KBD_RESET_DSTATE;
uint16_t _TRACE_PS2_MOUSE_RESET_DSTATE;
uint16_t _TRACE_PS2_KBD_INIT_DSTATE;
uint16_t _TRACE_PS2_MOUSE_INIT_DSTATE;
uint16_t _TRACE_HID_KBD_QUEUE_FULL_DSTATE;
uint16_t _TRACE_HID_KBD_QUEUE_EMPTY_DSTATE;
uint16_t _TRACE_TSC2005_SENSE_DSTATE;
uint16_t _TRACE_VIRTIO_INPUT_QUEUE_FULL_DSTATE;
uint16_t _TRACE_LASIPS2_REG_READ_DSTATE;
uint16_t _TRACE_LASIPS2_REG_WRITE_DSTATE;
uint16_t _TRACE_LASIPS2_INTR_DSTATE;
TraceEvent _TRACE_ADB_DEVICE_KBD_NO_KEY_EVENT = {
    .id = 0,
    .vcpu_id = TRACE_VCPU_EVENT_NONE,
    .name = "adb_device_kbd_no_key",
    .sstate = TRACE_ADB_DEVICE_KBD_NO_KEY_ENABLED,
    .dstate = &_TRACE_ADB_DEVICE_KBD_NO_KEY_DSTATE 
};
TraceEvent _TRACE_ADB_DEVICE_KBD_WRITEREG_EVENT = {
    .id = 0,
    .vcpu_id = TRACE_VCPU_EVENT_NONE,
    .name = "adb_device_kbd_writereg",
    .sstate = TRACE_ADB_DEVICE_KBD_WRITEREG_ENABLED,
    .dstate = &_TRACE_ADB_DEVICE_KBD_WRITEREG_DSTATE 
};
TraceEvent _TRACE_ADB_DEVICE_KBD_READREG_EVENT = {
    .id = 0,
    .vcpu_id = TRACE_VCPU_EVENT_NONE,
    .name = "adb_device_kbd_readreg",
    .sstate = TRACE_ADB_DEVICE_KBD_READREG_ENABLED,
    .dstate = &_TRACE_ADB_DEVICE_KBD_READREG_DSTATE 
};
TraceEvent _TRACE_ADB_DEVICE_KBD_REQUEST_CHANGE_ADDR_EVENT = {
    .id = 0,
    .vcpu_id = TRACE_VCPU_EVENT_NONE,
    .name = "adb_device_kbd_request_change_addr",
    .sstate = TRACE_ADB_DEVICE_KBD_REQUEST_CHANGE_ADDR_ENABLED,
    .dstate = &_TRACE_ADB_DEVICE_KBD_REQUEST_CHANGE_ADDR_DSTATE 
};
TraceEvent _TRACE_ADB_DEVICE_KBD_REQUEST_CHANGE_ADDR_AND_HANDLER_EVENT = {
    .id = 0,
    .vcpu_id = TRACE_VCPU_EVENT_NONE,
    .name = "adb_device_kbd_request_change_addr_and_handler",
    .sstate = TRACE_ADB_DEVICE_KBD_REQUEST_CHANGE_ADDR_AND_HANDLER_ENABLED,
    .dstate = &_TRACE_ADB_DEVICE_KBD_REQUEST_CHANGE_ADDR_AND_HANDLER_DSTATE 
};
TraceEvent _TRACE_ADB_DEVICE_MOUSE_FLUSH_EVENT = {
    .id = 0,
    .vcpu_id = TRACE_VCPU_EVENT_NONE,
    .name = "adb_device_mouse_flush",
    .sstate = TRACE_ADB_DEVICE_MOUSE_FLUSH_ENABLED,
    .dstate = &_TRACE_ADB_DEVICE_MOUSE_FLUSH_DSTATE 
};
TraceEvent _TRACE_ADB_DEVICE_MOUSE_WRITEREG_EVENT = {
    .id = 0,
    .vcpu_id = TRACE_VCPU_EVENT_NONE,
    .name = "adb_device_mouse_writereg",
    .sstate = TRACE_ADB_DEVICE_MOUSE_WRITEREG_ENABLED,
    .dstate = &_TRACE_ADB_DEVICE_MOUSE_WRITEREG_DSTATE 
};
TraceEvent _TRACE_ADB_DEVICE_MOUSE_READREG_EVENT = {
    .id = 0,
    .vcpu_id = TRACE_VCPU_EVENT_NONE,
    .name = "adb_device_mouse_readreg",
    .sstate = TRACE_ADB_DEVICE_MOUSE_READREG_ENABLED,
    .dstate = &_TRACE_ADB_DEVICE_MOUSE_READREG_DSTATE 
};
TraceEvent _TRACE_ADB_DEVICE_MOUSE_REQUEST_CHANGE_ADDR_EVENT = {
    .id = 0,
    .vcpu_id = TRACE_VCPU_EVENT_NONE,
    .name = "adb_device_mouse_request_change_addr",
    .sstate = TRACE_ADB_DEVICE_MOUSE_REQUEST_CHANGE_ADDR_ENABLED,
    .dstate = &_TRACE_ADB_DEVICE_MOUSE_REQUEST_CHANGE_ADDR_DSTATE 
};
TraceEvent _TRACE_ADB_DEVICE_MOUSE_REQUEST_CHANGE_ADDR_AND_HANDLER_EVENT = {
    .id = 0,
    .vcpu_id = TRACE_VCPU_EVENT_NONE,
    .name = "adb_device_mouse_request_change_addr_and_handler",
    .sstate = TRACE_ADB_DEVICE_MOUSE_REQUEST_CHANGE_ADDR_AND_HANDLER_ENABLED,
    .dstate = &_TRACE_ADB_DEVICE_MOUSE_REQUEST_CHANGE_ADDR_AND_HANDLER_DSTATE 
};
TraceEvent _TRACE_ADB_BUS_REQUEST_EVENT = {
    .id = 0,
    .vcpu_id = TRACE_VCPU_EVENT_NONE,
    .name = "adb_bus_request",
    .sstate = TRACE_ADB_BUS_REQUEST_ENABLED,
    .dstate = &_TRACE_ADB_BUS_REQUEST_DSTATE 
};
TraceEvent _TRACE_ADB_BUS_REQUEST_DONE_EVENT = {
    .id = 0,
    .vcpu_id = TRACE_VCPU_EVENT_NONE,
    .name = "adb_bus_request_done",
    .sstate = TRACE_ADB_BUS_REQUEST_DONE_ENABLED,
    .dstate = &_TRACE_ADB_BUS_REQUEST_DONE_DSTATE 
};
TraceEvent _TRACE_ADB_BUS_AUTOPOLL_BLOCK_EVENT = {
    .id = 0,
    .vcpu_id = TRACE_VCPU_EVENT_NONE,
    .name = "adb_bus_autopoll_block",
    .sstate = TRACE_ADB_BUS_AUTOPOLL_BLOCK_ENABLED,
    .dstate = &_TRACE_ADB_BUS_AUTOPOLL_BLOCK_DSTATE 
};
TraceEvent _TRACE_ADB_BUS_AUTOPOLL_CB_EVENT = {
    .id = 0,
    .vcpu_id = TRACE_VCPU_EVENT_NONE,
    .name = "adb_bus_autopoll_cb",
    .sstate = TRACE_ADB_BUS_AUTOPOLL_CB_ENABLED,
    .dstate = &_TRACE_ADB_BUS_AUTOPOLL_CB_DSTATE 
};
TraceEvent _TRACE_ADB_BUS_AUTOPOLL_CB_DONE_EVENT = {
    .id = 0,
    .vcpu_id = TRACE_VCPU_EVENT_NONE,
    .name = "adb_bus_autopoll_cb_done",
    .sstate = TRACE_ADB_BUS_AUTOPOLL_CB_DONE_ENABLED,
    .dstate = &_TRACE_ADB_BUS_AUTOPOLL_CB_DONE_DSTATE 
};
TraceEvent _TRACE_PCKBD_KBD_READ_DATA_EVENT = {
    .id = 0,
    .vcpu_id = TRACE_VCPU_EVENT_NONE,
    .name = "pckbd_kbd_read_data",
    .sstate = TRACE_PCKBD_KBD_READ_DATA_ENABLED,
    .dstate = &_TRACE_PCKBD_KBD_READ_DATA_DSTATE 
};
TraceEvent _TRACE_PCKBD_KBD_READ_STATUS_EVENT = {
    .id = 0,
    .vcpu_id = TRACE_VCPU_EVENT_NONE,
    .name = "pckbd_kbd_read_status",
    .sstate = TRACE_PCKBD_KBD_READ_STATUS_ENABLED,
    .dstate = &_TRACE_PCKBD_KBD_READ_STATUS_DSTATE 
};
TraceEvent _TRACE_PCKBD_OUTPORT_WRITE_EVENT = {
    .id = 0,
    .vcpu_id = TRACE_VCPU_EVENT_NONE,
    .name = "pckbd_outport_write",
    .sstate = TRACE_PCKBD_OUTPORT_WRITE_ENABLED,
    .dstate = &_TRACE_PCKBD_OUTPORT_WRITE_DSTATE 
};
TraceEvent _TRACE_PCKBD_KBD_WRITE_COMMAND_EVENT = {
    .id = 0,
    .vcpu_id = TRACE_VCPU_EVENT_NONE,
    .name = "pckbd_kbd_write_command",
    .sstate = TRACE_PCKBD_KBD_WRITE_COMMAND_ENABLED,
    .dstate = &_TRACE_PCKBD_KBD_WRITE_COMMAND_DSTATE 
};
TraceEvent _TRACE_PCKBD_KBD_WRITE_DATA_EVENT = {
    .id = 0,
    .vcpu_id = TRACE_VCPU_EVENT_NONE,
    .name = "pckbd_kbd_write_data",
    .sstate = TRACE_PCKBD_KBD_WRITE_DATA_ENABLED,
    .dstate = &_TRACE_PCKBD_KBD_WRITE_DATA_DSTATE 
};
TraceEvent _TRACE_PS2_PUT_KEYCODE_EVENT = {
    .id = 0,
    .vcpu_id = TRACE_VCPU_EVENT_NONE,
    .name = "ps2_put_keycode",
    .sstate = TRACE_PS2_PUT_KEYCODE_ENABLED,
    .dstate = &_TRACE_PS2_PUT_KEYCODE_DSTATE 
};
TraceEvent _TRACE_PS2_KEYBOARD_EVENT_EVENT = {
    .id = 0,
    .vcpu_id = TRACE_VCPU_EVENT_NONE,
    .name = "ps2_keyboard_event",
    .sstate = TRACE_PS2_KEYBOARD_EVENT_ENABLED,
    .dstate = &_TRACE_PS2_KEYBOARD_EVENT_DSTATE 
};
TraceEvent _TRACE_PS2_READ_DATA_EVENT = {
    .id = 0,
    .vcpu_id = TRACE_VCPU_EVENT_NONE,
    .name = "ps2_read_data",
    .sstate = TRACE_PS2_READ_DATA_ENABLED,
    .dstate = &_TRACE_PS2_READ_DATA_DSTATE 
};
TraceEvent _TRACE_PS2_SET_LEDSTATE_EVENT = {
    .id = 0,
    .vcpu_id = TRACE_VCPU_EVENT_NONE,
    .name = "ps2_set_ledstate",
    .sstate = TRACE_PS2_SET_LEDSTATE_ENABLED,
    .dstate = &_TRACE_PS2_SET_LEDSTATE_DSTATE 
};
TraceEvent _TRACE_PS2_RESET_KEYBOARD_EVENT = {
    .id = 0,
    .vcpu_id = TRACE_VCPU_EVENT_NONE,
    .name = "ps2_reset_keyboard",
    .sstate = TRACE_PS2_RESET_KEYBOARD_ENABLED,
    .dstate = &_TRACE_PS2_RESET_KEYBOARD_DSTATE 
};
TraceEvent _TRACE_PS2_WRITE_KEYBOARD_EVENT = {
    .id = 0,
    .vcpu_id = TRACE_VCPU_EVENT_NONE,
    .name = "ps2_write_keyboard",
    .sstate = TRACE_PS2_WRITE_KEYBOARD_ENABLED,
    .dstate = &_TRACE_PS2_WRITE_KEYBOARD_DSTATE 
};
TraceEvent _TRACE_PS2_KEYBOARD_SET_TRANSLATION_EVENT = {
    .id = 0,
    .vcpu_id = TRACE_VCPU_EVENT_NONE,
    .name = "ps2_keyboard_set_translation",
    .sstate = TRACE_PS2_KEYBOARD_SET_TRANSLATION_ENABLED,
    .dstate = &_TRACE_PS2_KEYBOARD_SET_TRANSLATION_DSTATE 
};
TraceEvent _TRACE_PS2_MOUSE_SEND_PACKET_EVENT = {
    .id = 0,
    .vcpu_id = TRACE_VCPU_EVENT_NONE,
    .name = "ps2_mouse_send_packet",
    .sstate = TRACE_PS2_MOUSE_SEND_PACKET_ENABLED,
    .dstate = &_TRACE_PS2_MOUSE_SEND_PACKET_DSTATE 
};
TraceEvent _TRACE_PS2_MOUSE_FAKE_EVENT_EVENT = {
    .id = 0,
    .vcpu_id = TRACE_VCPU_EVENT_NONE,
    .name = "ps2_mouse_fake_event",
    .sstate = TRACE_PS2_MOUSE_FAKE_EVENT_ENABLED,
    .dstate = &_TRACE_PS2_MOUSE_FAKE_EVENT_DSTATE 
};
TraceEvent _TRACE_PS2_WRITE_MOUSE_EVENT = {
    .id = 0,
    .vcpu_id = TRACE_VCPU_EVENT_NONE,
    .name = "ps2_write_mouse",
    .sstate = TRACE_PS2_WRITE_MOUSE_ENABLED,
    .dstate = &_TRACE_PS2_WRITE_MOUSE_DSTATE 
};
TraceEvent _TRACE_PS2_KBD_RESET_EVENT = {
    .id = 0,
    .vcpu_id = TRACE_VCPU_EVENT_NONE,
    .name = "ps2_kbd_reset",
    .sstate = TRACE_PS2_KBD_RESET_ENABLED,
    .dstate = &_TRACE_PS2_KBD_RESET_DSTATE 
};
TraceEvent _TRACE_PS2_MOUSE_RESET_EVENT = {
    .id = 0,
    .vcpu_id = TRACE_VCPU_EVENT_NONE,
    .name = "ps2_mouse_reset",
    .sstate = TRACE_PS2_MOUSE_RESET_ENABLED,
    .dstate = &_TRACE_PS2_MOUSE_RESET_DSTATE 
};
TraceEvent _TRACE_PS2_KBD_INIT_EVENT = {
    .id = 0,
    .vcpu_id = TRACE_VCPU_EVENT_NONE,
    .name = "ps2_kbd_init",
    .sstate = TRACE_PS2_KBD_INIT_ENABLED,
    .dstate = &_TRACE_PS2_KBD_INIT_DSTATE 
};
TraceEvent _TRACE_PS2_MOUSE_INIT_EVENT = {
    .id = 0,
    .vcpu_id = TRACE_VCPU_EVENT_NONE,
    .name = "ps2_mouse_init",
    .sstate = TRACE_PS2_MOUSE_INIT_ENABLED,
    .dstate = &_TRACE_PS2_MOUSE_INIT_DSTATE 
};
TraceEvent _TRACE_HID_KBD_QUEUE_FULL_EVENT = {
    .id = 0,
    .vcpu_id = TRACE_VCPU_EVENT_NONE,
    .name = "hid_kbd_queue_full",
    .sstate = TRACE_HID_KBD_QUEUE_FULL_ENABLED,
    .dstate = &_TRACE_HID_KBD_QUEUE_FULL_DSTATE 
};
TraceEvent _TRACE_HID_KBD_QUEUE_EMPTY_EVENT = {
    .id = 0,
    .vcpu_id = TRACE_VCPU_EVENT_NONE,
    .name = "hid_kbd_queue_empty",
    .sstate = TRACE_HID_KBD_QUEUE_EMPTY_ENABLED,
    .dstate = &_TRACE_HID_KBD_QUEUE_EMPTY_DSTATE 
};
TraceEvent _TRACE_TSC2005_SENSE_EVENT = {
    .id = 0,
    .vcpu_id = TRACE_VCPU_EVENT_NONE,
    .name = "tsc2005_sense",
    .sstate = TRACE_TSC2005_SENSE_ENABLED,
    .dstate = &_TRACE_TSC2005_SENSE_DSTATE 
};
TraceEvent _TRACE_VIRTIO_INPUT_QUEUE_FULL_EVENT = {
    .id = 0,
    .vcpu_id = TRACE_VCPU_EVENT_NONE,
    .name = "virtio_input_queue_full",
    .sstate = TRACE_VIRTIO_INPUT_QUEUE_FULL_ENABLED,
    .dstate = &_TRACE_VIRTIO_INPUT_QUEUE_FULL_DSTATE 
};
TraceEvent _TRACE_LASIPS2_REG_READ_EVENT = {
    .id = 0,
    .vcpu_id = TRACE_VCPU_EVENT_NONE,
    .name = "lasips2_reg_read",
    .sstate = TRACE_LASIPS2_REG_READ_ENABLED,
    .dstate = &_TRACE_LASIPS2_REG_READ_DSTATE 
};
TraceEvent _TRACE_LASIPS2_REG_WRITE_EVENT = {
    .id = 0,
    .vcpu_id = TRACE_VCPU_EVENT_NONE,
    .name = "lasips2_reg_write",
    .sstate = TRACE_LASIPS2_REG_WRITE_ENABLED,
    .dstate = &_TRACE_LASIPS2_REG_WRITE_DSTATE 
};
TraceEvent _TRACE_LASIPS2_INTR_EVENT = {
    .id = 0,
    .vcpu_id = TRACE_VCPU_EVENT_NONE,
    .name = "lasips2_intr",
    .sstate = TRACE_LASIPS2_INTR_ENABLED,
    .dstate = &_TRACE_LASIPS2_INTR_DSTATE 
};
TraceEvent *hw_input_trace_events[] = {
    &_TRACE_ADB_DEVICE_KBD_NO_KEY_EVENT,
    &_TRACE_ADB_DEVICE_KBD_WRITEREG_EVENT,
    &_TRACE_ADB_DEVICE_KBD_READREG_EVENT,
    &_TRACE_ADB_DEVICE_KBD_REQUEST_CHANGE_ADDR_EVENT,
    &_TRACE_ADB_DEVICE_KBD_REQUEST_CHANGE_ADDR_AND_HANDLER_EVENT,
    &_TRACE_ADB_DEVICE_MOUSE_FLUSH_EVENT,
    &_TRACE_ADB_DEVICE_MOUSE_WRITEREG_EVENT,
    &_TRACE_ADB_DEVICE_MOUSE_READREG_EVENT,
    &_TRACE_ADB_DEVICE_MOUSE_REQUEST_CHANGE_ADDR_EVENT,
    &_TRACE_ADB_DEVICE_MOUSE_REQUEST_CHANGE_ADDR_AND_HANDLER_EVENT,
    &_TRACE_ADB_BUS_REQUEST_EVENT,
    &_TRACE_ADB_BUS_REQUEST_DONE_EVENT,
    &_TRACE_ADB_BUS_AUTOPOLL_BLOCK_EVENT,
    &_TRACE_ADB_BUS_AUTOPOLL_CB_EVENT,
    &_TRACE_ADB_BUS_AUTOPOLL_CB_DONE_EVENT,
    &_TRACE_PCKBD_KBD_READ_DATA_EVENT,
    &_TRACE_PCKBD_KBD_READ_STATUS_EVENT,
    &_TRACE_PCKBD_OUTPORT_WRITE_EVENT,
    &_TRACE_PCKBD_KBD_WRITE_COMMAND_EVENT,
    &_TRACE_PCKBD_KBD_WRITE_DATA_EVENT,
    &_TRACE_PS2_PUT_KEYCODE_EVENT,
    &_TRACE_PS2_KEYBOARD_EVENT_EVENT,
    &_TRACE_PS2_READ_DATA_EVENT,
    &_TRACE_PS2_SET_LEDSTATE_EVENT,
    &_TRACE_PS2_RESET_KEYBOARD_EVENT,
    &_TRACE_PS2_WRITE_KEYBOARD_EVENT,
    &_TRACE_PS2_KEYBOARD_SET_TRANSLATION_EVENT,
    &_TRACE_PS2_MOUSE_SEND_PACKET_EVENT,
    &_TRACE_PS2_MOUSE_FAKE_EVENT_EVENT,
    &_TRACE_PS2_WRITE_MOUSE_EVENT,
    &_TRACE_PS2_KBD_RESET_EVENT,
    &_TRACE_PS2_MOUSE_RESET_EVENT,
    &_TRACE_PS2_KBD_INIT_EVENT,
    &_TRACE_PS2_MOUSE_INIT_EVENT,
    &_TRACE_HID_KBD_QUEUE_FULL_EVENT,
    &_TRACE_HID_KBD_QUEUE_EMPTY_EVENT,
    &_TRACE_TSC2005_SENSE_EVENT,
    &_TRACE_VIRTIO_INPUT_QUEUE_FULL_EVENT,
    &_TRACE_LASIPS2_REG_READ_EVENT,
    &_TRACE_LASIPS2_REG_WRITE_EVENT,
    &_TRACE_LASIPS2_INTR_EVENT,
  NULL,
};

static void trace_hw_input_register_events(void)
{
    trace_event_register_group(hw_input_trace_events);
}
trace_init(trace_hw_input_register_events)
