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

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

uint16_t _TRACE_FDC_IOPORT_READ_DSTATE;
uint16_t _TRACE_FDC_IOPORT_WRITE_DSTATE;
uint16_t _TRACE_FDCTRL_TC_PULSE_DSTATE;
uint16_t _TRACE_PFLASH_CHIP_ERASE_INVALID_DSTATE;
uint16_t _TRACE_PFLASH_CHIP_ERASE_START_DSTATE;
uint16_t _TRACE_PFLASH_DATA_READ_DSTATE;
uint16_t _TRACE_PFLASH_DATA_WRITE_DSTATE;
uint16_t _TRACE_PFLASH_DEVICE_ID_DSTATE;
uint16_t _TRACE_PFLASH_DEVICE_INFO_DSTATE;
uint16_t _TRACE_PFLASH_ERASE_COMPLETE_DSTATE;
uint16_t _TRACE_PFLASH_ERASE_TIMEOUT_DSTATE;
uint16_t _TRACE_PFLASH_IO_READ_DSTATE;
uint16_t _TRACE_PFLASH_IO_WRITE_DSTATE;
uint16_t _TRACE_PFLASH_MANUFACTURER_ID_DSTATE;
uint16_t _TRACE_PFLASH_MODE_READ_ARRAY_DSTATE;
uint16_t _TRACE_PFLASH_POSTLOAD_CB_DSTATE;
uint16_t _TRACE_PFLASH_READ_DONE_DSTATE;
uint16_t _TRACE_PFLASH_READ_STATUS_DSTATE;
uint16_t _TRACE_PFLASH_READ_UNKNOWN_STATE_DSTATE;
uint16_t _TRACE_PFLASH_RESET_DSTATE;
uint16_t _TRACE_PFLASH_SECTOR_ERASE_START_DSTATE;
uint16_t _TRACE_PFLASH_TIMER_EXPIRED_DSTATE;
uint16_t _TRACE_PFLASH_UNLOCK0_FAILED_DSTATE;
uint16_t _TRACE_PFLASH_UNLOCK1_FAILED_DSTATE;
uint16_t _TRACE_PFLASH_UNSUPPORTED_DEVICE_CONFIGURATION_DSTATE;
uint16_t _TRACE_PFLASH_WRITE_DSTATE;
uint16_t _TRACE_PFLASH_WRITE_BLOCK_DSTATE;
uint16_t _TRACE_PFLASH_WRITE_BLOCK_ERASE_DSTATE;
uint16_t _TRACE_PFLASH_WRITE_FAILED_DSTATE;
uint16_t _TRACE_PFLASH_WRITE_INVALID_DSTATE;
uint16_t _TRACE_PFLASH_WRITE_INVALID_COMMAND_DSTATE;
uint16_t _TRACE_PFLASH_WRITE_INVALID_STATE_DSTATE;
uint16_t _TRACE_PFLASH_WRITE_START_DSTATE;
uint16_t _TRACE_PFLASH_WRITE_UNKNOWN_DSTATE;
uint16_t _TRACE_VIRTIO_BLK_REQ_COMPLETE_DSTATE;
uint16_t _TRACE_VIRTIO_BLK_RW_COMPLETE_DSTATE;
uint16_t _TRACE_VIRTIO_BLK_HANDLE_WRITE_DSTATE;
uint16_t _TRACE_VIRTIO_BLK_HANDLE_READ_DSTATE;
uint16_t _TRACE_VIRTIO_BLK_SUBMIT_MULTIREQ_DSTATE;
uint16_t _TRACE_HD_GEOMETRY_LCHS_GUESS_DSTATE;
uint16_t _TRACE_HD_GEOMETRY_GUESS_DSTATE;
uint16_t _TRACE_XEN_BLOCK_REALIZE_DSTATE;
uint16_t _TRACE_XEN_BLOCK_CONNECT_DSTATE;
uint16_t _TRACE_XEN_BLOCK_DISCONNECT_DSTATE;
uint16_t _TRACE_XEN_BLOCK_UNREALIZE_DSTATE;
uint16_t _TRACE_XEN_BLOCK_SIZE_DSTATE;
uint16_t _TRACE_XEN_DISK_REALIZE_DSTATE;
uint16_t _TRACE_XEN_DISK_UNREALIZE_DSTATE;
uint16_t _TRACE_XEN_CDROM_REALIZE_DSTATE;
uint16_t _TRACE_XEN_CDROM_UNREALIZE_DSTATE;
uint16_t _TRACE_XEN_BLOCK_BLOCKDEV_ADD_DSTATE;
uint16_t _TRACE_XEN_BLOCK_BLOCKDEV_DEL_DSTATE;
uint16_t _TRACE_XEN_BLOCK_DEVICE_CREATE_DSTATE;
uint16_t _TRACE_XEN_BLOCK_DEVICE_DESTROY_DSTATE;
uint16_t _TRACE_M25P80_FLASH_ERASE_DSTATE;
uint16_t _TRACE_M25P80_PROGRAMMING_ZERO_TO_ONE_DSTATE;
uint16_t _TRACE_M25P80_RESET_DONE_DSTATE;
uint16_t _TRACE_M25P80_COMMAND_DECODED_DSTATE;
uint16_t _TRACE_M25P80_COMPLETE_COLLECTING_DSTATE;
uint16_t _TRACE_M25P80_POPULATED_JEDEC_DSTATE;
uint16_t _TRACE_M25P80_CHIP_ERASE_DSTATE;
uint16_t _TRACE_M25P80_SELECT_DSTATE;
uint16_t _TRACE_M25P80_PAGE_PROGRAM_DSTATE;
uint16_t _TRACE_M25P80_TRANSFER_DSTATE;
uint16_t _TRACE_M25P80_READ_BYTE_DSTATE;
uint16_t _TRACE_M25P80_READ_DATA_DSTATE;
uint16_t _TRACE_M25P80_BINDING_DSTATE;
uint16_t _TRACE_M25P80_BINDING_NO_BDRV_DSTATE;
TraceEvent _TRACE_FDC_IOPORT_READ_EVENT = {
    .id = 0,
    .vcpu_id = TRACE_VCPU_EVENT_NONE,
    .name = "fdc_ioport_read",
    .sstate = TRACE_FDC_IOPORT_READ_ENABLED,
    .dstate = &_TRACE_FDC_IOPORT_READ_DSTATE 
};
TraceEvent _TRACE_FDC_IOPORT_WRITE_EVENT = {
    .id = 0,
    .vcpu_id = TRACE_VCPU_EVENT_NONE,
    .name = "fdc_ioport_write",
    .sstate = TRACE_FDC_IOPORT_WRITE_ENABLED,
    .dstate = &_TRACE_FDC_IOPORT_WRITE_DSTATE 
};
TraceEvent _TRACE_FDCTRL_TC_PULSE_EVENT = {
    .id = 0,
    .vcpu_id = TRACE_VCPU_EVENT_NONE,
    .name = "fdctrl_tc_pulse",
    .sstate = TRACE_FDCTRL_TC_PULSE_ENABLED,
    .dstate = &_TRACE_FDCTRL_TC_PULSE_DSTATE 
};
TraceEvent _TRACE_PFLASH_CHIP_ERASE_INVALID_EVENT = {
    .id = 0,
    .vcpu_id = TRACE_VCPU_EVENT_NONE,
    .name = "pflash_chip_erase_invalid",
    .sstate = TRACE_PFLASH_CHIP_ERASE_INVALID_ENABLED,
    .dstate = &_TRACE_PFLASH_CHIP_ERASE_INVALID_DSTATE 
};
TraceEvent _TRACE_PFLASH_CHIP_ERASE_START_EVENT = {
    .id = 0,
    .vcpu_id = TRACE_VCPU_EVENT_NONE,
    .name = "pflash_chip_erase_start",
    .sstate = TRACE_PFLASH_CHIP_ERASE_START_ENABLED,
    .dstate = &_TRACE_PFLASH_CHIP_ERASE_START_DSTATE 
};
TraceEvent _TRACE_PFLASH_DATA_READ_EVENT = {
    .id = 0,
    .vcpu_id = TRACE_VCPU_EVENT_NONE,
    .name = "pflash_data_read",
    .sstate = TRACE_PFLASH_DATA_READ_ENABLED,
    .dstate = &_TRACE_PFLASH_DATA_READ_DSTATE 
};
TraceEvent _TRACE_PFLASH_DATA_WRITE_EVENT = {
    .id = 0,
    .vcpu_id = TRACE_VCPU_EVENT_NONE,
    .name = "pflash_data_write",
    .sstate = TRACE_PFLASH_DATA_WRITE_ENABLED,
    .dstate = &_TRACE_PFLASH_DATA_WRITE_DSTATE 
};
TraceEvent _TRACE_PFLASH_DEVICE_ID_EVENT = {
    .id = 0,
    .vcpu_id = TRACE_VCPU_EVENT_NONE,
    .name = "pflash_device_id",
    .sstate = TRACE_PFLASH_DEVICE_ID_ENABLED,
    .dstate = &_TRACE_PFLASH_DEVICE_ID_DSTATE 
};
TraceEvent _TRACE_PFLASH_DEVICE_INFO_EVENT = {
    .id = 0,
    .vcpu_id = TRACE_VCPU_EVENT_NONE,
    .name = "pflash_device_info",
    .sstate = TRACE_PFLASH_DEVICE_INFO_ENABLED,
    .dstate = &_TRACE_PFLASH_DEVICE_INFO_DSTATE 
};
TraceEvent _TRACE_PFLASH_ERASE_COMPLETE_EVENT = {
    .id = 0,
    .vcpu_id = TRACE_VCPU_EVENT_NONE,
    .name = "pflash_erase_complete",
    .sstate = TRACE_PFLASH_ERASE_COMPLETE_ENABLED,
    .dstate = &_TRACE_PFLASH_ERASE_COMPLETE_DSTATE 
};
TraceEvent _TRACE_PFLASH_ERASE_TIMEOUT_EVENT = {
    .id = 0,
    .vcpu_id = TRACE_VCPU_EVENT_NONE,
    .name = "pflash_erase_timeout",
    .sstate = TRACE_PFLASH_ERASE_TIMEOUT_ENABLED,
    .dstate = &_TRACE_PFLASH_ERASE_TIMEOUT_DSTATE 
};
TraceEvent _TRACE_PFLASH_IO_READ_EVENT = {
    .id = 0,
    .vcpu_id = TRACE_VCPU_EVENT_NONE,
    .name = "pflash_io_read",
    .sstate = TRACE_PFLASH_IO_READ_ENABLED,
    .dstate = &_TRACE_PFLASH_IO_READ_DSTATE 
};
TraceEvent _TRACE_PFLASH_IO_WRITE_EVENT = {
    .id = 0,
    .vcpu_id = TRACE_VCPU_EVENT_NONE,
    .name = "pflash_io_write",
    .sstate = TRACE_PFLASH_IO_WRITE_ENABLED,
    .dstate = &_TRACE_PFLASH_IO_WRITE_DSTATE 
};
TraceEvent _TRACE_PFLASH_MANUFACTURER_ID_EVENT = {
    .id = 0,
    .vcpu_id = TRACE_VCPU_EVENT_NONE,
    .name = "pflash_manufacturer_id",
    .sstate = TRACE_PFLASH_MANUFACTURER_ID_ENABLED,
    .dstate = &_TRACE_PFLASH_MANUFACTURER_ID_DSTATE 
};
TraceEvent _TRACE_PFLASH_MODE_READ_ARRAY_EVENT = {
    .id = 0,
    .vcpu_id = TRACE_VCPU_EVENT_NONE,
    .name = "pflash_mode_read_array",
    .sstate = TRACE_PFLASH_MODE_READ_ARRAY_ENABLED,
    .dstate = &_TRACE_PFLASH_MODE_READ_ARRAY_DSTATE 
};
TraceEvent _TRACE_PFLASH_POSTLOAD_CB_EVENT = {
    .id = 0,
    .vcpu_id = TRACE_VCPU_EVENT_NONE,
    .name = "pflash_postload_cb",
    .sstate = TRACE_PFLASH_POSTLOAD_CB_ENABLED,
    .dstate = &_TRACE_PFLASH_POSTLOAD_CB_DSTATE 
};
TraceEvent _TRACE_PFLASH_READ_DONE_EVENT = {
    .id = 0,
    .vcpu_id = TRACE_VCPU_EVENT_NONE,
    .name = "pflash_read_done",
    .sstate = TRACE_PFLASH_READ_DONE_ENABLED,
    .dstate = &_TRACE_PFLASH_READ_DONE_DSTATE 
};
TraceEvent _TRACE_PFLASH_READ_STATUS_EVENT = {
    .id = 0,
    .vcpu_id = TRACE_VCPU_EVENT_NONE,
    .name = "pflash_read_status",
    .sstate = TRACE_PFLASH_READ_STATUS_ENABLED,
    .dstate = &_TRACE_PFLASH_READ_STATUS_DSTATE 
};
TraceEvent _TRACE_PFLASH_READ_UNKNOWN_STATE_EVENT = {
    .id = 0,
    .vcpu_id = TRACE_VCPU_EVENT_NONE,
    .name = "pflash_read_unknown_state",
    .sstate = TRACE_PFLASH_READ_UNKNOWN_STATE_ENABLED,
    .dstate = &_TRACE_PFLASH_READ_UNKNOWN_STATE_DSTATE 
};
TraceEvent _TRACE_PFLASH_RESET_EVENT = {
    .id = 0,
    .vcpu_id = TRACE_VCPU_EVENT_NONE,
    .name = "pflash_reset",
    .sstate = TRACE_PFLASH_RESET_ENABLED,
    .dstate = &_TRACE_PFLASH_RESET_DSTATE 
};
TraceEvent _TRACE_PFLASH_SECTOR_ERASE_START_EVENT = {
    .id = 0,
    .vcpu_id = TRACE_VCPU_EVENT_NONE,
    .name = "pflash_sector_erase_start",
    .sstate = TRACE_PFLASH_SECTOR_ERASE_START_ENABLED,
    .dstate = &_TRACE_PFLASH_SECTOR_ERASE_START_DSTATE 
};
TraceEvent _TRACE_PFLASH_TIMER_EXPIRED_EVENT = {
    .id = 0,
    .vcpu_id = TRACE_VCPU_EVENT_NONE,
    .name = "pflash_timer_expired",
    .sstate = TRACE_PFLASH_TIMER_EXPIRED_ENABLED,
    .dstate = &_TRACE_PFLASH_TIMER_EXPIRED_DSTATE 
};
TraceEvent _TRACE_PFLASH_UNLOCK0_FAILED_EVENT = {
    .id = 0,
    .vcpu_id = TRACE_VCPU_EVENT_NONE,
    .name = "pflash_unlock0_failed",
    .sstate = TRACE_PFLASH_UNLOCK0_FAILED_ENABLED,
    .dstate = &_TRACE_PFLASH_UNLOCK0_FAILED_DSTATE 
};
TraceEvent _TRACE_PFLASH_UNLOCK1_FAILED_EVENT = {
    .id = 0,
    .vcpu_id = TRACE_VCPU_EVENT_NONE,
    .name = "pflash_unlock1_failed",
    .sstate = TRACE_PFLASH_UNLOCK1_FAILED_ENABLED,
    .dstate = &_TRACE_PFLASH_UNLOCK1_FAILED_DSTATE 
};
TraceEvent _TRACE_PFLASH_UNSUPPORTED_DEVICE_CONFIGURATION_EVENT = {
    .id = 0,
    .vcpu_id = TRACE_VCPU_EVENT_NONE,
    .name = "pflash_unsupported_device_configuration",
    .sstate = TRACE_PFLASH_UNSUPPORTED_DEVICE_CONFIGURATION_ENABLED,
    .dstate = &_TRACE_PFLASH_UNSUPPORTED_DEVICE_CONFIGURATION_DSTATE 
};
TraceEvent _TRACE_PFLASH_WRITE_EVENT = {
    .id = 0,
    .vcpu_id = TRACE_VCPU_EVENT_NONE,
    .name = "pflash_write",
    .sstate = TRACE_PFLASH_WRITE_ENABLED,
    .dstate = &_TRACE_PFLASH_WRITE_DSTATE 
};
TraceEvent _TRACE_PFLASH_WRITE_BLOCK_EVENT = {
    .id = 0,
    .vcpu_id = TRACE_VCPU_EVENT_NONE,
    .name = "pflash_write_block",
    .sstate = TRACE_PFLASH_WRITE_BLOCK_ENABLED,
    .dstate = &_TRACE_PFLASH_WRITE_BLOCK_DSTATE 
};
TraceEvent _TRACE_PFLASH_WRITE_BLOCK_ERASE_EVENT = {
    .id = 0,
    .vcpu_id = TRACE_VCPU_EVENT_NONE,
    .name = "pflash_write_block_erase",
    .sstate = TRACE_PFLASH_WRITE_BLOCK_ERASE_ENABLED,
    .dstate = &_TRACE_PFLASH_WRITE_BLOCK_ERASE_DSTATE 
};
TraceEvent _TRACE_PFLASH_WRITE_FAILED_EVENT = {
    .id = 0,
    .vcpu_id = TRACE_VCPU_EVENT_NONE,
    .name = "pflash_write_failed",
    .sstate = TRACE_PFLASH_WRITE_FAILED_ENABLED,
    .dstate = &_TRACE_PFLASH_WRITE_FAILED_DSTATE 
};
TraceEvent _TRACE_PFLASH_WRITE_INVALID_EVENT = {
    .id = 0,
    .vcpu_id = TRACE_VCPU_EVENT_NONE,
    .name = "pflash_write_invalid",
    .sstate = TRACE_PFLASH_WRITE_INVALID_ENABLED,
    .dstate = &_TRACE_PFLASH_WRITE_INVALID_DSTATE 
};
TraceEvent _TRACE_PFLASH_WRITE_INVALID_COMMAND_EVENT = {
    .id = 0,
    .vcpu_id = TRACE_VCPU_EVENT_NONE,
    .name = "pflash_write_invalid_command",
    .sstate = TRACE_PFLASH_WRITE_INVALID_COMMAND_ENABLED,
    .dstate = &_TRACE_PFLASH_WRITE_INVALID_COMMAND_DSTATE 
};
TraceEvent _TRACE_PFLASH_WRITE_INVALID_STATE_EVENT = {
    .id = 0,
    .vcpu_id = TRACE_VCPU_EVENT_NONE,
    .name = "pflash_write_invalid_state",
    .sstate = TRACE_PFLASH_WRITE_INVALID_STATE_ENABLED,
    .dstate = &_TRACE_PFLASH_WRITE_INVALID_STATE_DSTATE 
};
TraceEvent _TRACE_PFLASH_WRITE_START_EVENT = {
    .id = 0,
    .vcpu_id = TRACE_VCPU_EVENT_NONE,
    .name = "pflash_write_start",
    .sstate = TRACE_PFLASH_WRITE_START_ENABLED,
    .dstate = &_TRACE_PFLASH_WRITE_START_DSTATE 
};
TraceEvent _TRACE_PFLASH_WRITE_UNKNOWN_EVENT = {
    .id = 0,
    .vcpu_id = TRACE_VCPU_EVENT_NONE,
    .name = "pflash_write_unknown",
    .sstate = TRACE_PFLASH_WRITE_UNKNOWN_ENABLED,
    .dstate = &_TRACE_PFLASH_WRITE_UNKNOWN_DSTATE 
};
TraceEvent _TRACE_VIRTIO_BLK_REQ_COMPLETE_EVENT = {
    .id = 0,
    .vcpu_id = TRACE_VCPU_EVENT_NONE,
    .name = "virtio_blk_req_complete",
    .sstate = TRACE_VIRTIO_BLK_REQ_COMPLETE_ENABLED,
    .dstate = &_TRACE_VIRTIO_BLK_REQ_COMPLETE_DSTATE 
};
TraceEvent _TRACE_VIRTIO_BLK_RW_COMPLETE_EVENT = {
    .id = 0,
    .vcpu_id = TRACE_VCPU_EVENT_NONE,
    .name = "virtio_blk_rw_complete",
    .sstate = TRACE_VIRTIO_BLK_RW_COMPLETE_ENABLED,
    .dstate = &_TRACE_VIRTIO_BLK_RW_COMPLETE_DSTATE 
};
TraceEvent _TRACE_VIRTIO_BLK_HANDLE_WRITE_EVENT = {
    .id = 0,
    .vcpu_id = TRACE_VCPU_EVENT_NONE,
    .name = "virtio_blk_handle_write",
    .sstate = TRACE_VIRTIO_BLK_HANDLE_WRITE_ENABLED,
    .dstate = &_TRACE_VIRTIO_BLK_HANDLE_WRITE_DSTATE 
};
TraceEvent _TRACE_VIRTIO_BLK_HANDLE_READ_EVENT = {
    .id = 0,
    .vcpu_id = TRACE_VCPU_EVENT_NONE,
    .name = "virtio_blk_handle_read",
    .sstate = TRACE_VIRTIO_BLK_HANDLE_READ_ENABLED,
    .dstate = &_TRACE_VIRTIO_BLK_HANDLE_READ_DSTATE 
};
TraceEvent _TRACE_VIRTIO_BLK_SUBMIT_MULTIREQ_EVENT = {
    .id = 0,
    .vcpu_id = TRACE_VCPU_EVENT_NONE,
    .name = "virtio_blk_submit_multireq",
    .sstate = TRACE_VIRTIO_BLK_SUBMIT_MULTIREQ_ENABLED,
    .dstate = &_TRACE_VIRTIO_BLK_SUBMIT_MULTIREQ_DSTATE 
};
TraceEvent _TRACE_HD_GEOMETRY_LCHS_GUESS_EVENT = {
    .id = 0,
    .vcpu_id = TRACE_VCPU_EVENT_NONE,
    .name = "hd_geometry_lchs_guess",
    .sstate = TRACE_HD_GEOMETRY_LCHS_GUESS_ENABLED,
    .dstate = &_TRACE_HD_GEOMETRY_LCHS_GUESS_DSTATE 
};
TraceEvent _TRACE_HD_GEOMETRY_GUESS_EVENT = {
    .id = 0,
    .vcpu_id = TRACE_VCPU_EVENT_NONE,
    .name = "hd_geometry_guess",
    .sstate = TRACE_HD_GEOMETRY_GUESS_ENABLED,
    .dstate = &_TRACE_HD_GEOMETRY_GUESS_DSTATE 
};
TraceEvent _TRACE_XEN_BLOCK_REALIZE_EVENT = {
    .id = 0,
    .vcpu_id = TRACE_VCPU_EVENT_NONE,
    .name = "xen_block_realize",
    .sstate = TRACE_XEN_BLOCK_REALIZE_ENABLED,
    .dstate = &_TRACE_XEN_BLOCK_REALIZE_DSTATE 
};
TraceEvent _TRACE_XEN_BLOCK_CONNECT_EVENT = {
    .id = 0,
    .vcpu_id = TRACE_VCPU_EVENT_NONE,
    .name = "xen_block_connect",
    .sstate = TRACE_XEN_BLOCK_CONNECT_ENABLED,
    .dstate = &_TRACE_XEN_BLOCK_CONNECT_DSTATE 
};
TraceEvent _TRACE_XEN_BLOCK_DISCONNECT_EVENT = {
    .id = 0,
    .vcpu_id = TRACE_VCPU_EVENT_NONE,
    .name = "xen_block_disconnect",
    .sstate = TRACE_XEN_BLOCK_DISCONNECT_ENABLED,
    .dstate = &_TRACE_XEN_BLOCK_DISCONNECT_DSTATE 
};
TraceEvent _TRACE_XEN_BLOCK_UNREALIZE_EVENT = {
    .id = 0,
    .vcpu_id = TRACE_VCPU_EVENT_NONE,
    .name = "xen_block_unrealize",
    .sstate = TRACE_XEN_BLOCK_UNREALIZE_ENABLED,
    .dstate = &_TRACE_XEN_BLOCK_UNREALIZE_DSTATE 
};
TraceEvent _TRACE_XEN_BLOCK_SIZE_EVENT = {
    .id = 0,
    .vcpu_id = TRACE_VCPU_EVENT_NONE,
    .name = "xen_block_size",
    .sstate = TRACE_XEN_BLOCK_SIZE_ENABLED,
    .dstate = &_TRACE_XEN_BLOCK_SIZE_DSTATE 
};
TraceEvent _TRACE_XEN_DISK_REALIZE_EVENT = {
    .id = 0,
    .vcpu_id = TRACE_VCPU_EVENT_NONE,
    .name = "xen_disk_realize",
    .sstate = TRACE_XEN_DISK_REALIZE_ENABLED,
    .dstate = &_TRACE_XEN_DISK_REALIZE_DSTATE 
};
TraceEvent _TRACE_XEN_DISK_UNREALIZE_EVENT = {
    .id = 0,
    .vcpu_id = TRACE_VCPU_EVENT_NONE,
    .name = "xen_disk_unrealize",
    .sstate = TRACE_XEN_DISK_UNREALIZE_ENABLED,
    .dstate = &_TRACE_XEN_DISK_UNREALIZE_DSTATE 
};
TraceEvent _TRACE_XEN_CDROM_REALIZE_EVENT = {
    .id = 0,
    .vcpu_id = TRACE_VCPU_EVENT_NONE,
    .name = "xen_cdrom_realize",
    .sstate = TRACE_XEN_CDROM_REALIZE_ENABLED,
    .dstate = &_TRACE_XEN_CDROM_REALIZE_DSTATE 
};
TraceEvent _TRACE_XEN_CDROM_UNREALIZE_EVENT = {
    .id = 0,
    .vcpu_id = TRACE_VCPU_EVENT_NONE,
    .name = "xen_cdrom_unrealize",
    .sstate = TRACE_XEN_CDROM_UNREALIZE_ENABLED,
    .dstate = &_TRACE_XEN_CDROM_UNREALIZE_DSTATE 
};
TraceEvent _TRACE_XEN_BLOCK_BLOCKDEV_ADD_EVENT = {
    .id = 0,
    .vcpu_id = TRACE_VCPU_EVENT_NONE,
    .name = "xen_block_blockdev_add",
    .sstate = TRACE_XEN_BLOCK_BLOCKDEV_ADD_ENABLED,
    .dstate = &_TRACE_XEN_BLOCK_BLOCKDEV_ADD_DSTATE 
};
TraceEvent _TRACE_XEN_BLOCK_BLOCKDEV_DEL_EVENT = {
    .id = 0,
    .vcpu_id = TRACE_VCPU_EVENT_NONE,
    .name = "xen_block_blockdev_del",
    .sstate = TRACE_XEN_BLOCK_BLOCKDEV_DEL_ENABLED,
    .dstate = &_TRACE_XEN_BLOCK_BLOCKDEV_DEL_DSTATE 
};
TraceEvent _TRACE_XEN_BLOCK_DEVICE_CREATE_EVENT = {
    .id = 0,
    .vcpu_id = TRACE_VCPU_EVENT_NONE,
    .name = "xen_block_device_create",
    .sstate = TRACE_XEN_BLOCK_DEVICE_CREATE_ENABLED,
    .dstate = &_TRACE_XEN_BLOCK_DEVICE_CREATE_DSTATE 
};
TraceEvent _TRACE_XEN_BLOCK_DEVICE_DESTROY_EVENT = {
    .id = 0,
    .vcpu_id = TRACE_VCPU_EVENT_NONE,
    .name = "xen_block_device_destroy",
    .sstate = TRACE_XEN_BLOCK_DEVICE_DESTROY_ENABLED,
    .dstate = &_TRACE_XEN_BLOCK_DEVICE_DESTROY_DSTATE 
};
TraceEvent _TRACE_M25P80_FLASH_ERASE_EVENT = {
    .id = 0,
    .vcpu_id = TRACE_VCPU_EVENT_NONE,
    .name = "m25p80_flash_erase",
    .sstate = TRACE_M25P80_FLASH_ERASE_ENABLED,
    .dstate = &_TRACE_M25P80_FLASH_ERASE_DSTATE 
};
TraceEvent _TRACE_M25P80_PROGRAMMING_ZERO_TO_ONE_EVENT = {
    .id = 0,
    .vcpu_id = TRACE_VCPU_EVENT_NONE,
    .name = "m25p80_programming_zero_to_one",
    .sstate = TRACE_M25P80_PROGRAMMING_ZERO_TO_ONE_ENABLED,
    .dstate = &_TRACE_M25P80_PROGRAMMING_ZERO_TO_ONE_DSTATE 
};
TraceEvent _TRACE_M25P80_RESET_DONE_EVENT = {
    .id = 0,
    .vcpu_id = TRACE_VCPU_EVENT_NONE,
    .name = "m25p80_reset_done",
    .sstate = TRACE_M25P80_RESET_DONE_ENABLED,
    .dstate = &_TRACE_M25P80_RESET_DONE_DSTATE 
};
TraceEvent _TRACE_M25P80_COMMAND_DECODED_EVENT = {
    .id = 0,
    .vcpu_id = TRACE_VCPU_EVENT_NONE,
    .name = "m25p80_command_decoded",
    .sstate = TRACE_M25P80_COMMAND_DECODED_ENABLED,
    .dstate = &_TRACE_M25P80_COMMAND_DECODED_DSTATE 
};
TraceEvent _TRACE_M25P80_COMPLETE_COLLECTING_EVENT = {
    .id = 0,
    .vcpu_id = TRACE_VCPU_EVENT_NONE,
    .name = "m25p80_complete_collecting",
    .sstate = TRACE_M25P80_COMPLETE_COLLECTING_ENABLED,
    .dstate = &_TRACE_M25P80_COMPLETE_COLLECTING_DSTATE 
};
TraceEvent _TRACE_M25P80_POPULATED_JEDEC_EVENT = {
    .id = 0,
    .vcpu_id = TRACE_VCPU_EVENT_NONE,
    .name = "m25p80_populated_jedec",
    .sstate = TRACE_M25P80_POPULATED_JEDEC_ENABLED,
    .dstate = &_TRACE_M25P80_POPULATED_JEDEC_DSTATE 
};
TraceEvent _TRACE_M25P80_CHIP_ERASE_EVENT = {
    .id = 0,
    .vcpu_id = TRACE_VCPU_EVENT_NONE,
    .name = "m25p80_chip_erase",
    .sstate = TRACE_M25P80_CHIP_ERASE_ENABLED,
    .dstate = &_TRACE_M25P80_CHIP_ERASE_DSTATE 
};
TraceEvent _TRACE_M25P80_SELECT_EVENT = {
    .id = 0,
    .vcpu_id = TRACE_VCPU_EVENT_NONE,
    .name = "m25p80_select",
    .sstate = TRACE_M25P80_SELECT_ENABLED,
    .dstate = &_TRACE_M25P80_SELECT_DSTATE 
};
TraceEvent _TRACE_M25P80_PAGE_PROGRAM_EVENT = {
    .id = 0,
    .vcpu_id = TRACE_VCPU_EVENT_NONE,
    .name = "m25p80_page_program",
    .sstate = TRACE_M25P80_PAGE_PROGRAM_ENABLED,
    .dstate = &_TRACE_M25P80_PAGE_PROGRAM_DSTATE 
};
TraceEvent _TRACE_M25P80_TRANSFER_EVENT = {
    .id = 0,
    .vcpu_id = TRACE_VCPU_EVENT_NONE,
    .name = "m25p80_transfer",
    .sstate = TRACE_M25P80_TRANSFER_ENABLED,
    .dstate = &_TRACE_M25P80_TRANSFER_DSTATE 
};
TraceEvent _TRACE_M25P80_READ_BYTE_EVENT = {
    .id = 0,
    .vcpu_id = TRACE_VCPU_EVENT_NONE,
    .name = "m25p80_read_byte",
    .sstate = TRACE_M25P80_READ_BYTE_ENABLED,
    .dstate = &_TRACE_M25P80_READ_BYTE_DSTATE 
};
TraceEvent _TRACE_M25P80_READ_DATA_EVENT = {
    .id = 0,
    .vcpu_id = TRACE_VCPU_EVENT_NONE,
    .name = "m25p80_read_data",
    .sstate = TRACE_M25P80_READ_DATA_ENABLED,
    .dstate = &_TRACE_M25P80_READ_DATA_DSTATE 
};
TraceEvent _TRACE_M25P80_BINDING_EVENT = {
    .id = 0,
    .vcpu_id = TRACE_VCPU_EVENT_NONE,
    .name = "m25p80_binding",
    .sstate = TRACE_M25P80_BINDING_ENABLED,
    .dstate = &_TRACE_M25P80_BINDING_DSTATE 
};
TraceEvent _TRACE_M25P80_BINDING_NO_BDRV_EVENT = {
    .id = 0,
    .vcpu_id = TRACE_VCPU_EVENT_NONE,
    .name = "m25p80_binding_no_bdrv",
    .sstate = TRACE_M25P80_BINDING_NO_BDRV_ENABLED,
    .dstate = &_TRACE_M25P80_BINDING_NO_BDRV_DSTATE 
};
TraceEvent *hw_block_trace_events[] = {
    &_TRACE_FDC_IOPORT_READ_EVENT,
    &_TRACE_FDC_IOPORT_WRITE_EVENT,
    &_TRACE_FDCTRL_TC_PULSE_EVENT,
    &_TRACE_PFLASH_CHIP_ERASE_INVALID_EVENT,
    &_TRACE_PFLASH_CHIP_ERASE_START_EVENT,
    &_TRACE_PFLASH_DATA_READ_EVENT,
    &_TRACE_PFLASH_DATA_WRITE_EVENT,
    &_TRACE_PFLASH_DEVICE_ID_EVENT,
    &_TRACE_PFLASH_DEVICE_INFO_EVENT,
    &_TRACE_PFLASH_ERASE_COMPLETE_EVENT,
    &_TRACE_PFLASH_ERASE_TIMEOUT_EVENT,
    &_TRACE_PFLASH_IO_READ_EVENT,
    &_TRACE_PFLASH_IO_WRITE_EVENT,
    &_TRACE_PFLASH_MANUFACTURER_ID_EVENT,
    &_TRACE_PFLASH_MODE_READ_ARRAY_EVENT,
    &_TRACE_PFLASH_POSTLOAD_CB_EVENT,
    &_TRACE_PFLASH_READ_DONE_EVENT,
    &_TRACE_PFLASH_READ_STATUS_EVENT,
    &_TRACE_PFLASH_READ_UNKNOWN_STATE_EVENT,
    &_TRACE_PFLASH_RESET_EVENT,
    &_TRACE_PFLASH_SECTOR_ERASE_START_EVENT,
    &_TRACE_PFLASH_TIMER_EXPIRED_EVENT,
    &_TRACE_PFLASH_UNLOCK0_FAILED_EVENT,
    &_TRACE_PFLASH_UNLOCK1_FAILED_EVENT,
    &_TRACE_PFLASH_UNSUPPORTED_DEVICE_CONFIGURATION_EVENT,
    &_TRACE_PFLASH_WRITE_EVENT,
    &_TRACE_PFLASH_WRITE_BLOCK_EVENT,
    &_TRACE_PFLASH_WRITE_BLOCK_ERASE_EVENT,
    &_TRACE_PFLASH_WRITE_FAILED_EVENT,
    &_TRACE_PFLASH_WRITE_INVALID_EVENT,
    &_TRACE_PFLASH_WRITE_INVALID_COMMAND_EVENT,
    &_TRACE_PFLASH_WRITE_INVALID_STATE_EVENT,
    &_TRACE_PFLASH_WRITE_START_EVENT,
    &_TRACE_PFLASH_WRITE_UNKNOWN_EVENT,
    &_TRACE_VIRTIO_BLK_REQ_COMPLETE_EVENT,
    &_TRACE_VIRTIO_BLK_RW_COMPLETE_EVENT,
    &_TRACE_VIRTIO_BLK_HANDLE_WRITE_EVENT,
    &_TRACE_VIRTIO_BLK_HANDLE_READ_EVENT,
    &_TRACE_VIRTIO_BLK_SUBMIT_MULTIREQ_EVENT,
    &_TRACE_HD_GEOMETRY_LCHS_GUESS_EVENT,
    &_TRACE_HD_GEOMETRY_GUESS_EVENT,
    &_TRACE_XEN_BLOCK_REALIZE_EVENT,
    &_TRACE_XEN_BLOCK_CONNECT_EVENT,
    &_TRACE_XEN_BLOCK_DISCONNECT_EVENT,
    &_TRACE_XEN_BLOCK_UNREALIZE_EVENT,
    &_TRACE_XEN_BLOCK_SIZE_EVENT,
    &_TRACE_XEN_DISK_REALIZE_EVENT,
    &_TRACE_XEN_DISK_UNREALIZE_EVENT,
    &_TRACE_XEN_CDROM_REALIZE_EVENT,
    &_TRACE_XEN_CDROM_UNREALIZE_EVENT,
    &_TRACE_XEN_BLOCK_BLOCKDEV_ADD_EVENT,
    &_TRACE_XEN_BLOCK_BLOCKDEV_DEL_EVENT,
    &_TRACE_XEN_BLOCK_DEVICE_CREATE_EVENT,
    &_TRACE_XEN_BLOCK_DEVICE_DESTROY_EVENT,
    &_TRACE_M25P80_FLASH_ERASE_EVENT,
    &_TRACE_M25P80_PROGRAMMING_ZERO_TO_ONE_EVENT,
    &_TRACE_M25P80_RESET_DONE_EVENT,
    &_TRACE_M25P80_COMMAND_DECODED_EVENT,
    &_TRACE_M25P80_COMPLETE_COLLECTING_EVENT,
    &_TRACE_M25P80_POPULATED_JEDEC_EVENT,
    &_TRACE_M25P80_CHIP_ERASE_EVENT,
    &_TRACE_M25P80_SELECT_EVENT,
    &_TRACE_M25P80_PAGE_PROGRAM_EVENT,
    &_TRACE_M25P80_TRANSFER_EVENT,
    &_TRACE_M25P80_READ_BYTE_EVENT,
    &_TRACE_M25P80_READ_DATA_EVENT,
    &_TRACE_M25P80_BINDING_EVENT,
    &_TRACE_M25P80_BINDING_NO_BDRV_EVENT,
  NULL,
};

static void trace_hw_block_register_events(void)
{
    trace_event_register_group(hw_block_trace_events);
}
trace_init(trace_hw_block_register_events)
