/* This file is autogenerated by tracetool, do not edit. */
/* SPDX-License-Identifier: GPL-2.0-or-later */

#ifndef TRACE_QAPI_COMMANDS_MIGRATION_TRACE_EVENTS_GENERATED_TRACERS_H
#define TRACE_QAPI_COMMANDS_MIGRATION_TRACE_EVENTS_GENERATED_TRACERS_H

#include "trace/control.h"

extern TraceEvent _TRACE_QMP_ENTER_QUERY_MIGRATE_EVENT;
extern TraceEvent _TRACE_QMP_EXIT_QUERY_MIGRATE_EVENT;
extern TraceEvent _TRACE_QMP_ENTER_MIGRATE_SET_CAPABILITIES_EVENT;
extern TraceEvent _TRACE_QMP_EXIT_MIGRATE_SET_CAPABILITIES_EVENT;
extern TraceEvent _TRACE_QMP_ENTER_QUERY_MIGRATE_CAPABILITIES_EVENT;
extern TraceEvent _TRACE_QMP_EXIT_QUERY_MIGRATE_CAPABILITIES_EVENT;
extern TraceEvent _TRACE_QMP_ENTER_MIGRATE_SET_PARAMETERS_EVENT;
extern TraceEvent _TRACE_QMP_EXIT_MIGRATE_SET_PARAMETERS_EVENT;
extern TraceEvent _TRACE_QMP_ENTER_QUERY_MIGRATE_PARAMETERS_EVENT;
extern TraceEvent _TRACE_QMP_EXIT_QUERY_MIGRATE_PARAMETERS_EVENT;
extern TraceEvent _TRACE_QMP_ENTER_MIGRATE_START_POSTCOPY_EVENT;
extern TraceEvent _TRACE_QMP_EXIT_MIGRATE_START_POSTCOPY_EVENT;
extern TraceEvent _TRACE_QMP_ENTER_X_COLO_LOST_HEARTBEAT_EVENT;
extern TraceEvent _TRACE_QMP_EXIT_X_COLO_LOST_HEARTBEAT_EVENT;
extern TraceEvent _TRACE_QMP_ENTER_MIGRATE_CANCEL_EVENT;
extern TraceEvent _TRACE_QMP_EXIT_MIGRATE_CANCEL_EVENT;
extern TraceEvent _TRACE_QMP_ENTER_MIGRATE_CONTINUE_EVENT;
extern TraceEvent _TRACE_QMP_EXIT_MIGRATE_CONTINUE_EVENT;
extern TraceEvent _TRACE_QMP_ENTER_MIGRATE_EVENT;
extern TraceEvent _TRACE_QMP_EXIT_MIGRATE_EVENT;
extern TraceEvent _TRACE_QMP_ENTER_MIGRATE_INCOMING_EVENT;
extern TraceEvent _TRACE_QMP_EXIT_MIGRATE_INCOMING_EVENT;
extern TraceEvent _TRACE_QMP_ENTER_XEN_SAVE_DEVICES_STATE_EVENT;
extern TraceEvent _TRACE_QMP_EXIT_XEN_SAVE_DEVICES_STATE_EVENT;
extern TraceEvent _TRACE_QMP_ENTER_XEN_SET_GLOBAL_DIRTY_LOG_EVENT;
extern TraceEvent _TRACE_QMP_EXIT_XEN_SET_GLOBAL_DIRTY_LOG_EVENT;
extern TraceEvent _TRACE_QMP_ENTER_XEN_LOAD_DEVICES_STATE_EVENT;
extern TraceEvent _TRACE_QMP_EXIT_XEN_LOAD_DEVICES_STATE_EVENT;
extern TraceEvent _TRACE_QMP_ENTER_XEN_SET_REPLICATION_EVENT;
extern TraceEvent _TRACE_QMP_EXIT_XEN_SET_REPLICATION_EVENT;
extern TraceEvent _TRACE_QMP_ENTER_QUERY_XEN_REPLICATION_STATUS_EVENT;
extern TraceEvent _TRACE_QMP_EXIT_QUERY_XEN_REPLICATION_STATUS_EVENT;
extern TraceEvent _TRACE_QMP_ENTER_XEN_COLO_DO_CHECKPOINT_EVENT;
extern TraceEvent _TRACE_QMP_EXIT_XEN_COLO_DO_CHECKPOINT_EVENT;
extern TraceEvent _TRACE_QMP_ENTER_QUERY_COLO_STATUS_EVENT;
extern TraceEvent _TRACE_QMP_EXIT_QUERY_COLO_STATUS_EVENT;
extern TraceEvent _TRACE_QMP_ENTER_MIGRATE_RECOVER_EVENT;
extern TraceEvent _TRACE_QMP_EXIT_MIGRATE_RECOVER_EVENT;
extern TraceEvent _TRACE_QMP_ENTER_MIGRATE_PAUSE_EVENT;
extern TraceEvent _TRACE_QMP_EXIT_MIGRATE_PAUSE_EVENT;
extern TraceEvent _TRACE_QMP_ENTER_CALC_DIRTY_RATE_EVENT;
extern TraceEvent _TRACE_QMP_EXIT_CALC_DIRTY_RATE_EVENT;
extern TraceEvent _TRACE_QMP_ENTER_QUERY_DIRTY_RATE_EVENT;
extern TraceEvent _TRACE_QMP_EXIT_QUERY_DIRTY_RATE_EVENT;
extern TraceEvent _TRACE_QMP_ENTER_SET_VCPU_DIRTY_LIMIT_EVENT;
extern TraceEvent _TRACE_QMP_EXIT_SET_VCPU_DIRTY_LIMIT_EVENT;
extern TraceEvent _TRACE_QMP_ENTER_CANCEL_VCPU_DIRTY_LIMIT_EVENT;
extern TraceEvent _TRACE_QMP_EXIT_CANCEL_VCPU_DIRTY_LIMIT_EVENT;
extern TraceEvent _TRACE_QMP_ENTER_QUERY_VCPU_DIRTY_LIMIT_EVENT;
extern TraceEvent _TRACE_QMP_EXIT_QUERY_VCPU_DIRTY_LIMIT_EVENT;
extern TraceEvent _TRACE_QMP_ENTER_QUERY_MIGRATIONTHREADS_EVENT;
extern TraceEvent _TRACE_QMP_EXIT_QUERY_MIGRATIONTHREADS_EVENT;
extern TraceEvent _TRACE_QMP_ENTER_SNAPSHOT_SAVE_EVENT;
extern TraceEvent _TRACE_QMP_EXIT_SNAPSHOT_SAVE_EVENT;
extern TraceEvent _TRACE_QMP_ENTER_SNAPSHOT_LOAD_EVENT;
extern TraceEvent _TRACE_QMP_EXIT_SNAPSHOT_LOAD_EVENT;
extern TraceEvent _TRACE_QMP_ENTER_SNAPSHOT_DELETE_EVENT;
extern TraceEvent _TRACE_QMP_EXIT_SNAPSHOT_DELETE_EVENT;
extern uint16_t _TRACE_QMP_ENTER_QUERY_MIGRATE_DSTATE;
extern uint16_t _TRACE_QMP_EXIT_QUERY_MIGRATE_DSTATE;
extern uint16_t _TRACE_QMP_ENTER_MIGRATE_SET_CAPABILITIES_DSTATE;
extern uint16_t _TRACE_QMP_EXIT_MIGRATE_SET_CAPABILITIES_DSTATE;
extern uint16_t _TRACE_QMP_ENTER_QUERY_MIGRATE_CAPABILITIES_DSTATE;
extern uint16_t _TRACE_QMP_EXIT_QUERY_MIGRATE_CAPABILITIES_DSTATE;
extern uint16_t _TRACE_QMP_ENTER_MIGRATE_SET_PARAMETERS_DSTATE;
extern uint16_t _TRACE_QMP_EXIT_MIGRATE_SET_PARAMETERS_DSTATE;
extern uint16_t _TRACE_QMP_ENTER_QUERY_MIGRATE_PARAMETERS_DSTATE;
extern uint16_t _TRACE_QMP_EXIT_QUERY_MIGRATE_PARAMETERS_DSTATE;
extern uint16_t _TRACE_QMP_ENTER_MIGRATE_START_POSTCOPY_DSTATE;
extern uint16_t _TRACE_QMP_EXIT_MIGRATE_START_POSTCOPY_DSTATE;
extern uint16_t _TRACE_QMP_ENTER_X_COLO_LOST_HEARTBEAT_DSTATE;
extern uint16_t _TRACE_QMP_EXIT_X_COLO_LOST_HEARTBEAT_DSTATE;
extern uint16_t _TRACE_QMP_ENTER_MIGRATE_CANCEL_DSTATE;
extern uint16_t _TRACE_QMP_EXIT_MIGRATE_CANCEL_DSTATE;
extern uint16_t _TRACE_QMP_ENTER_MIGRATE_CONTINUE_DSTATE;
extern uint16_t _TRACE_QMP_EXIT_MIGRATE_CONTINUE_DSTATE;
extern uint16_t _TRACE_QMP_ENTER_MIGRATE_DSTATE;
extern uint16_t _TRACE_QMP_EXIT_MIGRATE_DSTATE;
extern uint16_t _TRACE_QMP_ENTER_MIGRATE_INCOMING_DSTATE;
extern uint16_t _TRACE_QMP_EXIT_MIGRATE_INCOMING_DSTATE;
extern uint16_t _TRACE_QMP_ENTER_XEN_SAVE_DEVICES_STATE_DSTATE;
extern uint16_t _TRACE_QMP_EXIT_XEN_SAVE_DEVICES_STATE_DSTATE;
extern uint16_t _TRACE_QMP_ENTER_XEN_SET_GLOBAL_DIRTY_LOG_DSTATE;
extern uint16_t _TRACE_QMP_EXIT_XEN_SET_GLOBAL_DIRTY_LOG_DSTATE;
extern uint16_t _TRACE_QMP_ENTER_XEN_LOAD_DEVICES_STATE_DSTATE;
extern uint16_t _TRACE_QMP_EXIT_XEN_LOAD_DEVICES_STATE_DSTATE;
extern uint16_t _TRACE_QMP_ENTER_XEN_SET_REPLICATION_DSTATE;
extern uint16_t _TRACE_QMP_EXIT_XEN_SET_REPLICATION_DSTATE;
extern uint16_t _TRACE_QMP_ENTER_QUERY_XEN_REPLICATION_STATUS_DSTATE;
extern uint16_t _TRACE_QMP_EXIT_QUERY_XEN_REPLICATION_STATUS_DSTATE;
extern uint16_t _TRACE_QMP_ENTER_XEN_COLO_DO_CHECKPOINT_DSTATE;
extern uint16_t _TRACE_QMP_EXIT_XEN_COLO_DO_CHECKPOINT_DSTATE;
extern uint16_t _TRACE_QMP_ENTER_QUERY_COLO_STATUS_DSTATE;
extern uint16_t _TRACE_QMP_EXIT_QUERY_COLO_STATUS_DSTATE;
extern uint16_t _TRACE_QMP_ENTER_MIGRATE_RECOVER_DSTATE;
extern uint16_t _TRACE_QMP_EXIT_MIGRATE_RECOVER_DSTATE;
extern uint16_t _TRACE_QMP_ENTER_MIGRATE_PAUSE_DSTATE;
extern uint16_t _TRACE_QMP_EXIT_MIGRATE_PAUSE_DSTATE;
extern uint16_t _TRACE_QMP_ENTER_CALC_DIRTY_RATE_DSTATE;
extern uint16_t _TRACE_QMP_EXIT_CALC_DIRTY_RATE_DSTATE;
extern uint16_t _TRACE_QMP_ENTER_QUERY_DIRTY_RATE_DSTATE;
extern uint16_t _TRACE_QMP_EXIT_QUERY_DIRTY_RATE_DSTATE;
extern uint16_t _TRACE_QMP_ENTER_SET_VCPU_DIRTY_LIMIT_DSTATE;
extern uint16_t _TRACE_QMP_EXIT_SET_VCPU_DIRTY_LIMIT_DSTATE;
extern uint16_t _TRACE_QMP_ENTER_CANCEL_VCPU_DIRTY_LIMIT_DSTATE;
extern uint16_t _TRACE_QMP_EXIT_CANCEL_VCPU_DIRTY_LIMIT_DSTATE;
extern uint16_t _TRACE_QMP_ENTER_QUERY_VCPU_DIRTY_LIMIT_DSTATE;
extern uint16_t _TRACE_QMP_EXIT_QUERY_VCPU_DIRTY_LIMIT_DSTATE;
extern uint16_t _TRACE_QMP_ENTER_QUERY_MIGRATIONTHREADS_DSTATE;
extern uint16_t _TRACE_QMP_EXIT_QUERY_MIGRATIONTHREADS_DSTATE;
extern uint16_t _TRACE_QMP_ENTER_SNAPSHOT_SAVE_DSTATE;
extern uint16_t _TRACE_QMP_EXIT_SNAPSHOT_SAVE_DSTATE;
extern uint16_t _TRACE_QMP_ENTER_SNAPSHOT_LOAD_DSTATE;
extern uint16_t _TRACE_QMP_EXIT_SNAPSHOT_LOAD_DSTATE;
extern uint16_t _TRACE_QMP_ENTER_SNAPSHOT_DELETE_DSTATE;
extern uint16_t _TRACE_QMP_EXIT_SNAPSHOT_DELETE_DSTATE;
#define TRACE_QMP_ENTER_QUERY_MIGRATE_ENABLED 1
#define TRACE_QMP_EXIT_QUERY_MIGRATE_ENABLED 1
#define TRACE_QMP_ENTER_MIGRATE_SET_CAPABILITIES_ENABLED 1
#define TRACE_QMP_EXIT_MIGRATE_SET_CAPABILITIES_ENABLED 1
#define TRACE_QMP_ENTER_QUERY_MIGRATE_CAPABILITIES_ENABLED 1
#define TRACE_QMP_EXIT_QUERY_MIGRATE_CAPABILITIES_ENABLED 1
#define TRACE_QMP_ENTER_MIGRATE_SET_PARAMETERS_ENABLED 1
#define TRACE_QMP_EXIT_MIGRATE_SET_PARAMETERS_ENABLED 1
#define TRACE_QMP_ENTER_QUERY_MIGRATE_PARAMETERS_ENABLED 1
#define TRACE_QMP_EXIT_QUERY_MIGRATE_PARAMETERS_ENABLED 1
#define TRACE_QMP_ENTER_MIGRATE_START_POSTCOPY_ENABLED 1
#define TRACE_QMP_EXIT_MIGRATE_START_POSTCOPY_ENABLED 1
#define TRACE_QMP_ENTER_X_COLO_LOST_HEARTBEAT_ENABLED 1
#define TRACE_QMP_EXIT_X_COLO_LOST_HEARTBEAT_ENABLED 1
#define TRACE_QMP_ENTER_MIGRATE_CANCEL_ENABLED 1
#define TRACE_QMP_EXIT_MIGRATE_CANCEL_ENABLED 1
#define TRACE_QMP_ENTER_MIGRATE_CONTINUE_ENABLED 1
#define TRACE_QMP_EXIT_MIGRATE_CONTINUE_ENABLED 1
#define TRACE_QMP_ENTER_MIGRATE_ENABLED 1
#define TRACE_QMP_EXIT_MIGRATE_ENABLED 1
#define TRACE_QMP_ENTER_MIGRATE_INCOMING_ENABLED 1
#define TRACE_QMP_EXIT_MIGRATE_INCOMING_ENABLED 1
#define TRACE_QMP_ENTER_XEN_SAVE_DEVICES_STATE_ENABLED 1
#define TRACE_QMP_EXIT_XEN_SAVE_DEVICES_STATE_ENABLED 1
#define TRACE_QMP_ENTER_XEN_SET_GLOBAL_DIRTY_LOG_ENABLED 1
#define TRACE_QMP_EXIT_XEN_SET_GLOBAL_DIRTY_LOG_ENABLED 1
#define TRACE_QMP_ENTER_XEN_LOAD_DEVICES_STATE_ENABLED 1
#define TRACE_QMP_EXIT_XEN_LOAD_DEVICES_STATE_ENABLED 1
#define TRACE_QMP_ENTER_XEN_SET_REPLICATION_ENABLED 1
#define TRACE_QMP_EXIT_XEN_SET_REPLICATION_ENABLED 1
#define TRACE_QMP_ENTER_QUERY_XEN_REPLICATION_STATUS_ENABLED 1
#define TRACE_QMP_EXIT_QUERY_XEN_REPLICATION_STATUS_ENABLED 1
#define TRACE_QMP_ENTER_XEN_COLO_DO_CHECKPOINT_ENABLED 1
#define TRACE_QMP_EXIT_XEN_COLO_DO_CHECKPOINT_ENABLED 1
#define TRACE_QMP_ENTER_QUERY_COLO_STATUS_ENABLED 1
#define TRACE_QMP_EXIT_QUERY_COLO_STATUS_ENABLED 1
#define TRACE_QMP_ENTER_MIGRATE_RECOVER_ENABLED 1
#define TRACE_QMP_EXIT_MIGRATE_RECOVER_ENABLED 1
#define TRACE_QMP_ENTER_MIGRATE_PAUSE_ENABLED 1
#define TRACE_QMP_EXIT_MIGRATE_PAUSE_ENABLED 1
#define TRACE_QMP_ENTER_CALC_DIRTY_RATE_ENABLED 1
#define TRACE_QMP_EXIT_CALC_DIRTY_RATE_ENABLED 1
#define TRACE_QMP_ENTER_QUERY_DIRTY_RATE_ENABLED 1
#define TRACE_QMP_EXIT_QUERY_DIRTY_RATE_ENABLED 1
#define TRACE_QMP_ENTER_SET_VCPU_DIRTY_LIMIT_ENABLED 1
#define TRACE_QMP_EXIT_SET_VCPU_DIRTY_LIMIT_ENABLED 1
#define TRACE_QMP_ENTER_CANCEL_VCPU_DIRTY_LIMIT_ENABLED 1
#define TRACE_QMP_EXIT_CANCEL_VCPU_DIRTY_LIMIT_ENABLED 1
#define TRACE_QMP_ENTER_QUERY_VCPU_DIRTY_LIMIT_ENABLED 1
#define TRACE_QMP_EXIT_QUERY_VCPU_DIRTY_LIMIT_ENABLED 1
#define TRACE_QMP_ENTER_QUERY_MIGRATIONTHREADS_ENABLED 1
#define TRACE_QMP_EXIT_QUERY_MIGRATIONTHREADS_ENABLED 1
#define TRACE_QMP_ENTER_SNAPSHOT_SAVE_ENABLED 1
#define TRACE_QMP_EXIT_SNAPSHOT_SAVE_ENABLED 1
#define TRACE_QMP_ENTER_SNAPSHOT_LOAD_ENABLED 1
#define TRACE_QMP_EXIT_SNAPSHOT_LOAD_ENABLED 1
#define TRACE_QMP_ENTER_SNAPSHOT_DELETE_ENABLED 1
#define TRACE_QMP_EXIT_SNAPSHOT_DELETE_ENABLED 1
#include "qemu/log-for-trace.h"


#define TRACE_QMP_ENTER_QUERY_MIGRATE_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_QMP_ENTER_QUERY_MIGRATE) || \
    false)

static inline void trace_qmp_enter_query_migrate(const char *json)
{
    if (trace_event_get_state(TRACE_QMP_ENTER_QUERY_MIGRATE)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 3 "qapi/qapi-commands-migration.trace-events"
            qemu_log("qmp_enter_query_migrate " "%s" "\n", json);
#line 197 "trace/trace-qapi_commands_migration_trace_events.h"
        }
    }
}

#define TRACE_QMP_EXIT_QUERY_MIGRATE_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_QMP_EXIT_QUERY_MIGRATE) || \
    false)

static inline void trace_qmp_exit_query_migrate(const char *result, bool succeeded)
{
    if (trace_event_get_state(TRACE_QMP_EXIT_QUERY_MIGRATE)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 4 "qapi/qapi-commands-migration.trace-events"
            qemu_log("qmp_exit_query_migrate " "%s %d" "\n", result, succeeded);
#line 212 "trace/trace-qapi_commands_migration_trace_events.h"
        }
    }
}

#define TRACE_QMP_ENTER_MIGRATE_SET_CAPABILITIES_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_QMP_ENTER_MIGRATE_SET_CAPABILITIES) || \
    false)

static inline void trace_qmp_enter_migrate_set_capabilities(const char *json)
{
    if (trace_event_get_state(TRACE_QMP_ENTER_MIGRATE_SET_CAPABILITIES)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 5 "qapi/qapi-commands-migration.trace-events"
            qemu_log("qmp_enter_migrate_set_capabilities " "%s" "\n", json);
#line 227 "trace/trace-qapi_commands_migration_trace_events.h"
        }
    }
}

#define TRACE_QMP_EXIT_MIGRATE_SET_CAPABILITIES_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_QMP_EXIT_MIGRATE_SET_CAPABILITIES) || \
    false)

static inline void trace_qmp_exit_migrate_set_capabilities(const char *result, bool succeeded)
{
    if (trace_event_get_state(TRACE_QMP_EXIT_MIGRATE_SET_CAPABILITIES)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 6 "qapi/qapi-commands-migration.trace-events"
            qemu_log("qmp_exit_migrate_set_capabilities " "%s %d" "\n", result, succeeded);
#line 242 "trace/trace-qapi_commands_migration_trace_events.h"
        }
    }
}

#define TRACE_QMP_ENTER_QUERY_MIGRATE_CAPABILITIES_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_QMP_ENTER_QUERY_MIGRATE_CAPABILITIES) || \
    false)

static inline void trace_qmp_enter_query_migrate_capabilities(const char *json)
{
    if (trace_event_get_state(TRACE_QMP_ENTER_QUERY_MIGRATE_CAPABILITIES)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 7 "qapi/qapi-commands-migration.trace-events"
            qemu_log("qmp_enter_query_migrate_capabilities " "%s" "\n", json);
#line 257 "trace/trace-qapi_commands_migration_trace_events.h"
        }
    }
}

#define TRACE_QMP_EXIT_QUERY_MIGRATE_CAPABILITIES_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_QMP_EXIT_QUERY_MIGRATE_CAPABILITIES) || \
    false)

static inline void trace_qmp_exit_query_migrate_capabilities(const char *result, bool succeeded)
{
    if (trace_event_get_state(TRACE_QMP_EXIT_QUERY_MIGRATE_CAPABILITIES)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 8 "qapi/qapi-commands-migration.trace-events"
            qemu_log("qmp_exit_query_migrate_capabilities " "%s %d" "\n", result, succeeded);
#line 272 "trace/trace-qapi_commands_migration_trace_events.h"
        }
    }
}

#define TRACE_QMP_ENTER_MIGRATE_SET_PARAMETERS_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_QMP_ENTER_MIGRATE_SET_PARAMETERS) || \
    false)

static inline void trace_qmp_enter_migrate_set_parameters(const char *json)
{
    if (trace_event_get_state(TRACE_QMP_ENTER_MIGRATE_SET_PARAMETERS)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 9 "qapi/qapi-commands-migration.trace-events"
            qemu_log("qmp_enter_migrate_set_parameters " "%s" "\n", json);
#line 287 "trace/trace-qapi_commands_migration_trace_events.h"
        }
    }
}

#define TRACE_QMP_EXIT_MIGRATE_SET_PARAMETERS_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_QMP_EXIT_MIGRATE_SET_PARAMETERS) || \
    false)

static inline void trace_qmp_exit_migrate_set_parameters(const char *result, bool succeeded)
{
    if (trace_event_get_state(TRACE_QMP_EXIT_MIGRATE_SET_PARAMETERS)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 10 "qapi/qapi-commands-migration.trace-events"
            qemu_log("qmp_exit_migrate_set_parameters " "%s %d" "\n", result, succeeded);
#line 302 "trace/trace-qapi_commands_migration_trace_events.h"
        }
    }
}

#define TRACE_QMP_ENTER_QUERY_MIGRATE_PARAMETERS_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_QMP_ENTER_QUERY_MIGRATE_PARAMETERS) || \
    false)

static inline void trace_qmp_enter_query_migrate_parameters(const char *json)
{
    if (trace_event_get_state(TRACE_QMP_ENTER_QUERY_MIGRATE_PARAMETERS)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 11 "qapi/qapi-commands-migration.trace-events"
            qemu_log("qmp_enter_query_migrate_parameters " "%s" "\n", json);
#line 317 "trace/trace-qapi_commands_migration_trace_events.h"
        }
    }
}

#define TRACE_QMP_EXIT_QUERY_MIGRATE_PARAMETERS_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_QMP_EXIT_QUERY_MIGRATE_PARAMETERS) || \
    false)

static inline void trace_qmp_exit_query_migrate_parameters(const char *result, bool succeeded)
{
    if (trace_event_get_state(TRACE_QMP_EXIT_QUERY_MIGRATE_PARAMETERS)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 12 "qapi/qapi-commands-migration.trace-events"
            qemu_log("qmp_exit_query_migrate_parameters " "%s %d" "\n", result, succeeded);
#line 332 "trace/trace-qapi_commands_migration_trace_events.h"
        }
    }
}

#define TRACE_QMP_ENTER_MIGRATE_START_POSTCOPY_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_QMP_ENTER_MIGRATE_START_POSTCOPY) || \
    false)

static inline void trace_qmp_enter_migrate_start_postcopy(const char *json)
{
    if (trace_event_get_state(TRACE_QMP_ENTER_MIGRATE_START_POSTCOPY)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 13 "qapi/qapi-commands-migration.trace-events"
            qemu_log("qmp_enter_migrate_start_postcopy " "%s" "\n", json);
#line 347 "trace/trace-qapi_commands_migration_trace_events.h"
        }
    }
}

#define TRACE_QMP_EXIT_MIGRATE_START_POSTCOPY_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_QMP_EXIT_MIGRATE_START_POSTCOPY) || \
    false)

static inline void trace_qmp_exit_migrate_start_postcopy(const char *result, bool succeeded)
{
    if (trace_event_get_state(TRACE_QMP_EXIT_MIGRATE_START_POSTCOPY)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 14 "qapi/qapi-commands-migration.trace-events"
            qemu_log("qmp_exit_migrate_start_postcopy " "%s %d" "\n", result, succeeded);
#line 362 "trace/trace-qapi_commands_migration_trace_events.h"
        }
    }
}

#define TRACE_QMP_ENTER_X_COLO_LOST_HEARTBEAT_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_QMP_ENTER_X_COLO_LOST_HEARTBEAT) || \
    false)

static inline void trace_qmp_enter_x_colo_lost_heartbeat(const char *json)
{
    if (trace_event_get_state(TRACE_QMP_ENTER_X_COLO_LOST_HEARTBEAT)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 15 "qapi/qapi-commands-migration.trace-events"
            qemu_log("qmp_enter_x_colo_lost_heartbeat " "%s" "\n", json);
#line 377 "trace/trace-qapi_commands_migration_trace_events.h"
        }
    }
}

#define TRACE_QMP_EXIT_X_COLO_LOST_HEARTBEAT_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_QMP_EXIT_X_COLO_LOST_HEARTBEAT) || \
    false)

static inline void trace_qmp_exit_x_colo_lost_heartbeat(const char *result, bool succeeded)
{
    if (trace_event_get_state(TRACE_QMP_EXIT_X_COLO_LOST_HEARTBEAT)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 16 "qapi/qapi-commands-migration.trace-events"
            qemu_log("qmp_exit_x_colo_lost_heartbeat " "%s %d" "\n", result, succeeded);
#line 392 "trace/trace-qapi_commands_migration_trace_events.h"
        }
    }
}

#define TRACE_QMP_ENTER_MIGRATE_CANCEL_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_QMP_ENTER_MIGRATE_CANCEL) || \
    false)

static inline void trace_qmp_enter_migrate_cancel(const char *json)
{
    if (trace_event_get_state(TRACE_QMP_ENTER_MIGRATE_CANCEL)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 17 "qapi/qapi-commands-migration.trace-events"
            qemu_log("qmp_enter_migrate_cancel " "%s" "\n", json);
#line 407 "trace/trace-qapi_commands_migration_trace_events.h"
        }
    }
}

#define TRACE_QMP_EXIT_MIGRATE_CANCEL_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_QMP_EXIT_MIGRATE_CANCEL) || \
    false)

static inline void trace_qmp_exit_migrate_cancel(const char *result, bool succeeded)
{
    if (trace_event_get_state(TRACE_QMP_EXIT_MIGRATE_CANCEL)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 18 "qapi/qapi-commands-migration.trace-events"
            qemu_log("qmp_exit_migrate_cancel " "%s %d" "\n", result, succeeded);
#line 422 "trace/trace-qapi_commands_migration_trace_events.h"
        }
    }
}

#define TRACE_QMP_ENTER_MIGRATE_CONTINUE_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_QMP_ENTER_MIGRATE_CONTINUE) || \
    false)

static inline void trace_qmp_enter_migrate_continue(const char *json)
{
    if (trace_event_get_state(TRACE_QMP_ENTER_MIGRATE_CONTINUE)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 19 "qapi/qapi-commands-migration.trace-events"
            qemu_log("qmp_enter_migrate_continue " "%s" "\n", json);
#line 437 "trace/trace-qapi_commands_migration_trace_events.h"
        }
    }
}

#define TRACE_QMP_EXIT_MIGRATE_CONTINUE_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_QMP_EXIT_MIGRATE_CONTINUE) || \
    false)

static inline void trace_qmp_exit_migrate_continue(const char *result, bool succeeded)
{
    if (trace_event_get_state(TRACE_QMP_EXIT_MIGRATE_CONTINUE)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 20 "qapi/qapi-commands-migration.trace-events"
            qemu_log("qmp_exit_migrate_continue " "%s %d" "\n", result, succeeded);
#line 452 "trace/trace-qapi_commands_migration_trace_events.h"
        }
    }
}

#define TRACE_QMP_ENTER_MIGRATE_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_QMP_ENTER_MIGRATE) || \
    false)

static inline void trace_qmp_enter_migrate(const char *json)
{
    if (trace_event_get_state(TRACE_QMP_ENTER_MIGRATE)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 21 "qapi/qapi-commands-migration.trace-events"
            qemu_log("qmp_enter_migrate " "%s" "\n", json);
#line 467 "trace/trace-qapi_commands_migration_trace_events.h"
        }
    }
}

#define TRACE_QMP_EXIT_MIGRATE_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_QMP_EXIT_MIGRATE) || \
    false)

static inline void trace_qmp_exit_migrate(const char *result, bool succeeded)
{
    if (trace_event_get_state(TRACE_QMP_EXIT_MIGRATE)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 22 "qapi/qapi-commands-migration.trace-events"
            qemu_log("qmp_exit_migrate " "%s %d" "\n", result, succeeded);
#line 482 "trace/trace-qapi_commands_migration_trace_events.h"
        }
    }
}

#define TRACE_QMP_ENTER_MIGRATE_INCOMING_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_QMP_ENTER_MIGRATE_INCOMING) || \
    false)

static inline void trace_qmp_enter_migrate_incoming(const char *json)
{
    if (trace_event_get_state(TRACE_QMP_ENTER_MIGRATE_INCOMING)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 23 "qapi/qapi-commands-migration.trace-events"
            qemu_log("qmp_enter_migrate_incoming " "%s" "\n", json);
#line 497 "trace/trace-qapi_commands_migration_trace_events.h"
        }
    }
}

#define TRACE_QMP_EXIT_MIGRATE_INCOMING_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_QMP_EXIT_MIGRATE_INCOMING) || \
    false)

static inline void trace_qmp_exit_migrate_incoming(const char *result, bool succeeded)
{
    if (trace_event_get_state(TRACE_QMP_EXIT_MIGRATE_INCOMING)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 24 "qapi/qapi-commands-migration.trace-events"
            qemu_log("qmp_exit_migrate_incoming " "%s %d" "\n", result, succeeded);
#line 512 "trace/trace-qapi_commands_migration_trace_events.h"
        }
    }
}

#define TRACE_QMP_ENTER_XEN_SAVE_DEVICES_STATE_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_QMP_ENTER_XEN_SAVE_DEVICES_STATE) || \
    false)

static inline void trace_qmp_enter_xen_save_devices_state(const char *json)
{
    if (trace_event_get_state(TRACE_QMP_ENTER_XEN_SAVE_DEVICES_STATE)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 25 "qapi/qapi-commands-migration.trace-events"
            qemu_log("qmp_enter_xen_save_devices_state " "%s" "\n", json);
#line 527 "trace/trace-qapi_commands_migration_trace_events.h"
        }
    }
}

#define TRACE_QMP_EXIT_XEN_SAVE_DEVICES_STATE_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_QMP_EXIT_XEN_SAVE_DEVICES_STATE) || \
    false)

static inline void trace_qmp_exit_xen_save_devices_state(const char *result, bool succeeded)
{
    if (trace_event_get_state(TRACE_QMP_EXIT_XEN_SAVE_DEVICES_STATE)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 26 "qapi/qapi-commands-migration.trace-events"
            qemu_log("qmp_exit_xen_save_devices_state " "%s %d" "\n", result, succeeded);
#line 542 "trace/trace-qapi_commands_migration_trace_events.h"
        }
    }
}

#define TRACE_QMP_ENTER_XEN_SET_GLOBAL_DIRTY_LOG_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_QMP_ENTER_XEN_SET_GLOBAL_DIRTY_LOG) || \
    false)

static inline void trace_qmp_enter_xen_set_global_dirty_log(const char *json)
{
    if (trace_event_get_state(TRACE_QMP_ENTER_XEN_SET_GLOBAL_DIRTY_LOG)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 27 "qapi/qapi-commands-migration.trace-events"
            qemu_log("qmp_enter_xen_set_global_dirty_log " "%s" "\n", json);
#line 557 "trace/trace-qapi_commands_migration_trace_events.h"
        }
    }
}

#define TRACE_QMP_EXIT_XEN_SET_GLOBAL_DIRTY_LOG_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_QMP_EXIT_XEN_SET_GLOBAL_DIRTY_LOG) || \
    false)

static inline void trace_qmp_exit_xen_set_global_dirty_log(const char *result, bool succeeded)
{
    if (trace_event_get_state(TRACE_QMP_EXIT_XEN_SET_GLOBAL_DIRTY_LOG)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 28 "qapi/qapi-commands-migration.trace-events"
            qemu_log("qmp_exit_xen_set_global_dirty_log " "%s %d" "\n", result, succeeded);
#line 572 "trace/trace-qapi_commands_migration_trace_events.h"
        }
    }
}

#define TRACE_QMP_ENTER_XEN_LOAD_DEVICES_STATE_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_QMP_ENTER_XEN_LOAD_DEVICES_STATE) || \
    false)

static inline void trace_qmp_enter_xen_load_devices_state(const char *json)
{
    if (trace_event_get_state(TRACE_QMP_ENTER_XEN_LOAD_DEVICES_STATE)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 29 "qapi/qapi-commands-migration.trace-events"
            qemu_log("qmp_enter_xen_load_devices_state " "%s" "\n", json);
#line 587 "trace/trace-qapi_commands_migration_trace_events.h"
        }
    }
}

#define TRACE_QMP_EXIT_XEN_LOAD_DEVICES_STATE_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_QMP_EXIT_XEN_LOAD_DEVICES_STATE) || \
    false)

static inline void trace_qmp_exit_xen_load_devices_state(const char *result, bool succeeded)
{
    if (trace_event_get_state(TRACE_QMP_EXIT_XEN_LOAD_DEVICES_STATE)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 30 "qapi/qapi-commands-migration.trace-events"
            qemu_log("qmp_exit_xen_load_devices_state " "%s %d" "\n", result, succeeded);
#line 602 "trace/trace-qapi_commands_migration_trace_events.h"
        }
    }
}

#define TRACE_QMP_ENTER_XEN_SET_REPLICATION_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_QMP_ENTER_XEN_SET_REPLICATION) || \
    false)

static inline void trace_qmp_enter_xen_set_replication(const char *json)
{
    if (trace_event_get_state(TRACE_QMP_ENTER_XEN_SET_REPLICATION)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 31 "qapi/qapi-commands-migration.trace-events"
            qemu_log("qmp_enter_xen_set_replication " "%s" "\n", json);
#line 617 "trace/trace-qapi_commands_migration_trace_events.h"
        }
    }
}

#define TRACE_QMP_EXIT_XEN_SET_REPLICATION_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_QMP_EXIT_XEN_SET_REPLICATION) || \
    false)

static inline void trace_qmp_exit_xen_set_replication(const char *result, bool succeeded)
{
    if (trace_event_get_state(TRACE_QMP_EXIT_XEN_SET_REPLICATION)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 32 "qapi/qapi-commands-migration.trace-events"
            qemu_log("qmp_exit_xen_set_replication " "%s %d" "\n", result, succeeded);
#line 632 "trace/trace-qapi_commands_migration_trace_events.h"
        }
    }
}

#define TRACE_QMP_ENTER_QUERY_XEN_REPLICATION_STATUS_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_QMP_ENTER_QUERY_XEN_REPLICATION_STATUS) || \
    false)

static inline void trace_qmp_enter_query_xen_replication_status(const char *json)
{
    if (trace_event_get_state(TRACE_QMP_ENTER_QUERY_XEN_REPLICATION_STATUS)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 33 "qapi/qapi-commands-migration.trace-events"
            qemu_log("qmp_enter_query_xen_replication_status " "%s" "\n", json);
#line 647 "trace/trace-qapi_commands_migration_trace_events.h"
        }
    }
}

#define TRACE_QMP_EXIT_QUERY_XEN_REPLICATION_STATUS_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_QMP_EXIT_QUERY_XEN_REPLICATION_STATUS) || \
    false)

static inline void trace_qmp_exit_query_xen_replication_status(const char *result, bool succeeded)
{
    if (trace_event_get_state(TRACE_QMP_EXIT_QUERY_XEN_REPLICATION_STATUS)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 34 "qapi/qapi-commands-migration.trace-events"
            qemu_log("qmp_exit_query_xen_replication_status " "%s %d" "\n", result, succeeded);
#line 662 "trace/trace-qapi_commands_migration_trace_events.h"
        }
    }
}

#define TRACE_QMP_ENTER_XEN_COLO_DO_CHECKPOINT_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_QMP_ENTER_XEN_COLO_DO_CHECKPOINT) || \
    false)

static inline void trace_qmp_enter_xen_colo_do_checkpoint(const char *json)
{
    if (trace_event_get_state(TRACE_QMP_ENTER_XEN_COLO_DO_CHECKPOINT)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 35 "qapi/qapi-commands-migration.trace-events"
            qemu_log("qmp_enter_xen_colo_do_checkpoint " "%s" "\n", json);
#line 677 "trace/trace-qapi_commands_migration_trace_events.h"
        }
    }
}

#define TRACE_QMP_EXIT_XEN_COLO_DO_CHECKPOINT_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_QMP_EXIT_XEN_COLO_DO_CHECKPOINT) || \
    false)

static inline void trace_qmp_exit_xen_colo_do_checkpoint(const char *result, bool succeeded)
{
    if (trace_event_get_state(TRACE_QMP_EXIT_XEN_COLO_DO_CHECKPOINT)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 36 "qapi/qapi-commands-migration.trace-events"
            qemu_log("qmp_exit_xen_colo_do_checkpoint " "%s %d" "\n", result, succeeded);
#line 692 "trace/trace-qapi_commands_migration_trace_events.h"
        }
    }
}

#define TRACE_QMP_ENTER_QUERY_COLO_STATUS_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_QMP_ENTER_QUERY_COLO_STATUS) || \
    false)

static inline void trace_qmp_enter_query_colo_status(const char *json)
{
    if (trace_event_get_state(TRACE_QMP_ENTER_QUERY_COLO_STATUS)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 37 "qapi/qapi-commands-migration.trace-events"
            qemu_log("qmp_enter_query_colo_status " "%s" "\n", json);
#line 707 "trace/trace-qapi_commands_migration_trace_events.h"
        }
    }
}

#define TRACE_QMP_EXIT_QUERY_COLO_STATUS_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_QMP_EXIT_QUERY_COLO_STATUS) || \
    false)

static inline void trace_qmp_exit_query_colo_status(const char *result, bool succeeded)
{
    if (trace_event_get_state(TRACE_QMP_EXIT_QUERY_COLO_STATUS)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 38 "qapi/qapi-commands-migration.trace-events"
            qemu_log("qmp_exit_query_colo_status " "%s %d" "\n", result, succeeded);
#line 722 "trace/trace-qapi_commands_migration_trace_events.h"
        }
    }
}

#define TRACE_QMP_ENTER_MIGRATE_RECOVER_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_QMP_ENTER_MIGRATE_RECOVER) || \
    false)

static inline void trace_qmp_enter_migrate_recover(const char *json)
{
    if (trace_event_get_state(TRACE_QMP_ENTER_MIGRATE_RECOVER)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 39 "qapi/qapi-commands-migration.trace-events"
            qemu_log("qmp_enter_migrate_recover " "%s" "\n", json);
#line 737 "trace/trace-qapi_commands_migration_trace_events.h"
        }
    }
}

#define TRACE_QMP_EXIT_MIGRATE_RECOVER_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_QMP_EXIT_MIGRATE_RECOVER) || \
    false)

static inline void trace_qmp_exit_migrate_recover(const char *result, bool succeeded)
{
    if (trace_event_get_state(TRACE_QMP_EXIT_MIGRATE_RECOVER)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 40 "qapi/qapi-commands-migration.trace-events"
            qemu_log("qmp_exit_migrate_recover " "%s %d" "\n", result, succeeded);
#line 752 "trace/trace-qapi_commands_migration_trace_events.h"
        }
    }
}

#define TRACE_QMP_ENTER_MIGRATE_PAUSE_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_QMP_ENTER_MIGRATE_PAUSE) || \
    false)

static inline void trace_qmp_enter_migrate_pause(const char *json)
{
    if (trace_event_get_state(TRACE_QMP_ENTER_MIGRATE_PAUSE)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 41 "qapi/qapi-commands-migration.trace-events"
            qemu_log("qmp_enter_migrate_pause " "%s" "\n", json);
#line 767 "trace/trace-qapi_commands_migration_trace_events.h"
        }
    }
}

#define TRACE_QMP_EXIT_MIGRATE_PAUSE_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_QMP_EXIT_MIGRATE_PAUSE) || \
    false)

static inline void trace_qmp_exit_migrate_pause(const char *result, bool succeeded)
{
    if (trace_event_get_state(TRACE_QMP_EXIT_MIGRATE_PAUSE)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 42 "qapi/qapi-commands-migration.trace-events"
            qemu_log("qmp_exit_migrate_pause " "%s %d" "\n", result, succeeded);
#line 782 "trace/trace-qapi_commands_migration_trace_events.h"
        }
    }
}

#define TRACE_QMP_ENTER_CALC_DIRTY_RATE_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_QMP_ENTER_CALC_DIRTY_RATE) || \
    false)

static inline void trace_qmp_enter_calc_dirty_rate(const char *json)
{
    if (trace_event_get_state(TRACE_QMP_ENTER_CALC_DIRTY_RATE)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 43 "qapi/qapi-commands-migration.trace-events"
            qemu_log("qmp_enter_calc_dirty_rate " "%s" "\n", json);
#line 797 "trace/trace-qapi_commands_migration_trace_events.h"
        }
    }
}

#define TRACE_QMP_EXIT_CALC_DIRTY_RATE_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_QMP_EXIT_CALC_DIRTY_RATE) || \
    false)

static inline void trace_qmp_exit_calc_dirty_rate(const char *result, bool succeeded)
{
    if (trace_event_get_state(TRACE_QMP_EXIT_CALC_DIRTY_RATE)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 44 "qapi/qapi-commands-migration.trace-events"
            qemu_log("qmp_exit_calc_dirty_rate " "%s %d" "\n", result, succeeded);
#line 812 "trace/trace-qapi_commands_migration_trace_events.h"
        }
    }
}

#define TRACE_QMP_ENTER_QUERY_DIRTY_RATE_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_QMP_ENTER_QUERY_DIRTY_RATE) || \
    false)

static inline void trace_qmp_enter_query_dirty_rate(const char *json)
{
    if (trace_event_get_state(TRACE_QMP_ENTER_QUERY_DIRTY_RATE)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 45 "qapi/qapi-commands-migration.trace-events"
            qemu_log("qmp_enter_query_dirty_rate " "%s" "\n", json);
#line 827 "trace/trace-qapi_commands_migration_trace_events.h"
        }
    }
}

#define TRACE_QMP_EXIT_QUERY_DIRTY_RATE_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_QMP_EXIT_QUERY_DIRTY_RATE) || \
    false)

static inline void trace_qmp_exit_query_dirty_rate(const char *result, bool succeeded)
{
    if (trace_event_get_state(TRACE_QMP_EXIT_QUERY_DIRTY_RATE)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 46 "qapi/qapi-commands-migration.trace-events"
            qemu_log("qmp_exit_query_dirty_rate " "%s %d" "\n", result, succeeded);
#line 842 "trace/trace-qapi_commands_migration_trace_events.h"
        }
    }
}

#define TRACE_QMP_ENTER_SET_VCPU_DIRTY_LIMIT_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_QMP_ENTER_SET_VCPU_DIRTY_LIMIT) || \
    false)

static inline void trace_qmp_enter_set_vcpu_dirty_limit(const char *json)
{
    if (trace_event_get_state(TRACE_QMP_ENTER_SET_VCPU_DIRTY_LIMIT)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 47 "qapi/qapi-commands-migration.trace-events"
            qemu_log("qmp_enter_set_vcpu_dirty_limit " "%s" "\n", json);
#line 857 "trace/trace-qapi_commands_migration_trace_events.h"
        }
    }
}

#define TRACE_QMP_EXIT_SET_VCPU_DIRTY_LIMIT_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_QMP_EXIT_SET_VCPU_DIRTY_LIMIT) || \
    false)

static inline void trace_qmp_exit_set_vcpu_dirty_limit(const char *result, bool succeeded)
{
    if (trace_event_get_state(TRACE_QMP_EXIT_SET_VCPU_DIRTY_LIMIT)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 48 "qapi/qapi-commands-migration.trace-events"
            qemu_log("qmp_exit_set_vcpu_dirty_limit " "%s %d" "\n", result, succeeded);
#line 872 "trace/trace-qapi_commands_migration_trace_events.h"
        }
    }
}

#define TRACE_QMP_ENTER_CANCEL_VCPU_DIRTY_LIMIT_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_QMP_ENTER_CANCEL_VCPU_DIRTY_LIMIT) || \
    false)

static inline void trace_qmp_enter_cancel_vcpu_dirty_limit(const char *json)
{
    if (trace_event_get_state(TRACE_QMP_ENTER_CANCEL_VCPU_DIRTY_LIMIT)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 49 "qapi/qapi-commands-migration.trace-events"
            qemu_log("qmp_enter_cancel_vcpu_dirty_limit " "%s" "\n", json);
#line 887 "trace/trace-qapi_commands_migration_trace_events.h"
        }
    }
}

#define TRACE_QMP_EXIT_CANCEL_VCPU_DIRTY_LIMIT_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_QMP_EXIT_CANCEL_VCPU_DIRTY_LIMIT) || \
    false)

static inline void trace_qmp_exit_cancel_vcpu_dirty_limit(const char *result, bool succeeded)
{
    if (trace_event_get_state(TRACE_QMP_EXIT_CANCEL_VCPU_DIRTY_LIMIT)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 50 "qapi/qapi-commands-migration.trace-events"
            qemu_log("qmp_exit_cancel_vcpu_dirty_limit " "%s %d" "\n", result, succeeded);
#line 902 "trace/trace-qapi_commands_migration_trace_events.h"
        }
    }
}

#define TRACE_QMP_ENTER_QUERY_VCPU_DIRTY_LIMIT_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_QMP_ENTER_QUERY_VCPU_DIRTY_LIMIT) || \
    false)

static inline void trace_qmp_enter_query_vcpu_dirty_limit(const char *json)
{
    if (trace_event_get_state(TRACE_QMP_ENTER_QUERY_VCPU_DIRTY_LIMIT)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 51 "qapi/qapi-commands-migration.trace-events"
            qemu_log("qmp_enter_query_vcpu_dirty_limit " "%s" "\n", json);
#line 917 "trace/trace-qapi_commands_migration_trace_events.h"
        }
    }
}

#define TRACE_QMP_EXIT_QUERY_VCPU_DIRTY_LIMIT_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_QMP_EXIT_QUERY_VCPU_DIRTY_LIMIT) || \
    false)

static inline void trace_qmp_exit_query_vcpu_dirty_limit(const char *result, bool succeeded)
{
    if (trace_event_get_state(TRACE_QMP_EXIT_QUERY_VCPU_DIRTY_LIMIT)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 52 "qapi/qapi-commands-migration.trace-events"
            qemu_log("qmp_exit_query_vcpu_dirty_limit " "%s %d" "\n", result, succeeded);
#line 932 "trace/trace-qapi_commands_migration_trace_events.h"
        }
    }
}

#define TRACE_QMP_ENTER_QUERY_MIGRATIONTHREADS_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_QMP_ENTER_QUERY_MIGRATIONTHREADS) || \
    false)

static inline void trace_qmp_enter_query_migrationthreads(const char *json)
{
    if (trace_event_get_state(TRACE_QMP_ENTER_QUERY_MIGRATIONTHREADS)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 53 "qapi/qapi-commands-migration.trace-events"
            qemu_log("qmp_enter_query_migrationthreads " "%s" "\n", json);
#line 947 "trace/trace-qapi_commands_migration_trace_events.h"
        }
    }
}

#define TRACE_QMP_EXIT_QUERY_MIGRATIONTHREADS_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_QMP_EXIT_QUERY_MIGRATIONTHREADS) || \
    false)

static inline void trace_qmp_exit_query_migrationthreads(const char *result, bool succeeded)
{
    if (trace_event_get_state(TRACE_QMP_EXIT_QUERY_MIGRATIONTHREADS)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 54 "qapi/qapi-commands-migration.trace-events"
            qemu_log("qmp_exit_query_migrationthreads " "%s %d" "\n", result, succeeded);
#line 962 "trace/trace-qapi_commands_migration_trace_events.h"
        }
    }
}

#define TRACE_QMP_ENTER_SNAPSHOT_SAVE_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_QMP_ENTER_SNAPSHOT_SAVE) || \
    false)

static inline void trace_qmp_enter_snapshot_save(const char *json)
{
    if (trace_event_get_state(TRACE_QMP_ENTER_SNAPSHOT_SAVE)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 55 "qapi/qapi-commands-migration.trace-events"
            qemu_log("qmp_enter_snapshot_save " "%s" "\n", json);
#line 977 "trace/trace-qapi_commands_migration_trace_events.h"
        }
    }
}

#define TRACE_QMP_EXIT_SNAPSHOT_SAVE_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_QMP_EXIT_SNAPSHOT_SAVE) || \
    false)

static inline void trace_qmp_exit_snapshot_save(const char *result, bool succeeded)
{
    if (trace_event_get_state(TRACE_QMP_EXIT_SNAPSHOT_SAVE)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 56 "qapi/qapi-commands-migration.trace-events"
            qemu_log("qmp_exit_snapshot_save " "%s %d" "\n", result, succeeded);
#line 992 "trace/trace-qapi_commands_migration_trace_events.h"
        }
    }
}

#define TRACE_QMP_ENTER_SNAPSHOT_LOAD_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_QMP_ENTER_SNAPSHOT_LOAD) || \
    false)

static inline void trace_qmp_enter_snapshot_load(const char *json)
{
    if (trace_event_get_state(TRACE_QMP_ENTER_SNAPSHOT_LOAD)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 57 "qapi/qapi-commands-migration.trace-events"
            qemu_log("qmp_enter_snapshot_load " "%s" "\n", json);
#line 1007 "trace/trace-qapi_commands_migration_trace_events.h"
        }
    }
}

#define TRACE_QMP_EXIT_SNAPSHOT_LOAD_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_QMP_EXIT_SNAPSHOT_LOAD) || \
    false)

static inline void trace_qmp_exit_snapshot_load(const char *result, bool succeeded)
{
    if (trace_event_get_state(TRACE_QMP_EXIT_SNAPSHOT_LOAD)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 58 "qapi/qapi-commands-migration.trace-events"
            qemu_log("qmp_exit_snapshot_load " "%s %d" "\n", result, succeeded);
#line 1022 "trace/trace-qapi_commands_migration_trace_events.h"
        }
    }
}

#define TRACE_QMP_ENTER_SNAPSHOT_DELETE_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_QMP_ENTER_SNAPSHOT_DELETE) || \
    false)

static inline void trace_qmp_enter_snapshot_delete(const char *json)
{
    if (trace_event_get_state(TRACE_QMP_ENTER_SNAPSHOT_DELETE)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 59 "qapi/qapi-commands-migration.trace-events"
            qemu_log("qmp_enter_snapshot_delete " "%s" "\n", json);
#line 1037 "trace/trace-qapi_commands_migration_trace_events.h"
        }
    }
}

#define TRACE_QMP_EXIT_SNAPSHOT_DELETE_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_QMP_EXIT_SNAPSHOT_DELETE) || \
    false)

static inline void trace_qmp_exit_snapshot_delete(const char *result, bool succeeded)
{
    if (trace_event_get_state(TRACE_QMP_EXIT_SNAPSHOT_DELETE)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 60 "qapi/qapi-commands-migration.trace-events"
            qemu_log("qmp_exit_snapshot_delete " "%s %d" "\n", result, succeeded);
#line 1052 "trace/trace-qapi_commands_migration_trace_events.h"
        }
    }
}
#endif /* TRACE_QAPI_COMMANDS_MIGRATION_TRACE_EVENTS_GENERATED_TRACERS_H */
