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

uint16_t _TRACE_ALLWINNER_WDT_READ_DSTATE;
uint16_t _TRACE_ALLWINNER_WDT_WRITE_DSTATE;
uint16_t _TRACE_ALLWINNER_WDT_RESET_ENTER_DSTATE;
uint16_t _TRACE_ALLWINNER_WDT_UPDATE_TIMER_DSTATE;
uint16_t _TRACE_ALLWINNER_WDT_EXPIRED_DSTATE;
uint16_t _TRACE_CMSDK_APB_WATCHDOG_READ_DSTATE;
uint16_t _TRACE_CMSDK_APB_WATCHDOG_WRITE_DSTATE;
uint16_t _TRACE_CMSDK_APB_WATCHDOG_RESET_DSTATE;
uint16_t _TRACE_CMSDK_APB_WATCHDOG_LOCK_DSTATE;
uint16_t _TRACE_ASPEED_WDT_READ_DSTATE;
uint16_t _TRACE_ASPEED_WDT_WRITE_DSTATE;
uint16_t _TRACE_IMX2_WDT_READ_DSTATE;
uint16_t _TRACE_IMX2_WDT_WRITE_DSTATE;
uint16_t _TRACE_IMX2_WDT_INTERRUPT_DSTATE;
uint16_t _TRACE_IMX2_WDT_EXPIRED_DSTATE;
uint16_t _TRACE_SPAPR_WATCHDOG_START_DSTATE;
uint16_t _TRACE_SPAPR_WATCHDOG_STOP_DSTATE;
uint16_t _TRACE_SPAPR_WATCHDOG_QUERY_DSTATE;
uint16_t _TRACE_SPAPR_WATCHDOG_QUERY_LPM_DSTATE;
uint16_t _TRACE_SPAPR_WATCHDOG_EXPIRED_DSTATE;
uint16_t _TRACE_WATCHDOG_PERFORM_ACTION_DSTATE;
uint16_t _TRACE_WATCHDOG_SET_ACTION_DSTATE;
TraceEvent _TRACE_ALLWINNER_WDT_READ_EVENT = {
    .id = 0,
    .name = "allwinner_wdt_read",
    .sstate = TRACE_ALLWINNER_WDT_READ_ENABLED,
    .dstate = &_TRACE_ALLWINNER_WDT_READ_DSTATE
};
TraceEvent _TRACE_ALLWINNER_WDT_WRITE_EVENT = {
    .id = 0,
    .name = "allwinner_wdt_write",
    .sstate = TRACE_ALLWINNER_WDT_WRITE_ENABLED,
    .dstate = &_TRACE_ALLWINNER_WDT_WRITE_DSTATE
};
TraceEvent _TRACE_ALLWINNER_WDT_RESET_ENTER_EVENT = {
    .id = 0,
    .name = "allwinner_wdt_reset_enter",
    .sstate = TRACE_ALLWINNER_WDT_RESET_ENTER_ENABLED,
    .dstate = &_TRACE_ALLWINNER_WDT_RESET_ENTER_DSTATE
};
TraceEvent _TRACE_ALLWINNER_WDT_UPDATE_TIMER_EVENT = {
    .id = 0,
    .name = "allwinner_wdt_update_timer",
    .sstate = TRACE_ALLWINNER_WDT_UPDATE_TIMER_ENABLED,
    .dstate = &_TRACE_ALLWINNER_WDT_UPDATE_TIMER_DSTATE
};
TraceEvent _TRACE_ALLWINNER_WDT_EXPIRED_EVENT = {
    .id = 0,
    .name = "allwinner_wdt_expired",
    .sstate = TRACE_ALLWINNER_WDT_EXPIRED_ENABLED,
    .dstate = &_TRACE_ALLWINNER_WDT_EXPIRED_DSTATE
};
TraceEvent _TRACE_CMSDK_APB_WATCHDOG_READ_EVENT = {
    .id = 0,
    .name = "cmsdk_apb_watchdog_read",
    .sstate = TRACE_CMSDK_APB_WATCHDOG_READ_ENABLED,
    .dstate = &_TRACE_CMSDK_APB_WATCHDOG_READ_DSTATE
};
TraceEvent _TRACE_CMSDK_APB_WATCHDOG_WRITE_EVENT = {
    .id = 0,
    .name = "cmsdk_apb_watchdog_write",
    .sstate = TRACE_CMSDK_APB_WATCHDOG_WRITE_ENABLED,
    .dstate = &_TRACE_CMSDK_APB_WATCHDOG_WRITE_DSTATE
};
TraceEvent _TRACE_CMSDK_APB_WATCHDOG_RESET_EVENT = {
    .id = 0,
    .name = "cmsdk_apb_watchdog_reset",
    .sstate = TRACE_CMSDK_APB_WATCHDOG_RESET_ENABLED,
    .dstate = &_TRACE_CMSDK_APB_WATCHDOG_RESET_DSTATE
};
TraceEvent _TRACE_CMSDK_APB_WATCHDOG_LOCK_EVENT = {
    .id = 0,
    .name = "cmsdk_apb_watchdog_lock",
    .sstate = TRACE_CMSDK_APB_WATCHDOG_LOCK_ENABLED,
    .dstate = &_TRACE_CMSDK_APB_WATCHDOG_LOCK_DSTATE
};
TraceEvent _TRACE_ASPEED_WDT_READ_EVENT = {
    .id = 0,
    .name = "aspeed_wdt_read",
    .sstate = TRACE_ASPEED_WDT_READ_ENABLED,
    .dstate = &_TRACE_ASPEED_WDT_READ_DSTATE
};
TraceEvent _TRACE_ASPEED_WDT_WRITE_EVENT = {
    .id = 0,
    .name = "aspeed_wdt_write",
    .sstate = TRACE_ASPEED_WDT_WRITE_ENABLED,
    .dstate = &_TRACE_ASPEED_WDT_WRITE_DSTATE
};
TraceEvent _TRACE_IMX2_WDT_READ_EVENT = {
    .id = 0,
    .name = "imx2_wdt_read",
    .sstate = TRACE_IMX2_WDT_READ_ENABLED,
    .dstate = &_TRACE_IMX2_WDT_READ_DSTATE
};
TraceEvent _TRACE_IMX2_WDT_WRITE_EVENT = {
    .id = 0,
    .name = "imx2_wdt_write",
    .sstate = TRACE_IMX2_WDT_WRITE_ENABLED,
    .dstate = &_TRACE_IMX2_WDT_WRITE_DSTATE
};
TraceEvent _TRACE_IMX2_WDT_INTERRUPT_EVENT = {
    .id = 0,
    .name = "imx2_wdt_interrupt",
    .sstate = TRACE_IMX2_WDT_INTERRUPT_ENABLED,
    .dstate = &_TRACE_IMX2_WDT_INTERRUPT_DSTATE
};
TraceEvent _TRACE_IMX2_WDT_EXPIRED_EVENT = {
    .id = 0,
    .name = "imx2_wdt_expired",
    .sstate = TRACE_IMX2_WDT_EXPIRED_ENABLED,
    .dstate = &_TRACE_IMX2_WDT_EXPIRED_DSTATE
};
TraceEvent _TRACE_SPAPR_WATCHDOG_START_EVENT = {
    .id = 0,
    .name = "spapr_watchdog_start",
    .sstate = TRACE_SPAPR_WATCHDOG_START_ENABLED,
    .dstate = &_TRACE_SPAPR_WATCHDOG_START_DSTATE
};
TraceEvent _TRACE_SPAPR_WATCHDOG_STOP_EVENT = {
    .id = 0,
    .name = "spapr_watchdog_stop",
    .sstate = TRACE_SPAPR_WATCHDOG_STOP_ENABLED,
    .dstate = &_TRACE_SPAPR_WATCHDOG_STOP_DSTATE
};
TraceEvent _TRACE_SPAPR_WATCHDOG_QUERY_EVENT = {
    .id = 0,
    .name = "spapr_watchdog_query",
    .sstate = TRACE_SPAPR_WATCHDOG_QUERY_ENABLED,
    .dstate = &_TRACE_SPAPR_WATCHDOG_QUERY_DSTATE
};
TraceEvent _TRACE_SPAPR_WATCHDOG_QUERY_LPM_EVENT = {
    .id = 0,
    .name = "spapr_watchdog_query_lpm",
    .sstate = TRACE_SPAPR_WATCHDOG_QUERY_LPM_ENABLED,
    .dstate = &_TRACE_SPAPR_WATCHDOG_QUERY_LPM_DSTATE
};
TraceEvent _TRACE_SPAPR_WATCHDOG_EXPIRED_EVENT = {
    .id = 0,
    .name = "spapr_watchdog_expired",
    .sstate = TRACE_SPAPR_WATCHDOG_EXPIRED_ENABLED,
    .dstate = &_TRACE_SPAPR_WATCHDOG_EXPIRED_DSTATE
};
TraceEvent _TRACE_WATCHDOG_PERFORM_ACTION_EVENT = {
    .id = 0,
    .name = "watchdog_perform_action",
    .sstate = TRACE_WATCHDOG_PERFORM_ACTION_ENABLED,
    .dstate = &_TRACE_WATCHDOG_PERFORM_ACTION_DSTATE
};
TraceEvent _TRACE_WATCHDOG_SET_ACTION_EVENT = {
    .id = 0,
    .name = "watchdog_set_action",
    .sstate = TRACE_WATCHDOG_SET_ACTION_ENABLED,
    .dstate = &_TRACE_WATCHDOG_SET_ACTION_DSTATE
};
TraceEvent *hw_watchdog_trace_events[] = {
    &_TRACE_ALLWINNER_WDT_READ_EVENT,
    &_TRACE_ALLWINNER_WDT_WRITE_EVENT,
    &_TRACE_ALLWINNER_WDT_RESET_ENTER_EVENT,
    &_TRACE_ALLWINNER_WDT_UPDATE_TIMER_EVENT,
    &_TRACE_ALLWINNER_WDT_EXPIRED_EVENT,
    &_TRACE_CMSDK_APB_WATCHDOG_READ_EVENT,
    &_TRACE_CMSDK_APB_WATCHDOG_WRITE_EVENT,
    &_TRACE_CMSDK_APB_WATCHDOG_RESET_EVENT,
    &_TRACE_CMSDK_APB_WATCHDOG_LOCK_EVENT,
    &_TRACE_ASPEED_WDT_READ_EVENT,
    &_TRACE_ASPEED_WDT_WRITE_EVENT,
    &_TRACE_IMX2_WDT_READ_EVENT,
    &_TRACE_IMX2_WDT_WRITE_EVENT,
    &_TRACE_IMX2_WDT_INTERRUPT_EVENT,
    &_TRACE_IMX2_WDT_EXPIRED_EVENT,
    &_TRACE_SPAPR_WATCHDOG_START_EVENT,
    &_TRACE_SPAPR_WATCHDOG_STOP_EVENT,
    &_TRACE_SPAPR_WATCHDOG_QUERY_EVENT,
    &_TRACE_SPAPR_WATCHDOG_QUERY_LPM_EVENT,
    &_TRACE_SPAPR_WATCHDOG_EXPIRED_EVENT,
    &_TRACE_WATCHDOG_PERFORM_ACTION_EVENT,
    &_TRACE_WATCHDOG_SET_ACTION_EVENT,
  NULL,
};

static void trace_hw_watchdog_register_events(void)
{
    trace_event_register_group(hw_watchdog_trace_events);
}
trace_init(trace_hw_watchdog_register_events)
