/* 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-hw_ufs.h"

uint16_t _TRACE_UFS_IRQ_RAISE_DSTATE;
uint16_t _TRACE_UFS_IRQ_LOWER_DSTATE;
uint16_t _TRACE_UFS_MMIO_READ_DSTATE;
uint16_t _TRACE_UFS_MMIO_WRITE_DSTATE;
uint16_t _TRACE_UFS_PROCESS_DB_DSTATE;
uint16_t _TRACE_UFS_PROCESS_REQ_DSTATE;
uint16_t _TRACE_UFS_COMPLETE_REQ_DSTATE;
uint16_t _TRACE_UFS_SENDBACK_REQ_DSTATE;
uint16_t _TRACE_UFS_EXEC_NOP_CMD_DSTATE;
uint16_t _TRACE_UFS_EXEC_SCSI_CMD_DSTATE;
uint16_t _TRACE_UFS_EXEC_QUERY_CMD_DSTATE;
uint16_t _TRACE_UFS_PROCESS_UICCMD_DSTATE;
uint16_t _TRACE_UFS_MCQ_COMPLETE_REQ_DSTATE;
uint16_t _TRACE_UFS_MCQ_CREATE_SQ_DSTATE;
uint16_t _TRACE_UFS_MCQ_CREATE_CQ_DSTATE;
uint16_t _TRACE_UFS_ERR_DMA_READ_UTRD_DSTATE;
uint16_t _TRACE_UFS_ERR_DMA_READ_REQ_UPIU_DSTATE;
uint16_t _TRACE_UFS_ERR_DMA_READ_PRDT_DSTATE;
uint16_t _TRACE_UFS_ERR_DMA_READ_SQ_DSTATE;
uint16_t _TRACE_UFS_ERR_DMA_WRITE_UTRD_DSTATE;
uint16_t _TRACE_UFS_ERR_DMA_WRITE_RSP_UPIU_DSTATE;
uint16_t _TRACE_UFS_ERR_DMA_WRITE_CQ_DSTATE;
uint16_t _TRACE_UFS_ERR_UTRL_SLOT_ERROR_DSTATE;
uint16_t _TRACE_UFS_ERR_UTRL_SLOT_BUSY_DSTATE;
uint16_t _TRACE_UFS_ERR_UNSUPPORT_REGISTER_OFFSET_DSTATE;
uint16_t _TRACE_UFS_ERR_INVALID_REGISTER_OFFSET_DSTATE;
uint16_t _TRACE_UFS_ERR_SCSI_CMD_INVALID_LUN_DSTATE;
uint16_t _TRACE_UFS_ERR_QUERY_FLAG_NOT_READABLE_DSTATE;
uint16_t _TRACE_UFS_ERR_QUERY_FLAG_NOT_WRITABLE_DSTATE;
uint16_t _TRACE_UFS_ERR_QUERY_ATTR_NOT_READABLE_DSTATE;
uint16_t _TRACE_UFS_ERR_QUERY_ATTR_NOT_WRITABLE_DSTATE;
uint16_t _TRACE_UFS_ERR_QUERY_INVALID_OPCODE_DSTATE;
uint16_t _TRACE_UFS_ERR_QUERY_INVALID_IDN_DSTATE;
uint16_t _TRACE_UFS_ERR_QUERY_INVALID_INDEX_DSTATE;
uint16_t _TRACE_UFS_ERR_INVALID_TRANS_CODE_DSTATE;
uint16_t _TRACE_UFS_ERR_MCQ_DB_WR_INVALID_SQID_DSTATE;
uint16_t _TRACE_UFS_ERR_MCQ_DB_WR_INVALID_DB_DSTATE;
uint16_t _TRACE_UFS_ERR_MCQ_CREATE_SQ_INVALID_SQID_DSTATE;
uint16_t _TRACE_UFS_ERR_MCQ_CREATE_SQ_INVALID_CQID_DSTATE;
uint16_t _TRACE_UFS_ERR_MCQ_CREATE_SQ_ALREADY_EXISTS_DSTATE;
uint16_t _TRACE_UFS_ERR_MCQ_DELETE_SQ_INVALID_SQID_DSTATE;
uint16_t _TRACE_UFS_ERR_MCQ_DELETE_SQ_NOT_EXISTS_DSTATE;
uint16_t _TRACE_UFS_ERR_MCQ_CREATE_CQ_INVALID_CQID_DSTATE;
uint16_t _TRACE_UFS_ERR_MCQ_CREATE_CQ_ALREADY_EXISTS_DSTATE;
uint16_t _TRACE_UFS_ERR_MCQ_DELETE_CQ_INVALID_CQID_DSTATE;
uint16_t _TRACE_UFS_ERR_MCQ_DELETE_CQ_NOT_EXISTS_DSTATE;
uint16_t _TRACE_UFS_ERR_MCQ_DELETE_CQ_SQ_NOT_DELETED_DSTATE;
TraceEvent _TRACE_UFS_IRQ_RAISE_EVENT = {
    .id = 0,
    .name = "ufs_irq_raise",
    .sstate = TRACE_UFS_IRQ_RAISE_ENABLED,
    .dstate = &_TRACE_UFS_IRQ_RAISE_DSTATE
};
TraceEvent _TRACE_UFS_IRQ_LOWER_EVENT = {
    .id = 0,
    .name = "ufs_irq_lower",
    .sstate = TRACE_UFS_IRQ_LOWER_ENABLED,
    .dstate = &_TRACE_UFS_IRQ_LOWER_DSTATE
};
TraceEvent _TRACE_UFS_MMIO_READ_EVENT = {
    .id = 0,
    .name = "ufs_mmio_read",
    .sstate = TRACE_UFS_MMIO_READ_ENABLED,
    .dstate = &_TRACE_UFS_MMIO_READ_DSTATE
};
TraceEvent _TRACE_UFS_MMIO_WRITE_EVENT = {
    .id = 0,
    .name = "ufs_mmio_write",
    .sstate = TRACE_UFS_MMIO_WRITE_ENABLED,
    .dstate = &_TRACE_UFS_MMIO_WRITE_DSTATE
};
TraceEvent _TRACE_UFS_PROCESS_DB_EVENT = {
    .id = 0,
    .name = "ufs_process_db",
    .sstate = TRACE_UFS_PROCESS_DB_ENABLED,
    .dstate = &_TRACE_UFS_PROCESS_DB_DSTATE
};
TraceEvent _TRACE_UFS_PROCESS_REQ_EVENT = {
    .id = 0,
    .name = "ufs_process_req",
    .sstate = TRACE_UFS_PROCESS_REQ_ENABLED,
    .dstate = &_TRACE_UFS_PROCESS_REQ_DSTATE
};
TraceEvent _TRACE_UFS_COMPLETE_REQ_EVENT = {
    .id = 0,
    .name = "ufs_complete_req",
    .sstate = TRACE_UFS_COMPLETE_REQ_ENABLED,
    .dstate = &_TRACE_UFS_COMPLETE_REQ_DSTATE
};
TraceEvent _TRACE_UFS_SENDBACK_REQ_EVENT = {
    .id = 0,
    .name = "ufs_sendback_req",
    .sstate = TRACE_UFS_SENDBACK_REQ_ENABLED,
    .dstate = &_TRACE_UFS_SENDBACK_REQ_DSTATE
};
TraceEvent _TRACE_UFS_EXEC_NOP_CMD_EVENT = {
    .id = 0,
    .name = "ufs_exec_nop_cmd",
    .sstate = TRACE_UFS_EXEC_NOP_CMD_ENABLED,
    .dstate = &_TRACE_UFS_EXEC_NOP_CMD_DSTATE
};
TraceEvent _TRACE_UFS_EXEC_SCSI_CMD_EVENT = {
    .id = 0,
    .name = "ufs_exec_scsi_cmd",
    .sstate = TRACE_UFS_EXEC_SCSI_CMD_ENABLED,
    .dstate = &_TRACE_UFS_EXEC_SCSI_CMD_DSTATE
};
TraceEvent _TRACE_UFS_EXEC_QUERY_CMD_EVENT = {
    .id = 0,
    .name = "ufs_exec_query_cmd",
    .sstate = TRACE_UFS_EXEC_QUERY_CMD_ENABLED,
    .dstate = &_TRACE_UFS_EXEC_QUERY_CMD_DSTATE
};
TraceEvent _TRACE_UFS_PROCESS_UICCMD_EVENT = {
    .id = 0,
    .name = "ufs_process_uiccmd",
    .sstate = TRACE_UFS_PROCESS_UICCMD_ENABLED,
    .dstate = &_TRACE_UFS_PROCESS_UICCMD_DSTATE
};
TraceEvent _TRACE_UFS_MCQ_COMPLETE_REQ_EVENT = {
    .id = 0,
    .name = "ufs_mcq_complete_req",
    .sstate = TRACE_UFS_MCQ_COMPLETE_REQ_ENABLED,
    .dstate = &_TRACE_UFS_MCQ_COMPLETE_REQ_DSTATE
};
TraceEvent _TRACE_UFS_MCQ_CREATE_SQ_EVENT = {
    .id = 0,
    .name = "ufs_mcq_create_sq",
    .sstate = TRACE_UFS_MCQ_CREATE_SQ_ENABLED,
    .dstate = &_TRACE_UFS_MCQ_CREATE_SQ_DSTATE
};
TraceEvent _TRACE_UFS_MCQ_CREATE_CQ_EVENT = {
    .id = 0,
    .name = "ufs_mcq_create_cq",
    .sstate = TRACE_UFS_MCQ_CREATE_CQ_ENABLED,
    .dstate = &_TRACE_UFS_MCQ_CREATE_CQ_DSTATE
};
TraceEvent _TRACE_UFS_ERR_DMA_READ_UTRD_EVENT = {
    .id = 0,
    .name = "ufs_err_dma_read_utrd",
    .sstate = TRACE_UFS_ERR_DMA_READ_UTRD_ENABLED,
    .dstate = &_TRACE_UFS_ERR_DMA_READ_UTRD_DSTATE
};
TraceEvent _TRACE_UFS_ERR_DMA_READ_REQ_UPIU_EVENT = {
    .id = 0,
    .name = "ufs_err_dma_read_req_upiu",
    .sstate = TRACE_UFS_ERR_DMA_READ_REQ_UPIU_ENABLED,
    .dstate = &_TRACE_UFS_ERR_DMA_READ_REQ_UPIU_DSTATE
};
TraceEvent _TRACE_UFS_ERR_DMA_READ_PRDT_EVENT = {
    .id = 0,
    .name = "ufs_err_dma_read_prdt",
    .sstate = TRACE_UFS_ERR_DMA_READ_PRDT_ENABLED,
    .dstate = &_TRACE_UFS_ERR_DMA_READ_PRDT_DSTATE
};
TraceEvent _TRACE_UFS_ERR_DMA_READ_SQ_EVENT = {
    .id = 0,
    .name = "ufs_err_dma_read_sq",
    .sstate = TRACE_UFS_ERR_DMA_READ_SQ_ENABLED,
    .dstate = &_TRACE_UFS_ERR_DMA_READ_SQ_DSTATE
};
TraceEvent _TRACE_UFS_ERR_DMA_WRITE_UTRD_EVENT = {
    .id = 0,
    .name = "ufs_err_dma_write_utrd",
    .sstate = TRACE_UFS_ERR_DMA_WRITE_UTRD_ENABLED,
    .dstate = &_TRACE_UFS_ERR_DMA_WRITE_UTRD_DSTATE
};
TraceEvent _TRACE_UFS_ERR_DMA_WRITE_RSP_UPIU_EVENT = {
    .id = 0,
    .name = "ufs_err_dma_write_rsp_upiu",
    .sstate = TRACE_UFS_ERR_DMA_WRITE_RSP_UPIU_ENABLED,
    .dstate = &_TRACE_UFS_ERR_DMA_WRITE_RSP_UPIU_DSTATE
};
TraceEvent _TRACE_UFS_ERR_DMA_WRITE_CQ_EVENT = {
    .id = 0,
    .name = "ufs_err_dma_write_cq",
    .sstate = TRACE_UFS_ERR_DMA_WRITE_CQ_ENABLED,
    .dstate = &_TRACE_UFS_ERR_DMA_WRITE_CQ_DSTATE
};
TraceEvent _TRACE_UFS_ERR_UTRL_SLOT_ERROR_EVENT = {
    .id = 0,
    .name = "ufs_err_utrl_slot_error",
    .sstate = TRACE_UFS_ERR_UTRL_SLOT_ERROR_ENABLED,
    .dstate = &_TRACE_UFS_ERR_UTRL_SLOT_ERROR_DSTATE
};
TraceEvent _TRACE_UFS_ERR_UTRL_SLOT_BUSY_EVENT = {
    .id = 0,
    .name = "ufs_err_utrl_slot_busy",
    .sstate = TRACE_UFS_ERR_UTRL_SLOT_BUSY_ENABLED,
    .dstate = &_TRACE_UFS_ERR_UTRL_SLOT_BUSY_DSTATE
};
TraceEvent _TRACE_UFS_ERR_UNSUPPORT_REGISTER_OFFSET_EVENT = {
    .id = 0,
    .name = "ufs_err_unsupport_register_offset",
    .sstate = TRACE_UFS_ERR_UNSUPPORT_REGISTER_OFFSET_ENABLED,
    .dstate = &_TRACE_UFS_ERR_UNSUPPORT_REGISTER_OFFSET_DSTATE
};
TraceEvent _TRACE_UFS_ERR_INVALID_REGISTER_OFFSET_EVENT = {
    .id = 0,
    .name = "ufs_err_invalid_register_offset",
    .sstate = TRACE_UFS_ERR_INVALID_REGISTER_OFFSET_ENABLED,
    .dstate = &_TRACE_UFS_ERR_INVALID_REGISTER_OFFSET_DSTATE
};
TraceEvent _TRACE_UFS_ERR_SCSI_CMD_INVALID_LUN_EVENT = {
    .id = 0,
    .name = "ufs_err_scsi_cmd_invalid_lun",
    .sstate = TRACE_UFS_ERR_SCSI_CMD_INVALID_LUN_ENABLED,
    .dstate = &_TRACE_UFS_ERR_SCSI_CMD_INVALID_LUN_DSTATE
};
TraceEvent _TRACE_UFS_ERR_QUERY_FLAG_NOT_READABLE_EVENT = {
    .id = 0,
    .name = "ufs_err_query_flag_not_readable",
    .sstate = TRACE_UFS_ERR_QUERY_FLAG_NOT_READABLE_ENABLED,
    .dstate = &_TRACE_UFS_ERR_QUERY_FLAG_NOT_READABLE_DSTATE
};
TraceEvent _TRACE_UFS_ERR_QUERY_FLAG_NOT_WRITABLE_EVENT = {
    .id = 0,
    .name = "ufs_err_query_flag_not_writable",
    .sstate = TRACE_UFS_ERR_QUERY_FLAG_NOT_WRITABLE_ENABLED,
    .dstate = &_TRACE_UFS_ERR_QUERY_FLAG_NOT_WRITABLE_DSTATE
};
TraceEvent _TRACE_UFS_ERR_QUERY_ATTR_NOT_READABLE_EVENT = {
    .id = 0,
    .name = "ufs_err_query_attr_not_readable",
    .sstate = TRACE_UFS_ERR_QUERY_ATTR_NOT_READABLE_ENABLED,
    .dstate = &_TRACE_UFS_ERR_QUERY_ATTR_NOT_READABLE_DSTATE
};
TraceEvent _TRACE_UFS_ERR_QUERY_ATTR_NOT_WRITABLE_EVENT = {
    .id = 0,
    .name = "ufs_err_query_attr_not_writable",
    .sstate = TRACE_UFS_ERR_QUERY_ATTR_NOT_WRITABLE_ENABLED,
    .dstate = &_TRACE_UFS_ERR_QUERY_ATTR_NOT_WRITABLE_DSTATE
};
TraceEvent _TRACE_UFS_ERR_QUERY_INVALID_OPCODE_EVENT = {
    .id = 0,
    .name = "ufs_err_query_invalid_opcode",
    .sstate = TRACE_UFS_ERR_QUERY_INVALID_OPCODE_ENABLED,
    .dstate = &_TRACE_UFS_ERR_QUERY_INVALID_OPCODE_DSTATE
};
TraceEvent _TRACE_UFS_ERR_QUERY_INVALID_IDN_EVENT = {
    .id = 0,
    .name = "ufs_err_query_invalid_idn",
    .sstate = TRACE_UFS_ERR_QUERY_INVALID_IDN_ENABLED,
    .dstate = &_TRACE_UFS_ERR_QUERY_INVALID_IDN_DSTATE
};
TraceEvent _TRACE_UFS_ERR_QUERY_INVALID_INDEX_EVENT = {
    .id = 0,
    .name = "ufs_err_query_invalid_index",
    .sstate = TRACE_UFS_ERR_QUERY_INVALID_INDEX_ENABLED,
    .dstate = &_TRACE_UFS_ERR_QUERY_INVALID_INDEX_DSTATE
};
TraceEvent _TRACE_UFS_ERR_INVALID_TRANS_CODE_EVENT = {
    .id = 0,
    .name = "ufs_err_invalid_trans_code",
    .sstate = TRACE_UFS_ERR_INVALID_TRANS_CODE_ENABLED,
    .dstate = &_TRACE_UFS_ERR_INVALID_TRANS_CODE_DSTATE
};
TraceEvent _TRACE_UFS_ERR_MCQ_DB_WR_INVALID_SQID_EVENT = {
    .id = 0,
    .name = "ufs_err_mcq_db_wr_invalid_sqid",
    .sstate = TRACE_UFS_ERR_MCQ_DB_WR_INVALID_SQID_ENABLED,
    .dstate = &_TRACE_UFS_ERR_MCQ_DB_WR_INVALID_SQID_DSTATE
};
TraceEvent _TRACE_UFS_ERR_MCQ_DB_WR_INVALID_DB_EVENT = {
    .id = 0,
    .name = "ufs_err_mcq_db_wr_invalid_db",
    .sstate = TRACE_UFS_ERR_MCQ_DB_WR_INVALID_DB_ENABLED,
    .dstate = &_TRACE_UFS_ERR_MCQ_DB_WR_INVALID_DB_DSTATE
};
TraceEvent _TRACE_UFS_ERR_MCQ_CREATE_SQ_INVALID_SQID_EVENT = {
    .id = 0,
    .name = "ufs_err_mcq_create_sq_invalid_sqid",
    .sstate = TRACE_UFS_ERR_MCQ_CREATE_SQ_INVALID_SQID_ENABLED,
    .dstate = &_TRACE_UFS_ERR_MCQ_CREATE_SQ_INVALID_SQID_DSTATE
};
TraceEvent _TRACE_UFS_ERR_MCQ_CREATE_SQ_INVALID_CQID_EVENT = {
    .id = 0,
    .name = "ufs_err_mcq_create_sq_invalid_cqid",
    .sstate = TRACE_UFS_ERR_MCQ_CREATE_SQ_INVALID_CQID_ENABLED,
    .dstate = &_TRACE_UFS_ERR_MCQ_CREATE_SQ_INVALID_CQID_DSTATE
};
TraceEvent _TRACE_UFS_ERR_MCQ_CREATE_SQ_ALREADY_EXISTS_EVENT = {
    .id = 0,
    .name = "ufs_err_mcq_create_sq_already_exists",
    .sstate = TRACE_UFS_ERR_MCQ_CREATE_SQ_ALREADY_EXISTS_ENABLED,
    .dstate = &_TRACE_UFS_ERR_MCQ_CREATE_SQ_ALREADY_EXISTS_DSTATE
};
TraceEvent _TRACE_UFS_ERR_MCQ_DELETE_SQ_INVALID_SQID_EVENT = {
    .id = 0,
    .name = "ufs_err_mcq_delete_sq_invalid_sqid",
    .sstate = TRACE_UFS_ERR_MCQ_DELETE_SQ_INVALID_SQID_ENABLED,
    .dstate = &_TRACE_UFS_ERR_MCQ_DELETE_SQ_INVALID_SQID_DSTATE
};
TraceEvent _TRACE_UFS_ERR_MCQ_DELETE_SQ_NOT_EXISTS_EVENT = {
    .id = 0,
    .name = "ufs_err_mcq_delete_sq_not_exists",
    .sstate = TRACE_UFS_ERR_MCQ_DELETE_SQ_NOT_EXISTS_ENABLED,
    .dstate = &_TRACE_UFS_ERR_MCQ_DELETE_SQ_NOT_EXISTS_DSTATE
};
TraceEvent _TRACE_UFS_ERR_MCQ_CREATE_CQ_INVALID_CQID_EVENT = {
    .id = 0,
    .name = "ufs_err_mcq_create_cq_invalid_cqid",
    .sstate = TRACE_UFS_ERR_MCQ_CREATE_CQ_INVALID_CQID_ENABLED,
    .dstate = &_TRACE_UFS_ERR_MCQ_CREATE_CQ_INVALID_CQID_DSTATE
};
TraceEvent _TRACE_UFS_ERR_MCQ_CREATE_CQ_ALREADY_EXISTS_EVENT = {
    .id = 0,
    .name = "ufs_err_mcq_create_cq_already_exists",
    .sstate = TRACE_UFS_ERR_MCQ_CREATE_CQ_ALREADY_EXISTS_ENABLED,
    .dstate = &_TRACE_UFS_ERR_MCQ_CREATE_CQ_ALREADY_EXISTS_DSTATE
};
TraceEvent _TRACE_UFS_ERR_MCQ_DELETE_CQ_INVALID_CQID_EVENT = {
    .id = 0,
    .name = "ufs_err_mcq_delete_cq_invalid_cqid",
    .sstate = TRACE_UFS_ERR_MCQ_DELETE_CQ_INVALID_CQID_ENABLED,
    .dstate = &_TRACE_UFS_ERR_MCQ_DELETE_CQ_INVALID_CQID_DSTATE
};
TraceEvent _TRACE_UFS_ERR_MCQ_DELETE_CQ_NOT_EXISTS_EVENT = {
    .id = 0,
    .name = "ufs_err_mcq_delete_cq_not_exists",
    .sstate = TRACE_UFS_ERR_MCQ_DELETE_CQ_NOT_EXISTS_ENABLED,
    .dstate = &_TRACE_UFS_ERR_MCQ_DELETE_CQ_NOT_EXISTS_DSTATE
};
TraceEvent _TRACE_UFS_ERR_MCQ_DELETE_CQ_SQ_NOT_DELETED_EVENT = {
    .id = 0,
    .name = "ufs_err_mcq_delete_cq_sq_not_deleted",
    .sstate = TRACE_UFS_ERR_MCQ_DELETE_CQ_SQ_NOT_DELETED_ENABLED,
    .dstate = &_TRACE_UFS_ERR_MCQ_DELETE_CQ_SQ_NOT_DELETED_DSTATE
};
TraceEvent *hw_ufs_trace_events[] = {
    &_TRACE_UFS_IRQ_RAISE_EVENT,
    &_TRACE_UFS_IRQ_LOWER_EVENT,
    &_TRACE_UFS_MMIO_READ_EVENT,
    &_TRACE_UFS_MMIO_WRITE_EVENT,
    &_TRACE_UFS_PROCESS_DB_EVENT,
    &_TRACE_UFS_PROCESS_REQ_EVENT,
    &_TRACE_UFS_COMPLETE_REQ_EVENT,
    &_TRACE_UFS_SENDBACK_REQ_EVENT,
    &_TRACE_UFS_EXEC_NOP_CMD_EVENT,
    &_TRACE_UFS_EXEC_SCSI_CMD_EVENT,
    &_TRACE_UFS_EXEC_QUERY_CMD_EVENT,
    &_TRACE_UFS_PROCESS_UICCMD_EVENT,
    &_TRACE_UFS_MCQ_COMPLETE_REQ_EVENT,
    &_TRACE_UFS_MCQ_CREATE_SQ_EVENT,
    &_TRACE_UFS_MCQ_CREATE_CQ_EVENT,
    &_TRACE_UFS_ERR_DMA_READ_UTRD_EVENT,
    &_TRACE_UFS_ERR_DMA_READ_REQ_UPIU_EVENT,
    &_TRACE_UFS_ERR_DMA_READ_PRDT_EVENT,
    &_TRACE_UFS_ERR_DMA_READ_SQ_EVENT,
    &_TRACE_UFS_ERR_DMA_WRITE_UTRD_EVENT,
    &_TRACE_UFS_ERR_DMA_WRITE_RSP_UPIU_EVENT,
    &_TRACE_UFS_ERR_DMA_WRITE_CQ_EVENT,
    &_TRACE_UFS_ERR_UTRL_SLOT_ERROR_EVENT,
    &_TRACE_UFS_ERR_UTRL_SLOT_BUSY_EVENT,
    &_TRACE_UFS_ERR_UNSUPPORT_REGISTER_OFFSET_EVENT,
    &_TRACE_UFS_ERR_INVALID_REGISTER_OFFSET_EVENT,
    &_TRACE_UFS_ERR_SCSI_CMD_INVALID_LUN_EVENT,
    &_TRACE_UFS_ERR_QUERY_FLAG_NOT_READABLE_EVENT,
    &_TRACE_UFS_ERR_QUERY_FLAG_NOT_WRITABLE_EVENT,
    &_TRACE_UFS_ERR_QUERY_ATTR_NOT_READABLE_EVENT,
    &_TRACE_UFS_ERR_QUERY_ATTR_NOT_WRITABLE_EVENT,
    &_TRACE_UFS_ERR_QUERY_INVALID_OPCODE_EVENT,
    &_TRACE_UFS_ERR_QUERY_INVALID_IDN_EVENT,
    &_TRACE_UFS_ERR_QUERY_INVALID_INDEX_EVENT,
    &_TRACE_UFS_ERR_INVALID_TRANS_CODE_EVENT,
    &_TRACE_UFS_ERR_MCQ_DB_WR_INVALID_SQID_EVENT,
    &_TRACE_UFS_ERR_MCQ_DB_WR_INVALID_DB_EVENT,
    &_TRACE_UFS_ERR_MCQ_CREATE_SQ_INVALID_SQID_EVENT,
    &_TRACE_UFS_ERR_MCQ_CREATE_SQ_INVALID_CQID_EVENT,
    &_TRACE_UFS_ERR_MCQ_CREATE_SQ_ALREADY_EXISTS_EVENT,
    &_TRACE_UFS_ERR_MCQ_DELETE_SQ_INVALID_SQID_EVENT,
    &_TRACE_UFS_ERR_MCQ_DELETE_SQ_NOT_EXISTS_EVENT,
    &_TRACE_UFS_ERR_MCQ_CREATE_CQ_INVALID_CQID_EVENT,
    &_TRACE_UFS_ERR_MCQ_CREATE_CQ_ALREADY_EXISTS_EVENT,
    &_TRACE_UFS_ERR_MCQ_DELETE_CQ_INVALID_CQID_EVENT,
    &_TRACE_UFS_ERR_MCQ_DELETE_CQ_NOT_EXISTS_EVENT,
    &_TRACE_UFS_ERR_MCQ_DELETE_CQ_SQ_NOT_DELETED_EVENT,
  NULL,
};

static void trace_hw_ufs_register_events(void)
{
    trace_event_register_group(hw_ufs_trace_events);
}
trace_init(trace_hw_ufs_register_events)
