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

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

uint16_t _TRACE_CS4231_MEM_READL_DREG_DSTATE;
uint16_t _TRACE_CS4231_MEM_READL_REG_DSTATE;
uint16_t _TRACE_CS4231_MEM_WRITEL_REG_DSTATE;
uint16_t _TRACE_CS4231_MEM_WRITEL_DREG_DSTATE;
uint16_t _TRACE_ES1370_FRAME_ADDRESS_RD_DSTATE;
uint16_t _TRACE_ES1370_FRAME_ADDRESS_WR_DSTATE;
uint16_t _TRACE_ES1370_FRAME_COUNT_RD_DSTATE;
uint16_t _TRACE_ES1370_FRAME_COUNT_WR_DSTATE;
uint16_t _TRACE_ES1370_LOST_INTERRUPT_DSTATE;
uint16_t _TRACE_ES1370_SAMPLE_COUNT_RD_DSTATE;
uint16_t _TRACE_ES1370_SAMPLE_COUNT_WR_DSTATE;
uint16_t _TRACE_ES1370_STREAM_FORMAT_DSTATE;
uint16_t _TRACE_ES1370_TRANSFER_AUDIO_DSTATE;
uint16_t _TRACE_HDA_AUDIO_RUNNING_DSTATE;
uint16_t _TRACE_HDA_AUDIO_FORMAT_DSTATE;
uint16_t _TRACE_HDA_AUDIO_ADJUST_DSTATE;
uint16_t _TRACE_HDA_AUDIO_OVERRUN_DSTATE;
uint16_t _TRACE_VIA_AC97_CODEC_WRITE_DSTATE;
uint16_t _TRACE_VIA_AC97_SGD_FETCH_DSTATE;
uint16_t _TRACE_VIA_AC97_SGD_READ_DSTATE;
uint16_t _TRACE_VIA_AC97_SGD_WRITE_DSTATE;
uint16_t _TRACE_ASC_READ_FIFO_DSTATE;
uint16_t _TRACE_ASC_READ_REG_DSTATE;
uint16_t _TRACE_ASC_READ_EXTREG_DSTATE;
uint16_t _TRACE_ASC_FIFO_GET_DSTATE;
uint16_t _TRACE_ASC_WRITE_FIFO_DSTATE;
uint16_t _TRACE_ASC_WRITE_REG_DSTATE;
uint16_t _TRACE_ASC_WRITE_EXTREG_DSTATE;
uint16_t _TRACE_ASC_UPDATE_IRQ_DSTATE;
uint16_t _TRACE_VIRTIO_SND_GET_CONFIG_DSTATE;
uint16_t _TRACE_VIRTIO_SND_GET_FEATURES_DSTATE;
uint16_t _TRACE_VIRTIO_SND_VM_STATE_RUNNING_DSTATE;
uint16_t _TRACE_VIRTIO_SND_VM_STATE_STOPPED_DSTATE;
uint16_t _TRACE_VIRTIO_SND_REALIZE_DSTATE;
uint16_t _TRACE_VIRTIO_SND_UNREALIZE_DSTATE;
uint16_t _TRACE_VIRTIO_SND_HANDLE_PCM_SET_PARAMS_DSTATE;
uint16_t _TRACE_VIRTIO_SND_HANDLE_CTRL_DSTATE;
uint16_t _TRACE_VIRTIO_SND_HANDLE_PCM_INFO_DSTATE;
uint16_t _TRACE_VIRTIO_SND_HANDLE_PCM_START_STOP_DSTATE;
uint16_t _TRACE_VIRTIO_SND_HANDLE_PCM_RELEASE_DSTATE;
uint16_t _TRACE_VIRTIO_SND_HANDLE_CODE_DSTATE;
uint16_t _TRACE_VIRTIO_SND_HANDLE_CHMAP_INFO_DSTATE;
uint16_t _TRACE_VIRTIO_SND_HANDLE_EVENT_DSTATE;
uint16_t _TRACE_VIRTIO_SND_PCM_STREAM_FLUSH_DSTATE;
uint16_t _TRACE_VIRTIO_SND_HANDLE_TX_XFER_DSTATE;
uint16_t _TRACE_VIRTIO_SND_HANDLE_RX_XFER_DSTATE;
TraceEvent _TRACE_CS4231_MEM_READL_DREG_EVENT = {
    .id = 0,
    .name = "cs4231_mem_readl_dreg",
    .sstate = TRACE_CS4231_MEM_READL_DREG_ENABLED,
    .dstate = &_TRACE_CS4231_MEM_READL_DREG_DSTATE 
};
TraceEvent _TRACE_CS4231_MEM_READL_REG_EVENT = {
    .id = 0,
    .name = "cs4231_mem_readl_reg",
    .sstate = TRACE_CS4231_MEM_READL_REG_ENABLED,
    .dstate = &_TRACE_CS4231_MEM_READL_REG_DSTATE 
};
TraceEvent _TRACE_CS4231_MEM_WRITEL_REG_EVENT = {
    .id = 0,
    .name = "cs4231_mem_writel_reg",
    .sstate = TRACE_CS4231_MEM_WRITEL_REG_ENABLED,
    .dstate = &_TRACE_CS4231_MEM_WRITEL_REG_DSTATE 
};
TraceEvent _TRACE_CS4231_MEM_WRITEL_DREG_EVENT = {
    .id = 0,
    .name = "cs4231_mem_writel_dreg",
    .sstate = TRACE_CS4231_MEM_WRITEL_DREG_ENABLED,
    .dstate = &_TRACE_CS4231_MEM_WRITEL_DREG_DSTATE 
};
TraceEvent _TRACE_ES1370_FRAME_ADDRESS_RD_EVENT = {
    .id = 0,
    .name = "es1370_frame_address_rd",
    .sstate = TRACE_ES1370_FRAME_ADDRESS_RD_ENABLED,
    .dstate = &_TRACE_ES1370_FRAME_ADDRESS_RD_DSTATE 
};
TraceEvent _TRACE_ES1370_FRAME_ADDRESS_WR_EVENT = {
    .id = 0,
    .name = "es1370_frame_address_wr",
    .sstate = TRACE_ES1370_FRAME_ADDRESS_WR_ENABLED,
    .dstate = &_TRACE_ES1370_FRAME_ADDRESS_WR_DSTATE 
};
TraceEvent _TRACE_ES1370_FRAME_COUNT_RD_EVENT = {
    .id = 0,
    .name = "es1370_frame_count_rd",
    .sstate = TRACE_ES1370_FRAME_COUNT_RD_ENABLED,
    .dstate = &_TRACE_ES1370_FRAME_COUNT_RD_DSTATE 
};
TraceEvent _TRACE_ES1370_FRAME_COUNT_WR_EVENT = {
    .id = 0,
    .name = "es1370_frame_count_wr",
    .sstate = TRACE_ES1370_FRAME_COUNT_WR_ENABLED,
    .dstate = &_TRACE_ES1370_FRAME_COUNT_WR_DSTATE 
};
TraceEvent _TRACE_ES1370_LOST_INTERRUPT_EVENT = {
    .id = 0,
    .name = "es1370_lost_interrupt",
    .sstate = TRACE_ES1370_LOST_INTERRUPT_ENABLED,
    .dstate = &_TRACE_ES1370_LOST_INTERRUPT_DSTATE 
};
TraceEvent _TRACE_ES1370_SAMPLE_COUNT_RD_EVENT = {
    .id = 0,
    .name = "es1370_sample_count_rd",
    .sstate = TRACE_ES1370_SAMPLE_COUNT_RD_ENABLED,
    .dstate = &_TRACE_ES1370_SAMPLE_COUNT_RD_DSTATE 
};
TraceEvent _TRACE_ES1370_SAMPLE_COUNT_WR_EVENT = {
    .id = 0,
    .name = "es1370_sample_count_wr",
    .sstate = TRACE_ES1370_SAMPLE_COUNT_WR_ENABLED,
    .dstate = &_TRACE_ES1370_SAMPLE_COUNT_WR_DSTATE 
};
TraceEvent _TRACE_ES1370_STREAM_FORMAT_EVENT = {
    .id = 0,
    .name = "es1370_stream_format",
    .sstate = TRACE_ES1370_STREAM_FORMAT_ENABLED,
    .dstate = &_TRACE_ES1370_STREAM_FORMAT_DSTATE 
};
TraceEvent _TRACE_ES1370_TRANSFER_AUDIO_EVENT = {
    .id = 0,
    .name = "es1370_transfer_audio",
    .sstate = TRACE_ES1370_TRANSFER_AUDIO_ENABLED,
    .dstate = &_TRACE_ES1370_TRANSFER_AUDIO_DSTATE 
};
TraceEvent _TRACE_HDA_AUDIO_RUNNING_EVENT = {
    .id = 0,
    .name = "hda_audio_running",
    .sstate = TRACE_HDA_AUDIO_RUNNING_ENABLED,
    .dstate = &_TRACE_HDA_AUDIO_RUNNING_DSTATE 
};
TraceEvent _TRACE_HDA_AUDIO_FORMAT_EVENT = {
    .id = 0,
    .name = "hda_audio_format",
    .sstate = TRACE_HDA_AUDIO_FORMAT_ENABLED,
    .dstate = &_TRACE_HDA_AUDIO_FORMAT_DSTATE 
};
TraceEvent _TRACE_HDA_AUDIO_ADJUST_EVENT = {
    .id = 0,
    .name = "hda_audio_adjust",
    .sstate = TRACE_HDA_AUDIO_ADJUST_ENABLED,
    .dstate = &_TRACE_HDA_AUDIO_ADJUST_DSTATE 
};
TraceEvent _TRACE_HDA_AUDIO_OVERRUN_EVENT = {
    .id = 0,
    .name = "hda_audio_overrun",
    .sstate = TRACE_HDA_AUDIO_OVERRUN_ENABLED,
    .dstate = &_TRACE_HDA_AUDIO_OVERRUN_DSTATE 
};
TraceEvent _TRACE_VIA_AC97_CODEC_WRITE_EVENT = {
    .id = 0,
    .name = "via_ac97_codec_write",
    .sstate = TRACE_VIA_AC97_CODEC_WRITE_ENABLED,
    .dstate = &_TRACE_VIA_AC97_CODEC_WRITE_DSTATE 
};
TraceEvent _TRACE_VIA_AC97_SGD_FETCH_EVENT = {
    .id = 0,
    .name = "via_ac97_sgd_fetch",
    .sstate = TRACE_VIA_AC97_SGD_FETCH_ENABLED,
    .dstate = &_TRACE_VIA_AC97_SGD_FETCH_DSTATE 
};
TraceEvent _TRACE_VIA_AC97_SGD_READ_EVENT = {
    .id = 0,
    .name = "via_ac97_sgd_read",
    .sstate = TRACE_VIA_AC97_SGD_READ_ENABLED,
    .dstate = &_TRACE_VIA_AC97_SGD_READ_DSTATE 
};
TraceEvent _TRACE_VIA_AC97_SGD_WRITE_EVENT = {
    .id = 0,
    .name = "via_ac97_sgd_write",
    .sstate = TRACE_VIA_AC97_SGD_WRITE_ENABLED,
    .dstate = &_TRACE_VIA_AC97_SGD_WRITE_DSTATE 
};
TraceEvent _TRACE_ASC_READ_FIFO_EVENT = {
    .id = 0,
    .name = "asc_read_fifo",
    .sstate = TRACE_ASC_READ_FIFO_ENABLED,
    .dstate = &_TRACE_ASC_READ_FIFO_DSTATE 
};
TraceEvent _TRACE_ASC_READ_REG_EVENT = {
    .id = 0,
    .name = "asc_read_reg",
    .sstate = TRACE_ASC_READ_REG_ENABLED,
    .dstate = &_TRACE_ASC_READ_REG_DSTATE 
};
TraceEvent _TRACE_ASC_READ_EXTREG_EVENT = {
    .id = 0,
    .name = "asc_read_extreg",
    .sstate = TRACE_ASC_READ_EXTREG_ENABLED,
    .dstate = &_TRACE_ASC_READ_EXTREG_DSTATE 
};
TraceEvent _TRACE_ASC_FIFO_GET_EVENT = {
    .id = 0,
    .name = "asc_fifo_get",
    .sstate = TRACE_ASC_FIFO_GET_ENABLED,
    .dstate = &_TRACE_ASC_FIFO_GET_DSTATE 
};
TraceEvent _TRACE_ASC_WRITE_FIFO_EVENT = {
    .id = 0,
    .name = "asc_write_fifo",
    .sstate = TRACE_ASC_WRITE_FIFO_ENABLED,
    .dstate = &_TRACE_ASC_WRITE_FIFO_DSTATE 
};
TraceEvent _TRACE_ASC_WRITE_REG_EVENT = {
    .id = 0,
    .name = "asc_write_reg",
    .sstate = TRACE_ASC_WRITE_REG_ENABLED,
    .dstate = &_TRACE_ASC_WRITE_REG_DSTATE 
};
TraceEvent _TRACE_ASC_WRITE_EXTREG_EVENT = {
    .id = 0,
    .name = "asc_write_extreg",
    .sstate = TRACE_ASC_WRITE_EXTREG_ENABLED,
    .dstate = &_TRACE_ASC_WRITE_EXTREG_DSTATE 
};
TraceEvent _TRACE_ASC_UPDATE_IRQ_EVENT = {
    .id = 0,
    .name = "asc_update_irq",
    .sstate = TRACE_ASC_UPDATE_IRQ_ENABLED,
    .dstate = &_TRACE_ASC_UPDATE_IRQ_DSTATE 
};
TraceEvent _TRACE_VIRTIO_SND_GET_CONFIG_EVENT = {
    .id = 0,
    .name = "virtio_snd_get_config",
    .sstate = TRACE_VIRTIO_SND_GET_CONFIG_ENABLED,
    .dstate = &_TRACE_VIRTIO_SND_GET_CONFIG_DSTATE 
};
TraceEvent _TRACE_VIRTIO_SND_GET_FEATURES_EVENT = {
    .id = 0,
    .name = "virtio_snd_get_features",
    .sstate = TRACE_VIRTIO_SND_GET_FEATURES_ENABLED,
    .dstate = &_TRACE_VIRTIO_SND_GET_FEATURES_DSTATE 
};
TraceEvent _TRACE_VIRTIO_SND_VM_STATE_RUNNING_EVENT = {
    .id = 0,
    .name = "virtio_snd_vm_state_running",
    .sstate = TRACE_VIRTIO_SND_VM_STATE_RUNNING_ENABLED,
    .dstate = &_TRACE_VIRTIO_SND_VM_STATE_RUNNING_DSTATE 
};
TraceEvent _TRACE_VIRTIO_SND_VM_STATE_STOPPED_EVENT = {
    .id = 0,
    .name = "virtio_snd_vm_state_stopped",
    .sstate = TRACE_VIRTIO_SND_VM_STATE_STOPPED_ENABLED,
    .dstate = &_TRACE_VIRTIO_SND_VM_STATE_STOPPED_DSTATE 
};
TraceEvent _TRACE_VIRTIO_SND_REALIZE_EVENT = {
    .id = 0,
    .name = "virtio_snd_realize",
    .sstate = TRACE_VIRTIO_SND_REALIZE_ENABLED,
    .dstate = &_TRACE_VIRTIO_SND_REALIZE_DSTATE 
};
TraceEvent _TRACE_VIRTIO_SND_UNREALIZE_EVENT = {
    .id = 0,
    .name = "virtio_snd_unrealize",
    .sstate = TRACE_VIRTIO_SND_UNREALIZE_ENABLED,
    .dstate = &_TRACE_VIRTIO_SND_UNREALIZE_DSTATE 
};
TraceEvent _TRACE_VIRTIO_SND_HANDLE_PCM_SET_PARAMS_EVENT = {
    .id = 0,
    .name = "virtio_snd_handle_pcm_set_params",
    .sstate = TRACE_VIRTIO_SND_HANDLE_PCM_SET_PARAMS_ENABLED,
    .dstate = &_TRACE_VIRTIO_SND_HANDLE_PCM_SET_PARAMS_DSTATE 
};
TraceEvent _TRACE_VIRTIO_SND_HANDLE_CTRL_EVENT = {
    .id = 0,
    .name = "virtio_snd_handle_ctrl",
    .sstate = TRACE_VIRTIO_SND_HANDLE_CTRL_ENABLED,
    .dstate = &_TRACE_VIRTIO_SND_HANDLE_CTRL_DSTATE 
};
TraceEvent _TRACE_VIRTIO_SND_HANDLE_PCM_INFO_EVENT = {
    .id = 0,
    .name = "virtio_snd_handle_pcm_info",
    .sstate = TRACE_VIRTIO_SND_HANDLE_PCM_INFO_ENABLED,
    .dstate = &_TRACE_VIRTIO_SND_HANDLE_PCM_INFO_DSTATE 
};
TraceEvent _TRACE_VIRTIO_SND_HANDLE_PCM_START_STOP_EVENT = {
    .id = 0,
    .name = "virtio_snd_handle_pcm_start_stop",
    .sstate = TRACE_VIRTIO_SND_HANDLE_PCM_START_STOP_ENABLED,
    .dstate = &_TRACE_VIRTIO_SND_HANDLE_PCM_START_STOP_DSTATE 
};
TraceEvent _TRACE_VIRTIO_SND_HANDLE_PCM_RELEASE_EVENT = {
    .id = 0,
    .name = "virtio_snd_handle_pcm_release",
    .sstate = TRACE_VIRTIO_SND_HANDLE_PCM_RELEASE_ENABLED,
    .dstate = &_TRACE_VIRTIO_SND_HANDLE_PCM_RELEASE_DSTATE 
};
TraceEvent _TRACE_VIRTIO_SND_HANDLE_CODE_EVENT = {
    .id = 0,
    .name = "virtio_snd_handle_code",
    .sstate = TRACE_VIRTIO_SND_HANDLE_CODE_ENABLED,
    .dstate = &_TRACE_VIRTIO_SND_HANDLE_CODE_DSTATE 
};
TraceEvent _TRACE_VIRTIO_SND_HANDLE_CHMAP_INFO_EVENT = {
    .id = 0,
    .name = "virtio_snd_handle_chmap_info",
    .sstate = TRACE_VIRTIO_SND_HANDLE_CHMAP_INFO_ENABLED,
    .dstate = &_TRACE_VIRTIO_SND_HANDLE_CHMAP_INFO_DSTATE 
};
TraceEvent _TRACE_VIRTIO_SND_HANDLE_EVENT_EVENT = {
    .id = 0,
    .name = "virtio_snd_handle_event",
    .sstate = TRACE_VIRTIO_SND_HANDLE_EVENT_ENABLED,
    .dstate = &_TRACE_VIRTIO_SND_HANDLE_EVENT_DSTATE 
};
TraceEvent _TRACE_VIRTIO_SND_PCM_STREAM_FLUSH_EVENT = {
    .id = 0,
    .name = "virtio_snd_pcm_stream_flush",
    .sstate = TRACE_VIRTIO_SND_PCM_STREAM_FLUSH_ENABLED,
    .dstate = &_TRACE_VIRTIO_SND_PCM_STREAM_FLUSH_DSTATE 
};
TraceEvent _TRACE_VIRTIO_SND_HANDLE_TX_XFER_EVENT = {
    .id = 0,
    .name = "virtio_snd_handle_tx_xfer",
    .sstate = TRACE_VIRTIO_SND_HANDLE_TX_XFER_ENABLED,
    .dstate = &_TRACE_VIRTIO_SND_HANDLE_TX_XFER_DSTATE 
};
TraceEvent _TRACE_VIRTIO_SND_HANDLE_RX_XFER_EVENT = {
    .id = 0,
    .name = "virtio_snd_handle_rx_xfer",
    .sstate = TRACE_VIRTIO_SND_HANDLE_RX_XFER_ENABLED,
    .dstate = &_TRACE_VIRTIO_SND_HANDLE_RX_XFER_DSTATE 
};
TraceEvent *hw_audio_trace_events[] = {
    &_TRACE_CS4231_MEM_READL_DREG_EVENT,
    &_TRACE_CS4231_MEM_READL_REG_EVENT,
    &_TRACE_CS4231_MEM_WRITEL_REG_EVENT,
    &_TRACE_CS4231_MEM_WRITEL_DREG_EVENT,
    &_TRACE_ES1370_FRAME_ADDRESS_RD_EVENT,
    &_TRACE_ES1370_FRAME_ADDRESS_WR_EVENT,
    &_TRACE_ES1370_FRAME_COUNT_RD_EVENT,
    &_TRACE_ES1370_FRAME_COUNT_WR_EVENT,
    &_TRACE_ES1370_LOST_INTERRUPT_EVENT,
    &_TRACE_ES1370_SAMPLE_COUNT_RD_EVENT,
    &_TRACE_ES1370_SAMPLE_COUNT_WR_EVENT,
    &_TRACE_ES1370_STREAM_FORMAT_EVENT,
    &_TRACE_ES1370_TRANSFER_AUDIO_EVENT,
    &_TRACE_HDA_AUDIO_RUNNING_EVENT,
    &_TRACE_HDA_AUDIO_FORMAT_EVENT,
    &_TRACE_HDA_AUDIO_ADJUST_EVENT,
    &_TRACE_HDA_AUDIO_OVERRUN_EVENT,
    &_TRACE_VIA_AC97_CODEC_WRITE_EVENT,
    &_TRACE_VIA_AC97_SGD_FETCH_EVENT,
    &_TRACE_VIA_AC97_SGD_READ_EVENT,
    &_TRACE_VIA_AC97_SGD_WRITE_EVENT,
    &_TRACE_ASC_READ_FIFO_EVENT,
    &_TRACE_ASC_READ_REG_EVENT,
    &_TRACE_ASC_READ_EXTREG_EVENT,
    &_TRACE_ASC_FIFO_GET_EVENT,
    &_TRACE_ASC_WRITE_FIFO_EVENT,
    &_TRACE_ASC_WRITE_REG_EVENT,
    &_TRACE_ASC_WRITE_EXTREG_EVENT,
    &_TRACE_ASC_UPDATE_IRQ_EVENT,
    &_TRACE_VIRTIO_SND_GET_CONFIG_EVENT,
    &_TRACE_VIRTIO_SND_GET_FEATURES_EVENT,
    &_TRACE_VIRTIO_SND_VM_STATE_RUNNING_EVENT,
    &_TRACE_VIRTIO_SND_VM_STATE_STOPPED_EVENT,
    &_TRACE_VIRTIO_SND_REALIZE_EVENT,
    &_TRACE_VIRTIO_SND_UNREALIZE_EVENT,
    &_TRACE_VIRTIO_SND_HANDLE_PCM_SET_PARAMS_EVENT,
    &_TRACE_VIRTIO_SND_HANDLE_CTRL_EVENT,
    &_TRACE_VIRTIO_SND_HANDLE_PCM_INFO_EVENT,
    &_TRACE_VIRTIO_SND_HANDLE_PCM_START_STOP_EVENT,
    &_TRACE_VIRTIO_SND_HANDLE_PCM_RELEASE_EVENT,
    &_TRACE_VIRTIO_SND_HANDLE_CODE_EVENT,
    &_TRACE_VIRTIO_SND_HANDLE_CHMAP_INFO_EVENT,
    &_TRACE_VIRTIO_SND_HANDLE_EVENT_EVENT,
    &_TRACE_VIRTIO_SND_PCM_STREAM_FLUSH_EVENT,
    &_TRACE_VIRTIO_SND_HANDLE_TX_XFER_EVENT,
    &_TRACE_VIRTIO_SND_HANDLE_RX_XFER_EVENT,
  NULL,
};

static void trace_hw_audio_register_events(void)
{
    trace_event_register_group(hw_audio_trace_events);
}
trace_init(trace_hw_audio_register_events)
