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

#ifndef TRACE_MIGRATION_GENERATED_TRACERS_H
#define TRACE_MIGRATION_GENERATED_TRACERS_H

#include "trace/control.h"

extern TraceEvent _TRACE_QEMU_LOADVM_STATE_SECTION_EVENT;
extern TraceEvent _TRACE_QEMU_LOADVM_STATE_SECTION_COMMAND_EVENT;
extern TraceEvent _TRACE_QEMU_LOADVM_STATE_SECTION_PARTEND_EVENT;
extern TraceEvent _TRACE_QEMU_LOADVM_STATE_POST_MAIN_EVENT;
extern TraceEvent _TRACE_QEMU_LOADVM_STATE_SECTION_STARTFULL_EVENT;
extern TraceEvent _TRACE_QEMU_SAVEVM_SEND_PACKAGED_EVENT;
extern TraceEvent _TRACE_QEMU_SAVEVM_QUERY_PENDING_EVENT;
extern TraceEvent _TRACE_LOADVM_STATE_SWITCHOVER_ACK_NEEDED_EVENT;
extern TraceEvent _TRACE_LOADVM_STATE_SETUP_EVENT;
extern TraceEvent _TRACE_LOADVM_STATE_CLEANUP_EVENT;
extern TraceEvent _TRACE_LOADVM_HANDLE_CMD_PACKAGED_EVENT;
extern TraceEvent _TRACE_LOADVM_HANDLE_CMD_PACKAGED_MAIN_EVENT;
extern TraceEvent _TRACE_LOADVM_HANDLE_CMD_PACKAGED_RECEIVED_EVENT;
extern TraceEvent _TRACE_LOADVM_HANDLE_RECV_BITMAP_EVENT;
extern TraceEvent _TRACE_LOADVM_POSTCOPY_HANDLE_ADVISE_EVENT;
extern TraceEvent _TRACE_LOADVM_POSTCOPY_HANDLE_LISTEN_EVENT;
extern TraceEvent _TRACE_LOADVM_POSTCOPY_HANDLE_RUN_EVENT;
extern TraceEvent _TRACE_LOADVM_POSTCOPY_HANDLE_RESUME_EVENT;
extern TraceEvent _TRACE_LOADVM_POSTCOPY_RAM_HANDLE_DISCARD_EVENT;
extern TraceEvent _TRACE_LOADVM_POSTCOPY_RAM_HANDLE_DISCARD_END_EVENT;
extern TraceEvent _TRACE_LOADVM_POSTCOPY_RAM_HANDLE_DISCARD_HEADER_EVENT;
extern TraceEvent _TRACE_LOADVM_PROCESS_COMMAND_EVENT;
extern TraceEvent _TRACE_LOADVM_PROCESS_COMMAND_PING_EVENT;
extern TraceEvent _TRACE_LOADVM_APPROVE_SWITCHOVER_EVENT;
extern TraceEvent _TRACE_POSTCOPY_RAM_LISTEN_THREAD_EXIT_EVENT;
extern TraceEvent _TRACE_POSTCOPY_RAM_LISTEN_THREAD_START_EVENT;
extern TraceEvent _TRACE_QEMU_SAVEVM_SEND_POSTCOPY_ADVISE_EVENT;
extern TraceEvent _TRACE_QEMU_SAVEVM_SEND_POSTCOPY_RAM_DISCARD_EVENT;
extern TraceEvent _TRACE_SAVEVM_COMMAND_SEND_EVENT;
extern TraceEvent _TRACE_SAVEVM_SECTION_START_EVENT;
extern TraceEvent _TRACE_SAVEVM_SECTION_END_EVENT;
extern TraceEvent _TRACE_SAVEVM_SECTION_SKIP_EVENT;
extern TraceEvent _TRACE_SAVEVM_SEND_OPEN_RETURN_PATH_EVENT;
extern TraceEvent _TRACE_SAVEVM_SEND_PING_EVENT;
extern TraceEvent _TRACE_SAVEVM_SEND_POSTCOPY_LISTEN_EVENT;
extern TraceEvent _TRACE_SAVEVM_SEND_POSTCOPY_RUN_EVENT;
extern TraceEvent _TRACE_SAVEVM_SEND_POSTCOPY_RESUME_EVENT;
extern TraceEvent _TRACE_SAVEVM_SEND_RECV_BITMAP_EVENT;
extern TraceEvent _TRACE_SAVEVM_SEND_SWITCHOVER_START_EVENT;
extern TraceEvent _TRACE_SAVEVM_STATE_SETUP_EVENT;
extern TraceEvent _TRACE_SAVEVM_STATE_RESUME_PREPARE_EVENT;
extern TraceEvent _TRACE_SAVEVM_STATE_HEADER_EVENT;
extern TraceEvent _TRACE_SAVEVM_STATE_ITERATE_EVENT;
extern TraceEvent _TRACE_SAVEVM_STATE_CLEANUP_EVENT;
extern TraceEvent _TRACE_VMSTATE_SAVE_EVENT;
extern TraceEvent _TRACE_VMSTATE_LOAD_EVENT;
extern TraceEvent _TRACE_VMSTATE_DOWNTIME_SAVE_EVENT;
extern TraceEvent _TRACE_VMSTATE_DOWNTIME_LOAD_EVENT;
extern TraceEvent _TRACE_VMSTATE_DOWNTIME_CHECKPOINT_EVENT;
extern TraceEvent _TRACE_POSTCOPY_PAUSE_INCOMING_EVENT;
extern TraceEvent _TRACE_POSTCOPY_PAUSE_INCOMING_CONTINUED_EVENT;
extern TraceEvent _TRACE_POSTCOPY_PAGE_REQ_SYNC_EVENT;
extern TraceEvent _TRACE_VMSTATE_LOAD_FIELD_ERROR_EVENT;
extern TraceEvent _TRACE_VMSTATE_LOAD_STATE_EVENT;
extern TraceEvent _TRACE_VMSTATE_LOAD_STATE_FAIL_EVENT;
extern TraceEvent _TRACE_VMSTATE_LOAD_STATE_SUCCESS_EVENT;
extern TraceEvent _TRACE_VMSTATE_LOAD_STATE_FIELD_EVENT;
extern TraceEvent _TRACE_VMSTATE_N_ELEMS_EVENT;
extern TraceEvent _TRACE_VMSTATE_SUBSECTION_LOAD_EVENT;
extern TraceEvent _TRACE_VMSTATE_SUBSECTION_LOAD_BAD_EVENT;
extern TraceEvent _TRACE_VMSTATE_SUBSECTION_LOAD_GOOD_EVENT;
extern TraceEvent _TRACE_VMSTATE_SAVE_STATE_PRE_SAVE_FAIL_EVENT;
extern TraceEvent _TRACE_VMSTATE_SAVE_STATE_PRE_SAVE_SUCCESS_EVENT;
extern TraceEvent _TRACE_VMSTATE_SAVE_STATE_LOOP_EVENT;
extern TraceEvent _TRACE_VMSTATE_SAVE_STATE_TOP_EVENT;
extern TraceEvent _TRACE_VMSTATE_SUBSECTION_SAVE_LOOP_EVENT;
extern TraceEvent _TRACE_VMSTATE_SUBSECTION_SAVE_TOP_EVENT;
extern TraceEvent _TRACE_VMSTATE_FIELD_EXISTS_EVENT;
extern TraceEvent _TRACE_LOAD_QTAILQ_EVENT;
extern TraceEvent _TRACE_LOAD_QTAILQ_END_EVENT;
extern TraceEvent _TRACE_SAVE_QTAILQ_EVENT;
extern TraceEvent _TRACE_SAVE_QTAILQ_END_EVENT;
extern TraceEvent _TRACE_LOAD_GTREE_EVENT;
extern TraceEvent _TRACE_LOAD_GTREE_END_EVENT;
extern TraceEvent _TRACE_SAVE_GTREE_EVENT;
extern TraceEvent _TRACE_SAVE_GTREE_END_EVENT;
extern TraceEvent _TRACE_LOAD_QLIST_EVENT;
extern TraceEvent _TRACE_LOAD_QLIST_END_EVENT;
extern TraceEvent _TRACE_SAVE_QLIST_EVENT;
extern TraceEvent _TRACE_SAVE_QLIST_END_EVENT;
extern TraceEvent _TRACE_QEMU_FILE_FCLOSE_EVENT;
extern TraceEvent _TRACE_QEMU_FILE_PUT_FD_EVENT;
extern TraceEvent _TRACE_QEMU_FILE_GET_FD_EVENT;
extern TraceEvent _TRACE_GET_QUEUED_PAGE_EVENT;
extern TraceEvent _TRACE_GET_QUEUED_PAGE_NOT_DIRTY_EVENT;
extern TraceEvent _TRACE_MIGRATION_BITMAP_SYNC_START_EVENT;
extern TraceEvent _TRACE_MIGRATION_BITMAP_SYNC_END_EVENT;
extern TraceEvent _TRACE_MIGRATION_BITMAP_CLEAR_DIRTY_EVENT;
extern TraceEvent _TRACE_MIGRATION_THROTTLE_EVENT;
extern TraceEvent _TRACE_MIGRATION_DIRTY_LIMIT_GUEST_EVENT;
extern TraceEvent _TRACE_RAM_DISCARD_RANGE_EVENT;
extern TraceEvent _TRACE_RAM_LOAD_LOOP_EVENT;
extern TraceEvent _TRACE_RAM_LOAD_POSTCOPY_LOOP_EVENT;
extern TraceEvent _TRACE_RAM_POSTCOPY_SEND_DISCARD_BITMAP_EVENT;
extern TraceEvent _TRACE_RAM_SAVE_PAGE_EVENT;
extern TraceEvent _TRACE_RAM_SAVE_QUEUE_PAGES_EVENT;
extern TraceEvent _TRACE_RAM_SAVE_COMPLETE_EVENT;
extern TraceEvent _TRACE_RAM_DIRTY_BITMAP_REQUEST_EVENT;
extern TraceEvent _TRACE_RAM_DIRTY_BITMAP_RELOAD_BEGIN_EVENT;
extern TraceEvent _TRACE_RAM_DIRTY_BITMAP_RELOAD_COMPLETE_EVENT;
extern TraceEvent _TRACE_RAM_DIRTY_BITMAP_SYNC_START_EVENT;
extern TraceEvent _TRACE_RAM_DIRTY_BITMAP_SYNC_WAIT_EVENT;
extern TraceEvent _TRACE_RAM_DIRTY_BITMAP_SYNC_COMPLETE_EVENT;
extern TraceEvent _TRACE_RAM_STATE_RESUME_PREPARE_EVENT;
extern TraceEvent _TRACE_COLO_FLUSH_RAM_CACHE_BEGIN_EVENT;
extern TraceEvent _TRACE_COLO_FLUSH_RAM_CACHE_END_EVENT;
extern TraceEvent _TRACE_SAVE_XBZRLE_PAGE_SKIPPING_EVENT;
extern TraceEvent _TRACE_SAVE_XBZRLE_PAGE_OVERFLOW_EVENT;
extern TraceEvent _TRACE_RAM_SAVE_ITERATE_BIG_WAIT_EVENT;
extern TraceEvent _TRACE_RAM_LOAD_START_EVENT;
extern TraceEvent _TRACE_RAM_LOAD_COMPLETE_EVENT;
extern TraceEvent _TRACE_RAM_WRITE_TRACKING_RAMBLOCK_START_EVENT;
extern TraceEvent _TRACE_RAM_WRITE_TRACKING_RAMBLOCK_STOP_EVENT;
extern TraceEvent _TRACE_POSTCOPY_PREEMPT_TRIGGERED_EVENT;
extern TraceEvent _TRACE_POSTCOPY_PREEMPT_RESTORED_EVENT;
extern TraceEvent _TRACE_POSTCOPY_PREEMPT_HIT_EVENT;
extern TraceEvent _TRACE_POSTCOPY_PREEMPT_SEND_HOST_PAGE_EVENT;
extern TraceEvent _TRACE_POSTCOPY_PREEMPT_SWITCH_CHANNEL_EVENT;
extern TraceEvent _TRACE_POSTCOPY_PREEMPT_RESET_CHANNEL_EVENT;
extern TraceEvent _TRACE_MULTIFD_NEW_SEND_CHANNEL_ASYNC_EVENT;
extern TraceEvent _TRACE_MULTIFD_NEW_SEND_CHANNEL_ASYNC_ERROR_EVENT;
extern TraceEvent _TRACE_MULTIFD_RECV_UNFILL_EVENT;
extern TraceEvent _TRACE_MULTIFD_RECV_NEW_CHANNEL_EVENT;
extern TraceEvent _TRACE_MULTIFD_RECV_SYNC_MAIN_EVENT;
extern TraceEvent _TRACE_MULTIFD_RECV_SYNC_MAIN_SIGNAL_EVENT;
extern TraceEvent _TRACE_MULTIFD_RECV_SYNC_MAIN_WAIT_EVENT;
extern TraceEvent _TRACE_MULTIFD_RECV_TERMINATE_THREADS_EVENT;
extern TraceEvent _TRACE_MULTIFD_RECV_THREAD_END_EVENT;
extern TraceEvent _TRACE_MULTIFD_RECV_THREAD_START_EVENT;
extern TraceEvent _TRACE_MULTIFD_SEND_FILL_EVENT;
extern TraceEvent _TRACE_MULTIFD_SEND_RAM_FILL_EVENT;
extern TraceEvent _TRACE_MULTIFD_SEND_ERROR_EVENT;
extern TraceEvent _TRACE_MULTIFD_SEND_SYNC_MAIN_EVENT;
extern TraceEvent _TRACE_MULTIFD_SEND_SYNC_MAIN_SIGNAL_EVENT;
extern TraceEvent _TRACE_MULTIFD_SEND_SYNC_MAIN_WAIT_EVENT;
extern TraceEvent _TRACE_MULTIFD_SEND_TERMINATE_THREADS_EVENT;
extern TraceEvent _TRACE_MULTIFD_SEND_THREAD_END_EVENT;
extern TraceEvent _TRACE_MULTIFD_SEND_THREAD_START_EVENT;
extern TraceEvent _TRACE_MULTIFD_TLS_OUTGOING_HANDSHAKE_START_EVENT;
extern TraceEvent _TRACE_MULTIFD_TLS_OUTGOING_HANDSHAKE_ERROR_EVENT;
extern TraceEvent _TRACE_MULTIFD_TLS_OUTGOING_HANDSHAKE_COMPLETE_EVENT;
extern TraceEvent _TRACE_MULTIFD_SET_OUTGOING_CHANNEL_EVENT;
extern TraceEvent _TRACE_MIGRATE_SET_STATE_EVENT;
extern TraceEvent _TRACE_MIGRATION_CLEANUP_EVENT;
extern TraceEvent _TRACE_MIGRATE_ERROR_EVENT;
extern TraceEvent _TRACE_MIGRATION_CANCEL_EVENT;
extern TraceEvent _TRACE_MIGRATE_HANDLE_RP_REQ_PAGES_EVENT;
extern TraceEvent _TRACE_MIGRATE_SEND_RP_MESSAGE_EVENT;
extern TraceEvent _TRACE_MIGRATE_SEND_RP_RECV_BITMAP_EVENT;
extern TraceEvent _TRACE_MIGRATION_COMPLETION_FILE_ERR_EVENT;
extern TraceEvent _TRACE_MIGRATION_COMPLETION_VM_STOP_EVENT;
extern TraceEvent _TRACE_MIGRATION_COMPLETION_POSTCOPY_END_EVENT;
extern TraceEvent _TRACE_MIGRATION_COMPLETION_POSTCOPY_END_AFTER_COMPLETE_EVENT;
extern TraceEvent _TRACE_MIGRATION_RATE_LIMIT_PRE_EVENT;
extern TraceEvent _TRACE_MIGRATION_RATE_LIMIT_POST_EVENT;
extern TraceEvent _TRACE_MIGRATION_RETURN_PATH_END_BEFORE_EVENT;
extern TraceEvent _TRACE_MIGRATION_RETURN_PATH_END_AFTER_EVENT;
extern TraceEvent _TRACE_MIGRATION_THREAD_AFTER_LOOP_EVENT;
extern TraceEvent _TRACE_MIGRATION_THREAD_FILE_ERR_EVENT;
extern TraceEvent _TRACE_MIGRATION_THREAD_SETUP_COMPLETE_EVENT;
extern TraceEvent _TRACE_OPEN_RETURN_PATH_ON_SOURCE_EVENT;
extern TraceEvent _TRACE_OPEN_RETURN_PATH_ON_SOURCE_CONTINUE_EVENT;
extern TraceEvent _TRACE_POSTCOPY_START_EVENT;
extern TraceEvent _TRACE_POSTCOPY_PAUSE_RETURN_PATH_EVENT;
extern TraceEvent _TRACE_POSTCOPY_PAUSE_RETURN_PATH_CONTINUED_EVENT;
extern TraceEvent _TRACE_POSTCOPY_PAUSE_CONTINUED_EVENT;
extern TraceEvent _TRACE_POSTCOPY_START_SET_RUN_EVENT;
extern TraceEvent _TRACE_POSTCOPY_PAGE_REQ_ADD_EVENT;
extern TraceEvent _TRACE_SOURCE_RETURN_PATH_THREAD_BAD_END_EVENT;
extern TraceEvent _TRACE_SOURCE_RETURN_PATH_THREAD_END_EVENT;
extern TraceEvent _TRACE_SOURCE_RETURN_PATH_THREAD_ENTRY_EVENT;
extern TraceEvent _TRACE_SOURCE_RETURN_PATH_THREAD_LOOP_TOP_EVENT;
extern TraceEvent _TRACE_SOURCE_RETURN_PATH_THREAD_PONG_EVENT;
extern TraceEvent _TRACE_SOURCE_RETURN_PATH_THREAD_SHUT_EVENT;
extern TraceEvent _TRACE_SOURCE_RETURN_PATH_THREAD_RESUME_ACK_EVENT;
extern TraceEvent _TRACE_SOURCE_RETURN_PATH_THREAD_SWITCHOVER_ACKED_EVENT;
extern TraceEvent _TRACE_SOURCE_RETURN_PATH_THREAD_POSTCOPY_PACKAGE_LOADED_EVENT;
extern TraceEvent _TRACE_MIGRATION_THREAD_LOW_PENDING_EVENT;
extern TraceEvent _TRACE_MIGRATE_TRANSFERRED_EVENT;
extern TraceEvent _TRACE_PROCESS_INCOMING_MIGRATION_CO_END_EVENT;
extern TraceEvent _TRACE_PROCESS_INCOMING_MIGRATION_CO_POSTCOPY_END_MAIN_EVENT;
extern TraceEvent _TRACE_POSTCOPY_PREEMPT_ENABLED_EVENT;
extern TraceEvent _TRACE_MIGRATION_PRECOPY_COMPLETE_EVENT;
extern TraceEvent _TRACE_MIGRATION_CALL_NOTIFIERS_EVENT;
extern TraceEvent _TRACE_MIGRATION_TRANSFERRED_BYTES_EVENT;
extern TraceEvent _TRACE_MIGRATION_SET_INCOMING_CHANNEL_EVENT;
extern TraceEvent _TRACE_MIGRATION_SET_OUTGOING_CHANNEL_EVENT;
extern TraceEvent _TRACE_MIGRATE_STATE_TOO_BIG_EVENT;
extern TraceEvent _TRACE_MIGRATE_GLOBAL_STATE_POST_LOAD_EVENT;
extern TraceEvent _TRACE_MIGRATE_GLOBAL_STATE_PRE_SAVE_EVENT;
extern TraceEvent _TRACE_QEMU_RDMA_ACCEPT_INCOMING_MIGRATION_EVENT;
extern TraceEvent _TRACE_QEMU_RDMA_ACCEPT_INCOMING_MIGRATION_ACCEPTED_EVENT;
extern TraceEvent _TRACE_QEMU_RDMA_ACCEPT_PIN_STATE_EVENT;
extern TraceEvent _TRACE_QEMU_RDMA_ACCEPT_PIN_VERBSC_EVENT;
extern TraceEvent _TRACE_QEMU_RDMA_BLOCK_FOR_WRID_MISS_EVENT;
extern TraceEvent _TRACE_QEMU_RDMA_CLEANUP_DISCONNECT_EVENT;
extern TraceEvent _TRACE_QEMU_RDMA_CLOSE_EVENT;
extern TraceEvent _TRACE_QEMU_RDMA_CONNECT_PIN_ALL_REQUESTED_EVENT;
extern TraceEvent _TRACE_QEMU_RDMA_CONNECT_PIN_ALL_OUTCOME_EVENT;
extern TraceEvent _TRACE_QEMU_RDMA_DEST_INIT_TRYING_EVENT;
extern TraceEvent _TRACE_QEMU_RDMA_DUMP_ID_FAILED_EVENT;
extern TraceEvent _TRACE_QEMU_RDMA_DUMP_ID_EVENT;
extern TraceEvent _TRACE_QEMU_RDMA_DUMP_GID_EVENT;
extern TraceEvent _TRACE_QEMU_RDMA_EXCHANGE_GET_RESPONSE_START_EVENT;
extern TraceEvent _TRACE_QEMU_RDMA_EXCHANGE_GET_RESPONSE_NONE_EVENT;
extern TraceEvent _TRACE_QEMU_RDMA_EXCHANGE_SEND_ISSUE_CALLBACK_EVENT;
extern TraceEvent _TRACE_QEMU_RDMA_EXCHANGE_SEND_WAITING_EVENT;
extern TraceEvent _TRACE_QEMU_RDMA_EXCHANGE_SEND_RECEIVED_EVENT;
extern TraceEvent _TRACE_QEMU_RDMA_FILL_EVENT;
extern TraceEvent _TRACE_QEMU_RDMA_INIT_RAM_BLOCKS_EVENT;
extern TraceEvent _TRACE_QEMU_RDMA_POLL_RECV_EVENT;
extern TraceEvent _TRACE_QEMU_RDMA_POLL_WRITE_EVENT;
extern TraceEvent _TRACE_QEMU_RDMA_POLL_OTHER_EVENT;
extern TraceEvent _TRACE_QEMU_RDMA_POST_SEND_CONTROL_EVENT;
extern TraceEvent _TRACE_QEMU_RDMA_REGISTER_AND_GET_KEYS_EVENT;
extern TraceEvent _TRACE_QEMU_RDMA_REGISTER_ODP_MR_EVENT;
extern TraceEvent _TRACE_QEMU_RDMA_ADVISE_MR_EVENT;
extern TraceEvent _TRACE_QEMU_RDMA_RESOLVE_HOST_TRYING_EVENT;
extern TraceEvent _TRACE_QEMU_RDMA_SIGNAL_UNREGISTER_APPEND_EVENT;
extern TraceEvent _TRACE_QEMU_RDMA_SIGNAL_UNREGISTER_ALREADY_EVENT;
extern TraceEvent _TRACE_QEMU_RDMA_UNREGISTER_WAITING_INFLIGHT_EVENT;
extern TraceEvent _TRACE_QEMU_RDMA_UNREGISTER_WAITING_PROC_EVENT;
extern TraceEvent _TRACE_QEMU_RDMA_UNREGISTER_WAITING_SEND_EVENT;
extern TraceEvent _TRACE_QEMU_RDMA_UNREGISTER_WAITING_COMPLETE_EVENT;
extern TraceEvent _TRACE_QEMU_RDMA_WRITE_FLUSH_EVENT;
extern TraceEvent _TRACE_QEMU_RDMA_WRITE_ONE_BLOCK_EVENT;
extern TraceEvent _TRACE_QEMU_RDMA_WRITE_ONE_POST_EVENT;
extern TraceEvent _TRACE_QEMU_RDMA_WRITE_ONE_QUEUE_FULL_EVENT;
extern TraceEvent _TRACE_QEMU_RDMA_WRITE_ONE_RECVREGRES_EVENT;
extern TraceEvent _TRACE_QEMU_RDMA_WRITE_ONE_SENDREG_EVENT;
extern TraceEvent _TRACE_QEMU_RDMA_WRITE_ONE_TOP_EVENT;
extern TraceEvent _TRACE_QEMU_RDMA_WRITE_ONE_ZERO_EVENT;
extern TraceEvent _TRACE_RDMA_ADD_BLOCK_EVENT;
extern TraceEvent _TRACE_RDMA_BLOCK_NOTIFICATION_HANDLE_EVENT;
extern TraceEvent _TRACE_RDMA_DELETE_BLOCK_EVENT;
extern TraceEvent _TRACE_RDMA_REGISTRATION_HANDLE_COMPRESS_EVENT;
extern TraceEvent _TRACE_RDMA_REGISTRATION_HANDLE_FINISHED_EVENT;
extern TraceEvent _TRACE_RDMA_REGISTRATION_HANDLE_RAM_BLOCKS_EVENT;
extern TraceEvent _TRACE_RDMA_REGISTRATION_HANDLE_RAM_BLOCKS_LOOP_EVENT;
extern TraceEvent _TRACE_RDMA_REGISTRATION_HANDLE_REGISTER_EVENT;
extern TraceEvent _TRACE_RDMA_REGISTRATION_HANDLE_REGISTER_LOOP_EVENT;
extern TraceEvent _TRACE_RDMA_REGISTRATION_HANDLE_REGISTER_RKEY_EVENT;
extern TraceEvent _TRACE_RDMA_REGISTRATION_HANDLE_UNREGISTER_EVENT;
extern TraceEvent _TRACE_RDMA_REGISTRATION_HANDLE_UNREGISTER_LOOP_EVENT;
extern TraceEvent _TRACE_RDMA_REGISTRATION_HANDLE_UNREGISTER_SUCCESS_EVENT;
extern TraceEvent _TRACE_RDMA_REGISTRATION_HANDLE_WAIT_EVENT;
extern TraceEvent _TRACE_RDMA_REGISTRATION_START_EVENT;
extern TraceEvent _TRACE_RDMA_REGISTRATION_STOP_EVENT;
extern TraceEvent _TRACE_RDMA_REGISTRATION_STOP_RAM_EVENT;
extern TraceEvent _TRACE_RDMA_CONNECT_INCOMING_EVENT;
extern TraceEvent _TRACE_RDMA_CONNECT_INCOMING_AFTER_DEST_INIT_EVENT;
extern TraceEvent _TRACE_RDMA_CONNECT_INCOMING_AFTER_RDMA_LISTEN_EVENT;
extern TraceEvent _TRACE_RDMA_CONNECT_OUTGOING_AFTER_RDMA_CONNECT_EVENT;
extern TraceEvent _TRACE_RDMA_CONNECT_OUTGOING_AFTER_RDMA_SOURCE_INIT_EVENT;
extern TraceEvent _TRACE_POSTCOPY_DISCARD_SEND_FINISH_EVENT;
extern TraceEvent _TRACE_POSTCOPY_DISCARD_SEND_RANGE_EVENT;
extern TraceEvent _TRACE_POSTCOPY_CLEANUP_RANGE_EVENT;
extern TraceEvent _TRACE_POSTCOPY_INIT_RANGE_EVENT;
extern TraceEvent _TRACE_POSTCOPY_NHP_RANGE_EVENT;
extern TraceEvent _TRACE_POSTCOPY_PLACE_PAGE_EVENT;
extern TraceEvent _TRACE_POSTCOPY_PLACE_PAGE_ZERO_EVENT;
extern TraceEvent _TRACE_POSTCOPY_RAM_ENABLE_NOTIFY_EVENT;
extern TraceEvent _TRACE_POSTCOPY_PAUSE_FAULT_THREAD_EVENT;
extern TraceEvent _TRACE_POSTCOPY_PAUSE_FAULT_THREAD_CONTINUED_EVENT;
extern TraceEvent _TRACE_POSTCOPY_PAUSE_FAST_LOAD_EVENT;
extern TraceEvent _TRACE_POSTCOPY_PAUSE_FAST_LOAD_CONTINUED_EVENT;
extern TraceEvent _TRACE_POSTCOPY_RAM_FAULT_THREAD_ENTRY_EVENT;
extern TraceEvent _TRACE_POSTCOPY_RAM_FAULT_THREAD_EXIT_EVENT;
extern TraceEvent _TRACE_POSTCOPY_RAM_FAULT_THREAD_FDS_CORE_EVENT;
extern TraceEvent _TRACE_POSTCOPY_RAM_FAULT_THREAD_FDS_EXTRA_EVENT;
extern TraceEvent _TRACE_POSTCOPY_RAM_FAULT_THREAD_QUIT_EVENT;
extern TraceEvent _TRACE_POSTCOPY_RAM_FAULT_THREAD_REQUEST_EVENT;
extern TraceEvent _TRACE_POSTCOPY_RAM_INCOMING_CLEANUP_CLOSEUF_EVENT;
extern TraceEvent _TRACE_POSTCOPY_RAM_INCOMING_CLEANUP_ENTRY_EVENT;
extern TraceEvent _TRACE_POSTCOPY_RAM_INCOMING_CLEANUP_EXIT_EVENT;
extern TraceEvent _TRACE_POSTCOPY_RAM_INCOMING_CLEANUP_JOIN_EVENT;
extern TraceEvent _TRACE_POSTCOPY_RAM_INCOMING_CLEANUP_BLOCKTIME_EVENT;
extern TraceEvent _TRACE_POSTCOPY_REQUEST_SHARED_PAGE_EVENT;
extern TraceEvent _TRACE_POSTCOPY_REQUEST_SHARED_PAGE_PRESENT_EVENT;
extern TraceEvent _TRACE_POSTCOPY_WAKE_SHARED_EVENT;
extern TraceEvent _TRACE_POSTCOPY_PAGE_REQ_DEL_EVENT;
extern TraceEvent _TRACE_POSTCOPY_PREEMPT_TLS_HANDSHAKE_EVENT;
extern TraceEvent _TRACE_POSTCOPY_PREEMPT_NEW_CHANNEL_EVENT;
extern TraceEvent _TRACE_POSTCOPY_PREEMPT_THREAD_ENTRY_EVENT;
extern TraceEvent _TRACE_POSTCOPY_PREEMPT_THREAD_EXIT_EVENT;
extern TraceEvent _TRACE_POSTCOPY_BLOCKTIME_TID_CPU_MAP_EVENT;
extern TraceEvent _TRACE_POSTCOPY_BLOCKTIME_BEGIN_EVENT;
extern TraceEvent _TRACE_POSTCOPY_BLOCKTIME_END_EVENT;
extern TraceEvent _TRACE_POSTCOPY_BLOCKTIME_END_ONE_EVENT;
extern TraceEvent _TRACE_MIGRATION_EXEC_OUTGOING_EVENT;
extern TraceEvent _TRACE_MIGRATION_EXEC_INCOMING_EVENT;
extern TraceEvent _TRACE_MIGRATION_FD_OUTGOING_EVENT;
extern TraceEvent _TRACE_MIGRATION_FD_INCOMING_EVENT;
extern TraceEvent _TRACE_MIGRATION_FILE_OUTGOING_EVENT;
extern TraceEvent _TRACE_MIGRATION_FILE_INCOMING_EVENT;
extern TraceEvent _TRACE_MIGRATION_SOCKET_INCOMING_ACCEPTED_EVENT;
extern TraceEvent _TRACE_MIGRATION_SOCKET_OUTGOING_CONNECTED_EVENT;
extern TraceEvent _TRACE_MIGRATION_SOCKET_OUTGOING_ERROR_EVENT;
extern TraceEvent _TRACE_MIGRATION_TLS_OUTGOING_HANDSHAKE_START_EVENT;
extern TraceEvent _TRACE_MIGRATION_TLS_OUTGOING_HANDSHAKE_ERROR_EVENT;
extern TraceEvent _TRACE_MIGRATION_TLS_OUTGOING_HANDSHAKE_COMPLETE_EVENT;
extern TraceEvent _TRACE_MIGRATION_TLS_INCOMING_HANDSHAKE_START_EVENT;
extern TraceEvent _TRACE_MIGRATION_TLS_INCOMING_HANDSHAKE_ERROR_EVENT;
extern TraceEvent _TRACE_MIGRATION_TLS_INCOMING_HANDSHAKE_COMPLETE_EVENT;
extern TraceEvent _TRACE_COLO_VM_STATE_CHANGE_EVENT;
extern TraceEvent _TRACE_COLO_SEND_MESSAGE_EVENT;
extern TraceEvent _TRACE_COLO_RECEIVE_MESSAGE_EVENT;
extern TraceEvent _TRACE_COLO_FAILOVER_SET_STATE_EVENT;
extern TraceEvent _TRACE_CPR_SAVE_FD_EVENT;
extern TraceEvent _TRACE_CPR_DELETE_FD_EVENT;
extern TraceEvent _TRACE_CPR_FIND_FD_EVENT;
extern TraceEvent _TRACE_CPR_STATE_SAVE_EVENT;
extern TraceEvent _TRACE_CPR_STATE_LOAD_EVENT;
extern TraceEvent _TRACE_CPR_TRANSFER_INPUT_EVENT;
extern TraceEvent _TRACE_CPR_TRANSFER_OUTPUT_EVENT;
extern TraceEvent _TRACE_CPR_EXEC_EVENT;
extern TraceEvent _TRACE_SEND_BITMAP_HEADER_ENTER_EVENT;
extern TraceEvent _TRACE_SEND_BITMAP_BITS_EVENT;
extern TraceEvent _TRACE_DIRTY_BITMAP_SAVE_ITERATE_EVENT;
extern TraceEvent _TRACE_DIRTY_BITMAP_SAVE_COMPLETE_ENTER_EVENT;
extern TraceEvent _TRACE_DIRTY_BITMAP_SAVE_COMPLETE_FINISH_EVENT;
extern TraceEvent _TRACE_DIRTY_BITMAP_STATE_PENDING_EVENT;
extern TraceEvent _TRACE_DIRTY_BITMAP_LOAD_COMPLETE_EVENT;
extern TraceEvent _TRACE_DIRTY_BITMAP_LOAD_BITS_ENTER_EVENT;
extern TraceEvent _TRACE_DIRTY_BITMAP_LOAD_BITS_ZEROES_EVENT;
extern TraceEvent _TRACE_DIRTY_BITMAP_LOAD_HEADER_EVENT;
extern TraceEvent _TRACE_DIRTY_BITMAP_LOAD_ENTER_EVENT;
extern TraceEvent _TRACE_DIRTY_BITMAP_LOAD_SUCCESS_EVENT;
extern TraceEvent _TRACE_DIRTYRATE_SET_STATE_EVENT;
extern TraceEvent _TRACE_QUERY_DIRTY_RATE_INFO_EVENT;
extern TraceEvent _TRACE_GET_RAMBLOCK_VFN_HASH_EVENT;
extern TraceEvent _TRACE_CALC_PAGE_DIRTY_RATE_EVENT;
extern TraceEvent _TRACE_SKIP_SAMPLE_RAMBLOCK_EVENT;
extern TraceEvent _TRACE_FIND_PAGE_MATCHED_EVENT;
extern TraceEvent _TRACE_DIRTYRATE_CALCULATE_EVENT;
extern TraceEvent _TRACE_DIRTYRATE_DO_CALCULATE_VCPU_EVENT;
extern TraceEvent _TRACE_MIGRATION_BLOCK_INIT_SHARED_EVENT;
extern TraceEvent _TRACE_MIGRATION_BLOCK_INIT_FULL_EVENT;
extern TraceEvent _TRACE_MIGRATION_BLOCK_SAVE_DEVICE_DIRTY_EVENT;
extern TraceEvent _TRACE_MIGRATION_BLOCK_FLUSH_BLKS_EVENT;
extern TraceEvent _TRACE_MIGRATION_BLOCK_SAVE_EVENT;
extern TraceEvent _TRACE_MIGRATION_BLOCK_SAVE_COMPLETE_EVENT;
extern TraceEvent _TRACE_MIGRATION_BLOCK_STATE_PENDING_EVENT;
extern TraceEvent _TRACE_MIGRATION_BLOCK_PROGRESSION_EVENT;
extern TraceEvent _TRACE_MIGRATION_PAGECACHE_INIT_EVENT;
extern TraceEvent _TRACE_MIGRATION_PAGECACHE_INSERT_EVENT;
extern TraceEvent _TRACE_CPU_THROTTLE_SET_EVENT;
extern TraceEvent _TRACE_CPU_THROTTLE_DIRTY_SYNC_EVENT;
extern TraceEvent _TRACE_MIGRATION_BLOCK_ACTIVATION_EVENT;
extern uint16_t _TRACE_QEMU_LOADVM_STATE_SECTION_DSTATE;
extern uint16_t _TRACE_QEMU_LOADVM_STATE_SECTION_COMMAND_DSTATE;
extern uint16_t _TRACE_QEMU_LOADVM_STATE_SECTION_PARTEND_DSTATE;
extern uint16_t _TRACE_QEMU_LOADVM_STATE_POST_MAIN_DSTATE;
extern uint16_t _TRACE_QEMU_LOADVM_STATE_SECTION_STARTFULL_DSTATE;
extern uint16_t _TRACE_QEMU_SAVEVM_SEND_PACKAGED_DSTATE;
extern uint16_t _TRACE_QEMU_SAVEVM_QUERY_PENDING_DSTATE;
extern uint16_t _TRACE_LOADVM_STATE_SWITCHOVER_ACK_NEEDED_DSTATE;
extern uint16_t _TRACE_LOADVM_STATE_SETUP_DSTATE;
extern uint16_t _TRACE_LOADVM_STATE_CLEANUP_DSTATE;
extern uint16_t _TRACE_LOADVM_HANDLE_CMD_PACKAGED_DSTATE;
extern uint16_t _TRACE_LOADVM_HANDLE_CMD_PACKAGED_MAIN_DSTATE;
extern uint16_t _TRACE_LOADVM_HANDLE_CMD_PACKAGED_RECEIVED_DSTATE;
extern uint16_t _TRACE_LOADVM_HANDLE_RECV_BITMAP_DSTATE;
extern uint16_t _TRACE_LOADVM_POSTCOPY_HANDLE_ADVISE_DSTATE;
extern uint16_t _TRACE_LOADVM_POSTCOPY_HANDLE_LISTEN_DSTATE;
extern uint16_t _TRACE_LOADVM_POSTCOPY_HANDLE_RUN_DSTATE;
extern uint16_t _TRACE_LOADVM_POSTCOPY_HANDLE_RESUME_DSTATE;
extern uint16_t _TRACE_LOADVM_POSTCOPY_RAM_HANDLE_DISCARD_DSTATE;
extern uint16_t _TRACE_LOADVM_POSTCOPY_RAM_HANDLE_DISCARD_END_DSTATE;
extern uint16_t _TRACE_LOADVM_POSTCOPY_RAM_HANDLE_DISCARD_HEADER_DSTATE;
extern uint16_t _TRACE_LOADVM_PROCESS_COMMAND_DSTATE;
extern uint16_t _TRACE_LOADVM_PROCESS_COMMAND_PING_DSTATE;
extern uint16_t _TRACE_LOADVM_APPROVE_SWITCHOVER_DSTATE;
extern uint16_t _TRACE_POSTCOPY_RAM_LISTEN_THREAD_EXIT_DSTATE;
extern uint16_t _TRACE_POSTCOPY_RAM_LISTEN_THREAD_START_DSTATE;
extern uint16_t _TRACE_QEMU_SAVEVM_SEND_POSTCOPY_ADVISE_DSTATE;
extern uint16_t _TRACE_QEMU_SAVEVM_SEND_POSTCOPY_RAM_DISCARD_DSTATE;
extern uint16_t _TRACE_SAVEVM_COMMAND_SEND_DSTATE;
extern uint16_t _TRACE_SAVEVM_SECTION_START_DSTATE;
extern uint16_t _TRACE_SAVEVM_SECTION_END_DSTATE;
extern uint16_t _TRACE_SAVEVM_SECTION_SKIP_DSTATE;
extern uint16_t _TRACE_SAVEVM_SEND_OPEN_RETURN_PATH_DSTATE;
extern uint16_t _TRACE_SAVEVM_SEND_PING_DSTATE;
extern uint16_t _TRACE_SAVEVM_SEND_POSTCOPY_LISTEN_DSTATE;
extern uint16_t _TRACE_SAVEVM_SEND_POSTCOPY_RUN_DSTATE;
extern uint16_t _TRACE_SAVEVM_SEND_POSTCOPY_RESUME_DSTATE;
extern uint16_t _TRACE_SAVEVM_SEND_RECV_BITMAP_DSTATE;
extern uint16_t _TRACE_SAVEVM_SEND_SWITCHOVER_START_DSTATE;
extern uint16_t _TRACE_SAVEVM_STATE_SETUP_DSTATE;
extern uint16_t _TRACE_SAVEVM_STATE_RESUME_PREPARE_DSTATE;
extern uint16_t _TRACE_SAVEVM_STATE_HEADER_DSTATE;
extern uint16_t _TRACE_SAVEVM_STATE_ITERATE_DSTATE;
extern uint16_t _TRACE_SAVEVM_STATE_CLEANUP_DSTATE;
extern uint16_t _TRACE_VMSTATE_SAVE_DSTATE;
extern uint16_t _TRACE_VMSTATE_LOAD_DSTATE;
extern uint16_t _TRACE_VMSTATE_DOWNTIME_SAVE_DSTATE;
extern uint16_t _TRACE_VMSTATE_DOWNTIME_LOAD_DSTATE;
extern uint16_t _TRACE_VMSTATE_DOWNTIME_CHECKPOINT_DSTATE;
extern uint16_t _TRACE_POSTCOPY_PAUSE_INCOMING_DSTATE;
extern uint16_t _TRACE_POSTCOPY_PAUSE_INCOMING_CONTINUED_DSTATE;
extern uint16_t _TRACE_POSTCOPY_PAGE_REQ_SYNC_DSTATE;
extern uint16_t _TRACE_VMSTATE_LOAD_FIELD_ERROR_DSTATE;
extern uint16_t _TRACE_VMSTATE_LOAD_STATE_DSTATE;
extern uint16_t _TRACE_VMSTATE_LOAD_STATE_FAIL_DSTATE;
extern uint16_t _TRACE_VMSTATE_LOAD_STATE_SUCCESS_DSTATE;
extern uint16_t _TRACE_VMSTATE_LOAD_STATE_FIELD_DSTATE;
extern uint16_t _TRACE_VMSTATE_N_ELEMS_DSTATE;
extern uint16_t _TRACE_VMSTATE_SUBSECTION_LOAD_DSTATE;
extern uint16_t _TRACE_VMSTATE_SUBSECTION_LOAD_BAD_DSTATE;
extern uint16_t _TRACE_VMSTATE_SUBSECTION_LOAD_GOOD_DSTATE;
extern uint16_t _TRACE_VMSTATE_SAVE_STATE_PRE_SAVE_FAIL_DSTATE;
extern uint16_t _TRACE_VMSTATE_SAVE_STATE_PRE_SAVE_SUCCESS_DSTATE;
extern uint16_t _TRACE_VMSTATE_SAVE_STATE_LOOP_DSTATE;
extern uint16_t _TRACE_VMSTATE_SAVE_STATE_TOP_DSTATE;
extern uint16_t _TRACE_VMSTATE_SUBSECTION_SAVE_LOOP_DSTATE;
extern uint16_t _TRACE_VMSTATE_SUBSECTION_SAVE_TOP_DSTATE;
extern uint16_t _TRACE_VMSTATE_FIELD_EXISTS_DSTATE;
extern uint16_t _TRACE_LOAD_QTAILQ_DSTATE;
extern uint16_t _TRACE_LOAD_QTAILQ_END_DSTATE;
extern uint16_t _TRACE_SAVE_QTAILQ_DSTATE;
extern uint16_t _TRACE_SAVE_QTAILQ_END_DSTATE;
extern uint16_t _TRACE_LOAD_GTREE_DSTATE;
extern uint16_t _TRACE_LOAD_GTREE_END_DSTATE;
extern uint16_t _TRACE_SAVE_GTREE_DSTATE;
extern uint16_t _TRACE_SAVE_GTREE_END_DSTATE;
extern uint16_t _TRACE_LOAD_QLIST_DSTATE;
extern uint16_t _TRACE_LOAD_QLIST_END_DSTATE;
extern uint16_t _TRACE_SAVE_QLIST_DSTATE;
extern uint16_t _TRACE_SAVE_QLIST_END_DSTATE;
extern uint16_t _TRACE_QEMU_FILE_FCLOSE_DSTATE;
extern uint16_t _TRACE_QEMU_FILE_PUT_FD_DSTATE;
extern uint16_t _TRACE_QEMU_FILE_GET_FD_DSTATE;
extern uint16_t _TRACE_GET_QUEUED_PAGE_DSTATE;
extern uint16_t _TRACE_GET_QUEUED_PAGE_NOT_DIRTY_DSTATE;
extern uint16_t _TRACE_MIGRATION_BITMAP_SYNC_START_DSTATE;
extern uint16_t _TRACE_MIGRATION_BITMAP_SYNC_END_DSTATE;
extern uint16_t _TRACE_MIGRATION_BITMAP_CLEAR_DIRTY_DSTATE;
extern uint16_t _TRACE_MIGRATION_THROTTLE_DSTATE;
extern uint16_t _TRACE_MIGRATION_DIRTY_LIMIT_GUEST_DSTATE;
extern uint16_t _TRACE_RAM_DISCARD_RANGE_DSTATE;
extern uint16_t _TRACE_RAM_LOAD_LOOP_DSTATE;
extern uint16_t _TRACE_RAM_LOAD_POSTCOPY_LOOP_DSTATE;
extern uint16_t _TRACE_RAM_POSTCOPY_SEND_DISCARD_BITMAP_DSTATE;
extern uint16_t _TRACE_RAM_SAVE_PAGE_DSTATE;
extern uint16_t _TRACE_RAM_SAVE_QUEUE_PAGES_DSTATE;
extern uint16_t _TRACE_RAM_SAVE_COMPLETE_DSTATE;
extern uint16_t _TRACE_RAM_DIRTY_BITMAP_REQUEST_DSTATE;
extern uint16_t _TRACE_RAM_DIRTY_BITMAP_RELOAD_BEGIN_DSTATE;
extern uint16_t _TRACE_RAM_DIRTY_BITMAP_RELOAD_COMPLETE_DSTATE;
extern uint16_t _TRACE_RAM_DIRTY_BITMAP_SYNC_START_DSTATE;
extern uint16_t _TRACE_RAM_DIRTY_BITMAP_SYNC_WAIT_DSTATE;
extern uint16_t _TRACE_RAM_DIRTY_BITMAP_SYNC_COMPLETE_DSTATE;
extern uint16_t _TRACE_RAM_STATE_RESUME_PREPARE_DSTATE;
extern uint16_t _TRACE_COLO_FLUSH_RAM_CACHE_BEGIN_DSTATE;
extern uint16_t _TRACE_COLO_FLUSH_RAM_CACHE_END_DSTATE;
extern uint16_t _TRACE_SAVE_XBZRLE_PAGE_SKIPPING_DSTATE;
extern uint16_t _TRACE_SAVE_XBZRLE_PAGE_OVERFLOW_DSTATE;
extern uint16_t _TRACE_RAM_SAVE_ITERATE_BIG_WAIT_DSTATE;
extern uint16_t _TRACE_RAM_LOAD_START_DSTATE;
extern uint16_t _TRACE_RAM_LOAD_COMPLETE_DSTATE;
extern uint16_t _TRACE_RAM_WRITE_TRACKING_RAMBLOCK_START_DSTATE;
extern uint16_t _TRACE_RAM_WRITE_TRACKING_RAMBLOCK_STOP_DSTATE;
extern uint16_t _TRACE_POSTCOPY_PREEMPT_TRIGGERED_DSTATE;
extern uint16_t _TRACE_POSTCOPY_PREEMPT_RESTORED_DSTATE;
extern uint16_t _TRACE_POSTCOPY_PREEMPT_HIT_DSTATE;
extern uint16_t _TRACE_POSTCOPY_PREEMPT_SEND_HOST_PAGE_DSTATE;
extern uint16_t _TRACE_POSTCOPY_PREEMPT_SWITCH_CHANNEL_DSTATE;
extern uint16_t _TRACE_POSTCOPY_PREEMPT_RESET_CHANNEL_DSTATE;
extern uint16_t _TRACE_MULTIFD_NEW_SEND_CHANNEL_ASYNC_DSTATE;
extern uint16_t _TRACE_MULTIFD_NEW_SEND_CHANNEL_ASYNC_ERROR_DSTATE;
extern uint16_t _TRACE_MULTIFD_RECV_UNFILL_DSTATE;
extern uint16_t _TRACE_MULTIFD_RECV_NEW_CHANNEL_DSTATE;
extern uint16_t _TRACE_MULTIFD_RECV_SYNC_MAIN_DSTATE;
extern uint16_t _TRACE_MULTIFD_RECV_SYNC_MAIN_SIGNAL_DSTATE;
extern uint16_t _TRACE_MULTIFD_RECV_SYNC_MAIN_WAIT_DSTATE;
extern uint16_t _TRACE_MULTIFD_RECV_TERMINATE_THREADS_DSTATE;
extern uint16_t _TRACE_MULTIFD_RECV_THREAD_END_DSTATE;
extern uint16_t _TRACE_MULTIFD_RECV_THREAD_START_DSTATE;
extern uint16_t _TRACE_MULTIFD_SEND_FILL_DSTATE;
extern uint16_t _TRACE_MULTIFD_SEND_RAM_FILL_DSTATE;
extern uint16_t _TRACE_MULTIFD_SEND_ERROR_DSTATE;
extern uint16_t _TRACE_MULTIFD_SEND_SYNC_MAIN_DSTATE;
extern uint16_t _TRACE_MULTIFD_SEND_SYNC_MAIN_SIGNAL_DSTATE;
extern uint16_t _TRACE_MULTIFD_SEND_SYNC_MAIN_WAIT_DSTATE;
extern uint16_t _TRACE_MULTIFD_SEND_TERMINATE_THREADS_DSTATE;
extern uint16_t _TRACE_MULTIFD_SEND_THREAD_END_DSTATE;
extern uint16_t _TRACE_MULTIFD_SEND_THREAD_START_DSTATE;
extern uint16_t _TRACE_MULTIFD_TLS_OUTGOING_HANDSHAKE_START_DSTATE;
extern uint16_t _TRACE_MULTIFD_TLS_OUTGOING_HANDSHAKE_ERROR_DSTATE;
extern uint16_t _TRACE_MULTIFD_TLS_OUTGOING_HANDSHAKE_COMPLETE_DSTATE;
extern uint16_t _TRACE_MULTIFD_SET_OUTGOING_CHANNEL_DSTATE;
extern uint16_t _TRACE_MIGRATE_SET_STATE_DSTATE;
extern uint16_t _TRACE_MIGRATION_CLEANUP_DSTATE;
extern uint16_t _TRACE_MIGRATE_ERROR_DSTATE;
extern uint16_t _TRACE_MIGRATION_CANCEL_DSTATE;
extern uint16_t _TRACE_MIGRATE_HANDLE_RP_REQ_PAGES_DSTATE;
extern uint16_t _TRACE_MIGRATE_SEND_RP_MESSAGE_DSTATE;
extern uint16_t _TRACE_MIGRATE_SEND_RP_RECV_BITMAP_DSTATE;
extern uint16_t _TRACE_MIGRATION_COMPLETION_FILE_ERR_DSTATE;
extern uint16_t _TRACE_MIGRATION_COMPLETION_VM_STOP_DSTATE;
extern uint16_t _TRACE_MIGRATION_COMPLETION_POSTCOPY_END_DSTATE;
extern uint16_t _TRACE_MIGRATION_COMPLETION_POSTCOPY_END_AFTER_COMPLETE_DSTATE;
extern uint16_t _TRACE_MIGRATION_RATE_LIMIT_PRE_DSTATE;
extern uint16_t _TRACE_MIGRATION_RATE_LIMIT_POST_DSTATE;
extern uint16_t _TRACE_MIGRATION_RETURN_PATH_END_BEFORE_DSTATE;
extern uint16_t _TRACE_MIGRATION_RETURN_PATH_END_AFTER_DSTATE;
extern uint16_t _TRACE_MIGRATION_THREAD_AFTER_LOOP_DSTATE;
extern uint16_t _TRACE_MIGRATION_THREAD_FILE_ERR_DSTATE;
extern uint16_t _TRACE_MIGRATION_THREAD_SETUP_COMPLETE_DSTATE;
extern uint16_t _TRACE_OPEN_RETURN_PATH_ON_SOURCE_DSTATE;
extern uint16_t _TRACE_OPEN_RETURN_PATH_ON_SOURCE_CONTINUE_DSTATE;
extern uint16_t _TRACE_POSTCOPY_START_DSTATE;
extern uint16_t _TRACE_POSTCOPY_PAUSE_RETURN_PATH_DSTATE;
extern uint16_t _TRACE_POSTCOPY_PAUSE_RETURN_PATH_CONTINUED_DSTATE;
extern uint16_t _TRACE_POSTCOPY_PAUSE_CONTINUED_DSTATE;
extern uint16_t _TRACE_POSTCOPY_START_SET_RUN_DSTATE;
extern uint16_t _TRACE_POSTCOPY_PAGE_REQ_ADD_DSTATE;
extern uint16_t _TRACE_SOURCE_RETURN_PATH_THREAD_BAD_END_DSTATE;
extern uint16_t _TRACE_SOURCE_RETURN_PATH_THREAD_END_DSTATE;
extern uint16_t _TRACE_SOURCE_RETURN_PATH_THREAD_ENTRY_DSTATE;
extern uint16_t _TRACE_SOURCE_RETURN_PATH_THREAD_LOOP_TOP_DSTATE;
extern uint16_t _TRACE_SOURCE_RETURN_PATH_THREAD_PONG_DSTATE;
extern uint16_t _TRACE_SOURCE_RETURN_PATH_THREAD_SHUT_DSTATE;
extern uint16_t _TRACE_SOURCE_RETURN_PATH_THREAD_RESUME_ACK_DSTATE;
extern uint16_t _TRACE_SOURCE_RETURN_PATH_THREAD_SWITCHOVER_ACKED_DSTATE;
extern uint16_t _TRACE_SOURCE_RETURN_PATH_THREAD_POSTCOPY_PACKAGE_LOADED_DSTATE;
extern uint16_t _TRACE_MIGRATION_THREAD_LOW_PENDING_DSTATE;
extern uint16_t _TRACE_MIGRATE_TRANSFERRED_DSTATE;
extern uint16_t _TRACE_PROCESS_INCOMING_MIGRATION_CO_END_DSTATE;
extern uint16_t _TRACE_PROCESS_INCOMING_MIGRATION_CO_POSTCOPY_END_MAIN_DSTATE;
extern uint16_t _TRACE_POSTCOPY_PREEMPT_ENABLED_DSTATE;
extern uint16_t _TRACE_MIGRATION_PRECOPY_COMPLETE_DSTATE;
extern uint16_t _TRACE_MIGRATION_CALL_NOTIFIERS_DSTATE;
extern uint16_t _TRACE_MIGRATION_TRANSFERRED_BYTES_DSTATE;
extern uint16_t _TRACE_MIGRATION_SET_INCOMING_CHANNEL_DSTATE;
extern uint16_t _TRACE_MIGRATION_SET_OUTGOING_CHANNEL_DSTATE;
extern uint16_t _TRACE_MIGRATE_STATE_TOO_BIG_DSTATE;
extern uint16_t _TRACE_MIGRATE_GLOBAL_STATE_POST_LOAD_DSTATE;
extern uint16_t _TRACE_MIGRATE_GLOBAL_STATE_PRE_SAVE_DSTATE;
extern uint16_t _TRACE_QEMU_RDMA_ACCEPT_INCOMING_MIGRATION_DSTATE;
extern uint16_t _TRACE_QEMU_RDMA_ACCEPT_INCOMING_MIGRATION_ACCEPTED_DSTATE;
extern uint16_t _TRACE_QEMU_RDMA_ACCEPT_PIN_STATE_DSTATE;
extern uint16_t _TRACE_QEMU_RDMA_ACCEPT_PIN_VERBSC_DSTATE;
extern uint16_t _TRACE_QEMU_RDMA_BLOCK_FOR_WRID_MISS_DSTATE;
extern uint16_t _TRACE_QEMU_RDMA_CLEANUP_DISCONNECT_DSTATE;
extern uint16_t _TRACE_QEMU_RDMA_CLOSE_DSTATE;
extern uint16_t _TRACE_QEMU_RDMA_CONNECT_PIN_ALL_REQUESTED_DSTATE;
extern uint16_t _TRACE_QEMU_RDMA_CONNECT_PIN_ALL_OUTCOME_DSTATE;
extern uint16_t _TRACE_QEMU_RDMA_DEST_INIT_TRYING_DSTATE;
extern uint16_t _TRACE_QEMU_RDMA_DUMP_ID_FAILED_DSTATE;
extern uint16_t _TRACE_QEMU_RDMA_DUMP_ID_DSTATE;
extern uint16_t _TRACE_QEMU_RDMA_DUMP_GID_DSTATE;
extern uint16_t _TRACE_QEMU_RDMA_EXCHANGE_GET_RESPONSE_START_DSTATE;
extern uint16_t _TRACE_QEMU_RDMA_EXCHANGE_GET_RESPONSE_NONE_DSTATE;
extern uint16_t _TRACE_QEMU_RDMA_EXCHANGE_SEND_ISSUE_CALLBACK_DSTATE;
extern uint16_t _TRACE_QEMU_RDMA_EXCHANGE_SEND_WAITING_DSTATE;
extern uint16_t _TRACE_QEMU_RDMA_EXCHANGE_SEND_RECEIVED_DSTATE;
extern uint16_t _TRACE_QEMU_RDMA_FILL_DSTATE;
extern uint16_t _TRACE_QEMU_RDMA_INIT_RAM_BLOCKS_DSTATE;
extern uint16_t _TRACE_QEMU_RDMA_POLL_RECV_DSTATE;
extern uint16_t _TRACE_QEMU_RDMA_POLL_WRITE_DSTATE;
extern uint16_t _TRACE_QEMU_RDMA_POLL_OTHER_DSTATE;
extern uint16_t _TRACE_QEMU_RDMA_POST_SEND_CONTROL_DSTATE;
extern uint16_t _TRACE_QEMU_RDMA_REGISTER_AND_GET_KEYS_DSTATE;
extern uint16_t _TRACE_QEMU_RDMA_REGISTER_ODP_MR_DSTATE;
extern uint16_t _TRACE_QEMU_RDMA_ADVISE_MR_DSTATE;
extern uint16_t _TRACE_QEMU_RDMA_RESOLVE_HOST_TRYING_DSTATE;
extern uint16_t _TRACE_QEMU_RDMA_SIGNAL_UNREGISTER_APPEND_DSTATE;
extern uint16_t _TRACE_QEMU_RDMA_SIGNAL_UNREGISTER_ALREADY_DSTATE;
extern uint16_t _TRACE_QEMU_RDMA_UNREGISTER_WAITING_INFLIGHT_DSTATE;
extern uint16_t _TRACE_QEMU_RDMA_UNREGISTER_WAITING_PROC_DSTATE;
extern uint16_t _TRACE_QEMU_RDMA_UNREGISTER_WAITING_SEND_DSTATE;
extern uint16_t _TRACE_QEMU_RDMA_UNREGISTER_WAITING_COMPLETE_DSTATE;
extern uint16_t _TRACE_QEMU_RDMA_WRITE_FLUSH_DSTATE;
extern uint16_t _TRACE_QEMU_RDMA_WRITE_ONE_BLOCK_DSTATE;
extern uint16_t _TRACE_QEMU_RDMA_WRITE_ONE_POST_DSTATE;
extern uint16_t _TRACE_QEMU_RDMA_WRITE_ONE_QUEUE_FULL_DSTATE;
extern uint16_t _TRACE_QEMU_RDMA_WRITE_ONE_RECVREGRES_DSTATE;
extern uint16_t _TRACE_QEMU_RDMA_WRITE_ONE_SENDREG_DSTATE;
extern uint16_t _TRACE_QEMU_RDMA_WRITE_ONE_TOP_DSTATE;
extern uint16_t _TRACE_QEMU_RDMA_WRITE_ONE_ZERO_DSTATE;
extern uint16_t _TRACE_RDMA_ADD_BLOCK_DSTATE;
extern uint16_t _TRACE_RDMA_BLOCK_NOTIFICATION_HANDLE_DSTATE;
extern uint16_t _TRACE_RDMA_DELETE_BLOCK_DSTATE;
extern uint16_t _TRACE_RDMA_REGISTRATION_HANDLE_COMPRESS_DSTATE;
extern uint16_t _TRACE_RDMA_REGISTRATION_HANDLE_FINISHED_DSTATE;
extern uint16_t _TRACE_RDMA_REGISTRATION_HANDLE_RAM_BLOCKS_DSTATE;
extern uint16_t _TRACE_RDMA_REGISTRATION_HANDLE_RAM_BLOCKS_LOOP_DSTATE;
extern uint16_t _TRACE_RDMA_REGISTRATION_HANDLE_REGISTER_DSTATE;
extern uint16_t _TRACE_RDMA_REGISTRATION_HANDLE_REGISTER_LOOP_DSTATE;
extern uint16_t _TRACE_RDMA_REGISTRATION_HANDLE_REGISTER_RKEY_DSTATE;
extern uint16_t _TRACE_RDMA_REGISTRATION_HANDLE_UNREGISTER_DSTATE;
extern uint16_t _TRACE_RDMA_REGISTRATION_HANDLE_UNREGISTER_LOOP_DSTATE;
extern uint16_t _TRACE_RDMA_REGISTRATION_HANDLE_UNREGISTER_SUCCESS_DSTATE;
extern uint16_t _TRACE_RDMA_REGISTRATION_HANDLE_WAIT_DSTATE;
extern uint16_t _TRACE_RDMA_REGISTRATION_START_DSTATE;
extern uint16_t _TRACE_RDMA_REGISTRATION_STOP_DSTATE;
extern uint16_t _TRACE_RDMA_REGISTRATION_STOP_RAM_DSTATE;
extern uint16_t _TRACE_RDMA_CONNECT_INCOMING_DSTATE;
extern uint16_t _TRACE_RDMA_CONNECT_INCOMING_AFTER_DEST_INIT_DSTATE;
extern uint16_t _TRACE_RDMA_CONNECT_INCOMING_AFTER_RDMA_LISTEN_DSTATE;
extern uint16_t _TRACE_RDMA_CONNECT_OUTGOING_AFTER_RDMA_CONNECT_DSTATE;
extern uint16_t _TRACE_RDMA_CONNECT_OUTGOING_AFTER_RDMA_SOURCE_INIT_DSTATE;
extern uint16_t _TRACE_POSTCOPY_DISCARD_SEND_FINISH_DSTATE;
extern uint16_t _TRACE_POSTCOPY_DISCARD_SEND_RANGE_DSTATE;
extern uint16_t _TRACE_POSTCOPY_CLEANUP_RANGE_DSTATE;
extern uint16_t _TRACE_POSTCOPY_INIT_RANGE_DSTATE;
extern uint16_t _TRACE_POSTCOPY_NHP_RANGE_DSTATE;
extern uint16_t _TRACE_POSTCOPY_PLACE_PAGE_DSTATE;
extern uint16_t _TRACE_POSTCOPY_PLACE_PAGE_ZERO_DSTATE;
extern uint16_t _TRACE_POSTCOPY_RAM_ENABLE_NOTIFY_DSTATE;
extern uint16_t _TRACE_POSTCOPY_PAUSE_FAULT_THREAD_DSTATE;
extern uint16_t _TRACE_POSTCOPY_PAUSE_FAULT_THREAD_CONTINUED_DSTATE;
extern uint16_t _TRACE_POSTCOPY_PAUSE_FAST_LOAD_DSTATE;
extern uint16_t _TRACE_POSTCOPY_PAUSE_FAST_LOAD_CONTINUED_DSTATE;
extern uint16_t _TRACE_POSTCOPY_RAM_FAULT_THREAD_ENTRY_DSTATE;
extern uint16_t _TRACE_POSTCOPY_RAM_FAULT_THREAD_EXIT_DSTATE;
extern uint16_t _TRACE_POSTCOPY_RAM_FAULT_THREAD_FDS_CORE_DSTATE;
extern uint16_t _TRACE_POSTCOPY_RAM_FAULT_THREAD_FDS_EXTRA_DSTATE;
extern uint16_t _TRACE_POSTCOPY_RAM_FAULT_THREAD_QUIT_DSTATE;
extern uint16_t _TRACE_POSTCOPY_RAM_FAULT_THREAD_REQUEST_DSTATE;
extern uint16_t _TRACE_POSTCOPY_RAM_INCOMING_CLEANUP_CLOSEUF_DSTATE;
extern uint16_t _TRACE_POSTCOPY_RAM_INCOMING_CLEANUP_ENTRY_DSTATE;
extern uint16_t _TRACE_POSTCOPY_RAM_INCOMING_CLEANUP_EXIT_DSTATE;
extern uint16_t _TRACE_POSTCOPY_RAM_INCOMING_CLEANUP_JOIN_DSTATE;
extern uint16_t _TRACE_POSTCOPY_RAM_INCOMING_CLEANUP_BLOCKTIME_DSTATE;
extern uint16_t _TRACE_POSTCOPY_REQUEST_SHARED_PAGE_DSTATE;
extern uint16_t _TRACE_POSTCOPY_REQUEST_SHARED_PAGE_PRESENT_DSTATE;
extern uint16_t _TRACE_POSTCOPY_WAKE_SHARED_DSTATE;
extern uint16_t _TRACE_POSTCOPY_PAGE_REQ_DEL_DSTATE;
extern uint16_t _TRACE_POSTCOPY_PREEMPT_TLS_HANDSHAKE_DSTATE;
extern uint16_t _TRACE_POSTCOPY_PREEMPT_NEW_CHANNEL_DSTATE;
extern uint16_t _TRACE_POSTCOPY_PREEMPT_THREAD_ENTRY_DSTATE;
extern uint16_t _TRACE_POSTCOPY_PREEMPT_THREAD_EXIT_DSTATE;
extern uint16_t _TRACE_POSTCOPY_BLOCKTIME_TID_CPU_MAP_DSTATE;
extern uint16_t _TRACE_POSTCOPY_BLOCKTIME_BEGIN_DSTATE;
extern uint16_t _TRACE_POSTCOPY_BLOCKTIME_END_DSTATE;
extern uint16_t _TRACE_POSTCOPY_BLOCKTIME_END_ONE_DSTATE;
extern uint16_t _TRACE_MIGRATION_EXEC_OUTGOING_DSTATE;
extern uint16_t _TRACE_MIGRATION_EXEC_INCOMING_DSTATE;
extern uint16_t _TRACE_MIGRATION_FD_OUTGOING_DSTATE;
extern uint16_t _TRACE_MIGRATION_FD_INCOMING_DSTATE;
extern uint16_t _TRACE_MIGRATION_FILE_OUTGOING_DSTATE;
extern uint16_t _TRACE_MIGRATION_FILE_INCOMING_DSTATE;
extern uint16_t _TRACE_MIGRATION_SOCKET_INCOMING_ACCEPTED_DSTATE;
extern uint16_t _TRACE_MIGRATION_SOCKET_OUTGOING_CONNECTED_DSTATE;
extern uint16_t _TRACE_MIGRATION_SOCKET_OUTGOING_ERROR_DSTATE;
extern uint16_t _TRACE_MIGRATION_TLS_OUTGOING_HANDSHAKE_START_DSTATE;
extern uint16_t _TRACE_MIGRATION_TLS_OUTGOING_HANDSHAKE_ERROR_DSTATE;
extern uint16_t _TRACE_MIGRATION_TLS_OUTGOING_HANDSHAKE_COMPLETE_DSTATE;
extern uint16_t _TRACE_MIGRATION_TLS_INCOMING_HANDSHAKE_START_DSTATE;
extern uint16_t _TRACE_MIGRATION_TLS_INCOMING_HANDSHAKE_ERROR_DSTATE;
extern uint16_t _TRACE_MIGRATION_TLS_INCOMING_HANDSHAKE_COMPLETE_DSTATE;
extern uint16_t _TRACE_COLO_VM_STATE_CHANGE_DSTATE;
extern uint16_t _TRACE_COLO_SEND_MESSAGE_DSTATE;
extern uint16_t _TRACE_COLO_RECEIVE_MESSAGE_DSTATE;
extern uint16_t _TRACE_COLO_FAILOVER_SET_STATE_DSTATE;
extern uint16_t _TRACE_CPR_SAVE_FD_DSTATE;
extern uint16_t _TRACE_CPR_DELETE_FD_DSTATE;
extern uint16_t _TRACE_CPR_FIND_FD_DSTATE;
extern uint16_t _TRACE_CPR_STATE_SAVE_DSTATE;
extern uint16_t _TRACE_CPR_STATE_LOAD_DSTATE;
extern uint16_t _TRACE_CPR_TRANSFER_INPUT_DSTATE;
extern uint16_t _TRACE_CPR_TRANSFER_OUTPUT_DSTATE;
extern uint16_t _TRACE_CPR_EXEC_DSTATE;
extern uint16_t _TRACE_SEND_BITMAP_HEADER_ENTER_DSTATE;
extern uint16_t _TRACE_SEND_BITMAP_BITS_DSTATE;
extern uint16_t _TRACE_DIRTY_BITMAP_SAVE_ITERATE_DSTATE;
extern uint16_t _TRACE_DIRTY_BITMAP_SAVE_COMPLETE_ENTER_DSTATE;
extern uint16_t _TRACE_DIRTY_BITMAP_SAVE_COMPLETE_FINISH_DSTATE;
extern uint16_t _TRACE_DIRTY_BITMAP_STATE_PENDING_DSTATE;
extern uint16_t _TRACE_DIRTY_BITMAP_LOAD_COMPLETE_DSTATE;
extern uint16_t _TRACE_DIRTY_BITMAP_LOAD_BITS_ENTER_DSTATE;
extern uint16_t _TRACE_DIRTY_BITMAP_LOAD_BITS_ZEROES_DSTATE;
extern uint16_t _TRACE_DIRTY_BITMAP_LOAD_HEADER_DSTATE;
extern uint16_t _TRACE_DIRTY_BITMAP_LOAD_ENTER_DSTATE;
extern uint16_t _TRACE_DIRTY_BITMAP_LOAD_SUCCESS_DSTATE;
extern uint16_t _TRACE_DIRTYRATE_SET_STATE_DSTATE;
extern uint16_t _TRACE_QUERY_DIRTY_RATE_INFO_DSTATE;
extern uint16_t _TRACE_GET_RAMBLOCK_VFN_HASH_DSTATE;
extern uint16_t _TRACE_CALC_PAGE_DIRTY_RATE_DSTATE;
extern uint16_t _TRACE_SKIP_SAMPLE_RAMBLOCK_DSTATE;
extern uint16_t _TRACE_FIND_PAGE_MATCHED_DSTATE;
extern uint16_t _TRACE_DIRTYRATE_CALCULATE_DSTATE;
extern uint16_t _TRACE_DIRTYRATE_DO_CALCULATE_VCPU_DSTATE;
extern uint16_t _TRACE_MIGRATION_BLOCK_INIT_SHARED_DSTATE;
extern uint16_t _TRACE_MIGRATION_BLOCK_INIT_FULL_DSTATE;
extern uint16_t _TRACE_MIGRATION_BLOCK_SAVE_DEVICE_DIRTY_DSTATE;
extern uint16_t _TRACE_MIGRATION_BLOCK_FLUSH_BLKS_DSTATE;
extern uint16_t _TRACE_MIGRATION_BLOCK_SAVE_DSTATE;
extern uint16_t _TRACE_MIGRATION_BLOCK_SAVE_COMPLETE_DSTATE;
extern uint16_t _TRACE_MIGRATION_BLOCK_STATE_PENDING_DSTATE;
extern uint16_t _TRACE_MIGRATION_BLOCK_PROGRESSION_DSTATE;
extern uint16_t _TRACE_MIGRATION_PAGECACHE_INIT_DSTATE;
extern uint16_t _TRACE_MIGRATION_PAGECACHE_INSERT_DSTATE;
extern uint16_t _TRACE_CPU_THROTTLE_SET_DSTATE;
extern uint16_t _TRACE_CPU_THROTTLE_DIRTY_SYNC_DSTATE;
extern uint16_t _TRACE_MIGRATION_BLOCK_ACTIVATION_DSTATE;
#define TRACE_QEMU_LOADVM_STATE_SECTION_ENABLED 1
#define TRACE_QEMU_LOADVM_STATE_SECTION_COMMAND_ENABLED 1
#define TRACE_QEMU_LOADVM_STATE_SECTION_PARTEND_ENABLED 1
#define TRACE_QEMU_LOADVM_STATE_POST_MAIN_ENABLED 1
#define TRACE_QEMU_LOADVM_STATE_SECTION_STARTFULL_ENABLED 1
#define TRACE_QEMU_SAVEVM_SEND_PACKAGED_ENABLED 1
#define TRACE_QEMU_SAVEVM_QUERY_PENDING_ENABLED 1
#define TRACE_LOADVM_STATE_SWITCHOVER_ACK_NEEDED_ENABLED 1
#define TRACE_LOADVM_STATE_SETUP_ENABLED 1
#define TRACE_LOADVM_STATE_CLEANUP_ENABLED 1
#define TRACE_LOADVM_HANDLE_CMD_PACKAGED_ENABLED 1
#define TRACE_LOADVM_HANDLE_CMD_PACKAGED_MAIN_ENABLED 1
#define TRACE_LOADVM_HANDLE_CMD_PACKAGED_RECEIVED_ENABLED 1
#define TRACE_LOADVM_HANDLE_RECV_BITMAP_ENABLED 1
#define TRACE_LOADVM_POSTCOPY_HANDLE_ADVISE_ENABLED 1
#define TRACE_LOADVM_POSTCOPY_HANDLE_LISTEN_ENABLED 1
#define TRACE_LOADVM_POSTCOPY_HANDLE_RUN_ENABLED 1
#define TRACE_LOADVM_POSTCOPY_HANDLE_RESUME_ENABLED 1
#define TRACE_LOADVM_POSTCOPY_RAM_HANDLE_DISCARD_ENABLED 1
#define TRACE_LOADVM_POSTCOPY_RAM_HANDLE_DISCARD_END_ENABLED 1
#define TRACE_LOADVM_POSTCOPY_RAM_HANDLE_DISCARD_HEADER_ENABLED 1
#define TRACE_LOADVM_PROCESS_COMMAND_ENABLED 1
#define TRACE_LOADVM_PROCESS_COMMAND_PING_ENABLED 1
#define TRACE_LOADVM_APPROVE_SWITCHOVER_ENABLED 1
#define TRACE_POSTCOPY_RAM_LISTEN_THREAD_EXIT_ENABLED 1
#define TRACE_POSTCOPY_RAM_LISTEN_THREAD_START_ENABLED 1
#define TRACE_QEMU_SAVEVM_SEND_POSTCOPY_ADVISE_ENABLED 1
#define TRACE_QEMU_SAVEVM_SEND_POSTCOPY_RAM_DISCARD_ENABLED 1
#define TRACE_SAVEVM_COMMAND_SEND_ENABLED 1
#define TRACE_SAVEVM_SECTION_START_ENABLED 1
#define TRACE_SAVEVM_SECTION_END_ENABLED 1
#define TRACE_SAVEVM_SECTION_SKIP_ENABLED 1
#define TRACE_SAVEVM_SEND_OPEN_RETURN_PATH_ENABLED 1
#define TRACE_SAVEVM_SEND_PING_ENABLED 1
#define TRACE_SAVEVM_SEND_POSTCOPY_LISTEN_ENABLED 1
#define TRACE_SAVEVM_SEND_POSTCOPY_RUN_ENABLED 1
#define TRACE_SAVEVM_SEND_POSTCOPY_RESUME_ENABLED 1
#define TRACE_SAVEVM_SEND_RECV_BITMAP_ENABLED 1
#define TRACE_SAVEVM_SEND_SWITCHOVER_START_ENABLED 1
#define TRACE_SAVEVM_STATE_SETUP_ENABLED 1
#define TRACE_SAVEVM_STATE_RESUME_PREPARE_ENABLED 1
#define TRACE_SAVEVM_STATE_HEADER_ENABLED 1
#define TRACE_SAVEVM_STATE_ITERATE_ENABLED 1
#define TRACE_SAVEVM_STATE_CLEANUP_ENABLED 1
#define TRACE_VMSTATE_SAVE_ENABLED 1
#define TRACE_VMSTATE_LOAD_ENABLED 1
#define TRACE_VMSTATE_DOWNTIME_SAVE_ENABLED 1
#define TRACE_VMSTATE_DOWNTIME_LOAD_ENABLED 1
#define TRACE_VMSTATE_DOWNTIME_CHECKPOINT_ENABLED 1
#define TRACE_POSTCOPY_PAUSE_INCOMING_ENABLED 1
#define TRACE_POSTCOPY_PAUSE_INCOMING_CONTINUED_ENABLED 1
#define TRACE_POSTCOPY_PAGE_REQ_SYNC_ENABLED 1
#define TRACE_VMSTATE_LOAD_FIELD_ERROR_ENABLED 1
#define TRACE_VMSTATE_LOAD_STATE_ENABLED 1
#define TRACE_VMSTATE_LOAD_STATE_FAIL_ENABLED 1
#define TRACE_VMSTATE_LOAD_STATE_SUCCESS_ENABLED 1
#define TRACE_VMSTATE_LOAD_STATE_FIELD_ENABLED 1
#define TRACE_VMSTATE_N_ELEMS_ENABLED 1
#define TRACE_VMSTATE_SUBSECTION_LOAD_ENABLED 1
#define TRACE_VMSTATE_SUBSECTION_LOAD_BAD_ENABLED 1
#define TRACE_VMSTATE_SUBSECTION_LOAD_GOOD_ENABLED 1
#define TRACE_VMSTATE_SAVE_STATE_PRE_SAVE_FAIL_ENABLED 1
#define TRACE_VMSTATE_SAVE_STATE_PRE_SAVE_SUCCESS_ENABLED 1
#define TRACE_VMSTATE_SAVE_STATE_LOOP_ENABLED 1
#define TRACE_VMSTATE_SAVE_STATE_TOP_ENABLED 1
#define TRACE_VMSTATE_SUBSECTION_SAVE_LOOP_ENABLED 1
#define TRACE_VMSTATE_SUBSECTION_SAVE_TOP_ENABLED 1
#define TRACE_VMSTATE_FIELD_EXISTS_ENABLED 1
#define TRACE_LOAD_QTAILQ_ENABLED 1
#define TRACE_LOAD_QTAILQ_END_ENABLED 1
#define TRACE_SAVE_QTAILQ_ENABLED 1
#define TRACE_SAVE_QTAILQ_END_ENABLED 1
#define TRACE_LOAD_GTREE_ENABLED 1
#define TRACE_LOAD_GTREE_END_ENABLED 1
#define TRACE_SAVE_GTREE_ENABLED 1
#define TRACE_SAVE_GTREE_END_ENABLED 1
#define TRACE_LOAD_QLIST_ENABLED 1
#define TRACE_LOAD_QLIST_END_ENABLED 1
#define TRACE_SAVE_QLIST_ENABLED 1
#define TRACE_SAVE_QLIST_END_ENABLED 1
#define TRACE_QEMU_FILE_FCLOSE_ENABLED 1
#define TRACE_QEMU_FILE_PUT_FD_ENABLED 1
#define TRACE_QEMU_FILE_GET_FD_ENABLED 1
#define TRACE_GET_QUEUED_PAGE_ENABLED 1
#define TRACE_GET_QUEUED_PAGE_NOT_DIRTY_ENABLED 1
#define TRACE_MIGRATION_BITMAP_SYNC_START_ENABLED 1
#define TRACE_MIGRATION_BITMAP_SYNC_END_ENABLED 1
#define TRACE_MIGRATION_BITMAP_CLEAR_DIRTY_ENABLED 1
#define TRACE_MIGRATION_THROTTLE_ENABLED 1
#define TRACE_MIGRATION_DIRTY_LIMIT_GUEST_ENABLED 1
#define TRACE_RAM_DISCARD_RANGE_ENABLED 1
#define TRACE_RAM_LOAD_LOOP_ENABLED 1
#define TRACE_RAM_LOAD_POSTCOPY_LOOP_ENABLED 1
#define TRACE_RAM_POSTCOPY_SEND_DISCARD_BITMAP_ENABLED 1
#define TRACE_RAM_SAVE_PAGE_ENABLED 1
#define TRACE_RAM_SAVE_QUEUE_PAGES_ENABLED 1
#define TRACE_RAM_SAVE_COMPLETE_ENABLED 1
#define TRACE_RAM_DIRTY_BITMAP_REQUEST_ENABLED 1
#define TRACE_RAM_DIRTY_BITMAP_RELOAD_BEGIN_ENABLED 1
#define TRACE_RAM_DIRTY_BITMAP_RELOAD_COMPLETE_ENABLED 1
#define TRACE_RAM_DIRTY_BITMAP_SYNC_START_ENABLED 1
#define TRACE_RAM_DIRTY_BITMAP_SYNC_WAIT_ENABLED 1
#define TRACE_RAM_DIRTY_BITMAP_SYNC_COMPLETE_ENABLED 1
#define TRACE_RAM_STATE_RESUME_PREPARE_ENABLED 1
#define TRACE_COLO_FLUSH_RAM_CACHE_BEGIN_ENABLED 1
#define TRACE_COLO_FLUSH_RAM_CACHE_END_ENABLED 1
#define TRACE_SAVE_XBZRLE_PAGE_SKIPPING_ENABLED 1
#define TRACE_SAVE_XBZRLE_PAGE_OVERFLOW_ENABLED 1
#define TRACE_RAM_SAVE_ITERATE_BIG_WAIT_ENABLED 1
#define TRACE_RAM_LOAD_START_ENABLED 1
#define TRACE_RAM_LOAD_COMPLETE_ENABLED 1
#define TRACE_RAM_WRITE_TRACKING_RAMBLOCK_START_ENABLED 1
#define TRACE_RAM_WRITE_TRACKING_RAMBLOCK_STOP_ENABLED 1
#define TRACE_POSTCOPY_PREEMPT_TRIGGERED_ENABLED 1
#define TRACE_POSTCOPY_PREEMPT_RESTORED_ENABLED 1
#define TRACE_POSTCOPY_PREEMPT_HIT_ENABLED 1
#define TRACE_POSTCOPY_PREEMPT_SEND_HOST_PAGE_ENABLED 1
#define TRACE_POSTCOPY_PREEMPT_SWITCH_CHANNEL_ENABLED 1
#define TRACE_POSTCOPY_PREEMPT_RESET_CHANNEL_ENABLED 1
#define TRACE_MULTIFD_NEW_SEND_CHANNEL_ASYNC_ENABLED 1
#define TRACE_MULTIFD_NEW_SEND_CHANNEL_ASYNC_ERROR_ENABLED 1
#define TRACE_MULTIFD_RECV_UNFILL_ENABLED 1
#define TRACE_MULTIFD_RECV_NEW_CHANNEL_ENABLED 1
#define TRACE_MULTIFD_RECV_SYNC_MAIN_ENABLED 1
#define TRACE_MULTIFD_RECV_SYNC_MAIN_SIGNAL_ENABLED 1
#define TRACE_MULTIFD_RECV_SYNC_MAIN_WAIT_ENABLED 1
#define TRACE_MULTIFD_RECV_TERMINATE_THREADS_ENABLED 1
#define TRACE_MULTIFD_RECV_THREAD_END_ENABLED 1
#define TRACE_MULTIFD_RECV_THREAD_START_ENABLED 1
#define TRACE_MULTIFD_SEND_FILL_ENABLED 1
#define TRACE_MULTIFD_SEND_RAM_FILL_ENABLED 1
#define TRACE_MULTIFD_SEND_ERROR_ENABLED 1
#define TRACE_MULTIFD_SEND_SYNC_MAIN_ENABLED 1
#define TRACE_MULTIFD_SEND_SYNC_MAIN_SIGNAL_ENABLED 1
#define TRACE_MULTIFD_SEND_SYNC_MAIN_WAIT_ENABLED 1
#define TRACE_MULTIFD_SEND_TERMINATE_THREADS_ENABLED 1
#define TRACE_MULTIFD_SEND_THREAD_END_ENABLED 1
#define TRACE_MULTIFD_SEND_THREAD_START_ENABLED 1
#define TRACE_MULTIFD_TLS_OUTGOING_HANDSHAKE_START_ENABLED 1
#define TRACE_MULTIFD_TLS_OUTGOING_HANDSHAKE_ERROR_ENABLED 1
#define TRACE_MULTIFD_TLS_OUTGOING_HANDSHAKE_COMPLETE_ENABLED 1
#define TRACE_MULTIFD_SET_OUTGOING_CHANNEL_ENABLED 1
#define TRACE_MIGRATE_SET_STATE_ENABLED 1
#define TRACE_MIGRATION_CLEANUP_ENABLED 1
#define TRACE_MIGRATE_ERROR_ENABLED 1
#define TRACE_MIGRATION_CANCEL_ENABLED 1
#define TRACE_MIGRATE_HANDLE_RP_REQ_PAGES_ENABLED 1
#define TRACE_MIGRATE_SEND_RP_MESSAGE_ENABLED 1
#define TRACE_MIGRATE_SEND_RP_RECV_BITMAP_ENABLED 1
#define TRACE_MIGRATION_COMPLETION_FILE_ERR_ENABLED 1
#define TRACE_MIGRATION_COMPLETION_VM_STOP_ENABLED 1
#define TRACE_MIGRATION_COMPLETION_POSTCOPY_END_ENABLED 1
#define TRACE_MIGRATION_COMPLETION_POSTCOPY_END_AFTER_COMPLETE_ENABLED 1
#define TRACE_MIGRATION_RATE_LIMIT_PRE_ENABLED 1
#define TRACE_MIGRATION_RATE_LIMIT_POST_ENABLED 1
#define TRACE_MIGRATION_RETURN_PATH_END_BEFORE_ENABLED 1
#define TRACE_MIGRATION_RETURN_PATH_END_AFTER_ENABLED 1
#define TRACE_MIGRATION_THREAD_AFTER_LOOP_ENABLED 1
#define TRACE_MIGRATION_THREAD_FILE_ERR_ENABLED 1
#define TRACE_MIGRATION_THREAD_SETUP_COMPLETE_ENABLED 1
#define TRACE_OPEN_RETURN_PATH_ON_SOURCE_ENABLED 1
#define TRACE_OPEN_RETURN_PATH_ON_SOURCE_CONTINUE_ENABLED 1
#define TRACE_POSTCOPY_START_ENABLED 1
#define TRACE_POSTCOPY_PAUSE_RETURN_PATH_ENABLED 1
#define TRACE_POSTCOPY_PAUSE_RETURN_PATH_CONTINUED_ENABLED 1
#define TRACE_POSTCOPY_PAUSE_CONTINUED_ENABLED 1
#define TRACE_POSTCOPY_START_SET_RUN_ENABLED 1
#define TRACE_POSTCOPY_PAGE_REQ_ADD_ENABLED 1
#define TRACE_SOURCE_RETURN_PATH_THREAD_BAD_END_ENABLED 1
#define TRACE_SOURCE_RETURN_PATH_THREAD_END_ENABLED 1
#define TRACE_SOURCE_RETURN_PATH_THREAD_ENTRY_ENABLED 1
#define TRACE_SOURCE_RETURN_PATH_THREAD_LOOP_TOP_ENABLED 1
#define TRACE_SOURCE_RETURN_PATH_THREAD_PONG_ENABLED 1
#define TRACE_SOURCE_RETURN_PATH_THREAD_SHUT_ENABLED 1
#define TRACE_SOURCE_RETURN_PATH_THREAD_RESUME_ACK_ENABLED 1
#define TRACE_SOURCE_RETURN_PATH_THREAD_SWITCHOVER_ACKED_ENABLED 1
#define TRACE_SOURCE_RETURN_PATH_THREAD_POSTCOPY_PACKAGE_LOADED_ENABLED 1
#define TRACE_MIGRATION_THREAD_LOW_PENDING_ENABLED 1
#define TRACE_MIGRATE_TRANSFERRED_ENABLED 1
#define TRACE_PROCESS_INCOMING_MIGRATION_CO_END_ENABLED 1
#define TRACE_PROCESS_INCOMING_MIGRATION_CO_POSTCOPY_END_MAIN_ENABLED 1
#define TRACE_POSTCOPY_PREEMPT_ENABLED_ENABLED 1
#define TRACE_MIGRATION_PRECOPY_COMPLETE_ENABLED 1
#define TRACE_MIGRATION_CALL_NOTIFIERS_ENABLED 1
#define TRACE_MIGRATION_TRANSFERRED_BYTES_ENABLED 1
#define TRACE_MIGRATION_SET_INCOMING_CHANNEL_ENABLED 1
#define TRACE_MIGRATION_SET_OUTGOING_CHANNEL_ENABLED 1
#define TRACE_MIGRATE_STATE_TOO_BIG_ENABLED 1
#define TRACE_MIGRATE_GLOBAL_STATE_POST_LOAD_ENABLED 1
#define TRACE_MIGRATE_GLOBAL_STATE_PRE_SAVE_ENABLED 1
#define TRACE_QEMU_RDMA_ACCEPT_INCOMING_MIGRATION_ENABLED 1
#define TRACE_QEMU_RDMA_ACCEPT_INCOMING_MIGRATION_ACCEPTED_ENABLED 1
#define TRACE_QEMU_RDMA_ACCEPT_PIN_STATE_ENABLED 1
#define TRACE_QEMU_RDMA_ACCEPT_PIN_VERBSC_ENABLED 1
#define TRACE_QEMU_RDMA_BLOCK_FOR_WRID_MISS_ENABLED 1
#define TRACE_QEMU_RDMA_CLEANUP_DISCONNECT_ENABLED 1
#define TRACE_QEMU_RDMA_CLOSE_ENABLED 1
#define TRACE_QEMU_RDMA_CONNECT_PIN_ALL_REQUESTED_ENABLED 1
#define TRACE_QEMU_RDMA_CONNECT_PIN_ALL_OUTCOME_ENABLED 1
#define TRACE_QEMU_RDMA_DEST_INIT_TRYING_ENABLED 1
#define TRACE_QEMU_RDMA_DUMP_ID_FAILED_ENABLED 1
#define TRACE_QEMU_RDMA_DUMP_ID_ENABLED 1
#define TRACE_QEMU_RDMA_DUMP_GID_ENABLED 1
#define TRACE_QEMU_RDMA_EXCHANGE_GET_RESPONSE_START_ENABLED 1
#define TRACE_QEMU_RDMA_EXCHANGE_GET_RESPONSE_NONE_ENABLED 1
#define TRACE_QEMU_RDMA_EXCHANGE_SEND_ISSUE_CALLBACK_ENABLED 1
#define TRACE_QEMU_RDMA_EXCHANGE_SEND_WAITING_ENABLED 1
#define TRACE_QEMU_RDMA_EXCHANGE_SEND_RECEIVED_ENABLED 1
#define TRACE_QEMU_RDMA_FILL_ENABLED 1
#define TRACE_QEMU_RDMA_INIT_RAM_BLOCKS_ENABLED 1
#define TRACE_QEMU_RDMA_POLL_RECV_ENABLED 1
#define TRACE_QEMU_RDMA_POLL_WRITE_ENABLED 1
#define TRACE_QEMU_RDMA_POLL_OTHER_ENABLED 1
#define TRACE_QEMU_RDMA_POST_SEND_CONTROL_ENABLED 1
#define TRACE_QEMU_RDMA_REGISTER_AND_GET_KEYS_ENABLED 1
#define TRACE_QEMU_RDMA_REGISTER_ODP_MR_ENABLED 1
#define TRACE_QEMU_RDMA_ADVISE_MR_ENABLED 1
#define TRACE_QEMU_RDMA_RESOLVE_HOST_TRYING_ENABLED 1
#define TRACE_QEMU_RDMA_SIGNAL_UNREGISTER_APPEND_ENABLED 1
#define TRACE_QEMU_RDMA_SIGNAL_UNREGISTER_ALREADY_ENABLED 1
#define TRACE_QEMU_RDMA_UNREGISTER_WAITING_INFLIGHT_ENABLED 1
#define TRACE_QEMU_RDMA_UNREGISTER_WAITING_PROC_ENABLED 1
#define TRACE_QEMU_RDMA_UNREGISTER_WAITING_SEND_ENABLED 1
#define TRACE_QEMU_RDMA_UNREGISTER_WAITING_COMPLETE_ENABLED 1
#define TRACE_QEMU_RDMA_WRITE_FLUSH_ENABLED 1
#define TRACE_QEMU_RDMA_WRITE_ONE_BLOCK_ENABLED 1
#define TRACE_QEMU_RDMA_WRITE_ONE_POST_ENABLED 1
#define TRACE_QEMU_RDMA_WRITE_ONE_QUEUE_FULL_ENABLED 1
#define TRACE_QEMU_RDMA_WRITE_ONE_RECVREGRES_ENABLED 1
#define TRACE_QEMU_RDMA_WRITE_ONE_SENDREG_ENABLED 1
#define TRACE_QEMU_RDMA_WRITE_ONE_TOP_ENABLED 1
#define TRACE_QEMU_RDMA_WRITE_ONE_ZERO_ENABLED 1
#define TRACE_RDMA_ADD_BLOCK_ENABLED 1
#define TRACE_RDMA_BLOCK_NOTIFICATION_HANDLE_ENABLED 1
#define TRACE_RDMA_DELETE_BLOCK_ENABLED 1
#define TRACE_RDMA_REGISTRATION_HANDLE_COMPRESS_ENABLED 1
#define TRACE_RDMA_REGISTRATION_HANDLE_FINISHED_ENABLED 1
#define TRACE_RDMA_REGISTRATION_HANDLE_RAM_BLOCKS_ENABLED 1
#define TRACE_RDMA_REGISTRATION_HANDLE_RAM_BLOCKS_LOOP_ENABLED 1
#define TRACE_RDMA_REGISTRATION_HANDLE_REGISTER_ENABLED 1
#define TRACE_RDMA_REGISTRATION_HANDLE_REGISTER_LOOP_ENABLED 1
#define TRACE_RDMA_REGISTRATION_HANDLE_REGISTER_RKEY_ENABLED 1
#define TRACE_RDMA_REGISTRATION_HANDLE_UNREGISTER_ENABLED 1
#define TRACE_RDMA_REGISTRATION_HANDLE_UNREGISTER_LOOP_ENABLED 1
#define TRACE_RDMA_REGISTRATION_HANDLE_UNREGISTER_SUCCESS_ENABLED 1
#define TRACE_RDMA_REGISTRATION_HANDLE_WAIT_ENABLED 1
#define TRACE_RDMA_REGISTRATION_START_ENABLED 1
#define TRACE_RDMA_REGISTRATION_STOP_ENABLED 1
#define TRACE_RDMA_REGISTRATION_STOP_RAM_ENABLED 1
#define TRACE_RDMA_CONNECT_INCOMING_ENABLED 1
#define TRACE_RDMA_CONNECT_INCOMING_AFTER_DEST_INIT_ENABLED 1
#define TRACE_RDMA_CONNECT_INCOMING_AFTER_RDMA_LISTEN_ENABLED 1
#define TRACE_RDMA_CONNECT_OUTGOING_AFTER_RDMA_CONNECT_ENABLED 1
#define TRACE_RDMA_CONNECT_OUTGOING_AFTER_RDMA_SOURCE_INIT_ENABLED 1
#define TRACE_POSTCOPY_DISCARD_SEND_FINISH_ENABLED 1
#define TRACE_POSTCOPY_DISCARD_SEND_RANGE_ENABLED 1
#define TRACE_POSTCOPY_CLEANUP_RANGE_ENABLED 1
#define TRACE_POSTCOPY_INIT_RANGE_ENABLED 1
#define TRACE_POSTCOPY_NHP_RANGE_ENABLED 1
#define TRACE_POSTCOPY_PLACE_PAGE_ENABLED 1
#define TRACE_POSTCOPY_PLACE_PAGE_ZERO_ENABLED 1
#define TRACE_POSTCOPY_RAM_ENABLE_NOTIFY_ENABLED 1
#define TRACE_POSTCOPY_PAUSE_FAULT_THREAD_ENABLED 1
#define TRACE_POSTCOPY_PAUSE_FAULT_THREAD_CONTINUED_ENABLED 1
#define TRACE_POSTCOPY_PAUSE_FAST_LOAD_ENABLED 1
#define TRACE_POSTCOPY_PAUSE_FAST_LOAD_CONTINUED_ENABLED 1
#define TRACE_POSTCOPY_RAM_FAULT_THREAD_ENTRY_ENABLED 1
#define TRACE_POSTCOPY_RAM_FAULT_THREAD_EXIT_ENABLED 1
#define TRACE_POSTCOPY_RAM_FAULT_THREAD_FDS_CORE_ENABLED 1
#define TRACE_POSTCOPY_RAM_FAULT_THREAD_FDS_EXTRA_ENABLED 1
#define TRACE_POSTCOPY_RAM_FAULT_THREAD_QUIT_ENABLED 1
#define TRACE_POSTCOPY_RAM_FAULT_THREAD_REQUEST_ENABLED 1
#define TRACE_POSTCOPY_RAM_INCOMING_CLEANUP_CLOSEUF_ENABLED 1
#define TRACE_POSTCOPY_RAM_INCOMING_CLEANUP_ENTRY_ENABLED 1
#define TRACE_POSTCOPY_RAM_INCOMING_CLEANUP_EXIT_ENABLED 1
#define TRACE_POSTCOPY_RAM_INCOMING_CLEANUP_JOIN_ENABLED 1
#define TRACE_POSTCOPY_RAM_INCOMING_CLEANUP_BLOCKTIME_ENABLED 1
#define TRACE_POSTCOPY_REQUEST_SHARED_PAGE_ENABLED 1
#define TRACE_POSTCOPY_REQUEST_SHARED_PAGE_PRESENT_ENABLED 1
#define TRACE_POSTCOPY_WAKE_SHARED_ENABLED 1
#define TRACE_POSTCOPY_PAGE_REQ_DEL_ENABLED 1
#define TRACE_POSTCOPY_PREEMPT_TLS_HANDSHAKE_ENABLED 1
#define TRACE_POSTCOPY_PREEMPT_NEW_CHANNEL_ENABLED 1
#define TRACE_POSTCOPY_PREEMPT_THREAD_ENTRY_ENABLED 1
#define TRACE_POSTCOPY_PREEMPT_THREAD_EXIT_ENABLED 1
#define TRACE_POSTCOPY_BLOCKTIME_TID_CPU_MAP_ENABLED 1
#define TRACE_POSTCOPY_BLOCKTIME_BEGIN_ENABLED 1
#define TRACE_POSTCOPY_BLOCKTIME_END_ENABLED 1
#define TRACE_POSTCOPY_BLOCKTIME_END_ONE_ENABLED 1
#define TRACE_MIGRATION_EXEC_OUTGOING_ENABLED 1
#define TRACE_MIGRATION_EXEC_INCOMING_ENABLED 1
#define TRACE_MIGRATION_FD_OUTGOING_ENABLED 1
#define TRACE_MIGRATION_FD_INCOMING_ENABLED 1
#define TRACE_MIGRATION_FILE_OUTGOING_ENABLED 1
#define TRACE_MIGRATION_FILE_INCOMING_ENABLED 1
#define TRACE_MIGRATION_SOCKET_INCOMING_ACCEPTED_ENABLED 1
#define TRACE_MIGRATION_SOCKET_OUTGOING_CONNECTED_ENABLED 1
#define TRACE_MIGRATION_SOCKET_OUTGOING_ERROR_ENABLED 1
#define TRACE_MIGRATION_TLS_OUTGOING_HANDSHAKE_START_ENABLED 1
#define TRACE_MIGRATION_TLS_OUTGOING_HANDSHAKE_ERROR_ENABLED 1
#define TRACE_MIGRATION_TLS_OUTGOING_HANDSHAKE_COMPLETE_ENABLED 1
#define TRACE_MIGRATION_TLS_INCOMING_HANDSHAKE_START_ENABLED 1
#define TRACE_MIGRATION_TLS_INCOMING_HANDSHAKE_ERROR_ENABLED 1
#define TRACE_MIGRATION_TLS_INCOMING_HANDSHAKE_COMPLETE_ENABLED 1
#define TRACE_COLO_VM_STATE_CHANGE_ENABLED 1
#define TRACE_COLO_SEND_MESSAGE_ENABLED 1
#define TRACE_COLO_RECEIVE_MESSAGE_ENABLED 1
#define TRACE_COLO_FAILOVER_SET_STATE_ENABLED 1
#define TRACE_CPR_SAVE_FD_ENABLED 1
#define TRACE_CPR_DELETE_FD_ENABLED 1
#define TRACE_CPR_FIND_FD_ENABLED 1
#define TRACE_CPR_STATE_SAVE_ENABLED 1
#define TRACE_CPR_STATE_LOAD_ENABLED 1
#define TRACE_CPR_TRANSFER_INPUT_ENABLED 1
#define TRACE_CPR_TRANSFER_OUTPUT_ENABLED 1
#define TRACE_CPR_EXEC_ENABLED 1
#define TRACE_SEND_BITMAP_HEADER_ENTER_ENABLED 1
#define TRACE_SEND_BITMAP_BITS_ENABLED 1
#define TRACE_DIRTY_BITMAP_SAVE_ITERATE_ENABLED 1
#define TRACE_DIRTY_BITMAP_SAVE_COMPLETE_ENTER_ENABLED 1
#define TRACE_DIRTY_BITMAP_SAVE_COMPLETE_FINISH_ENABLED 1
#define TRACE_DIRTY_BITMAP_STATE_PENDING_ENABLED 1
#define TRACE_DIRTY_BITMAP_LOAD_COMPLETE_ENABLED 1
#define TRACE_DIRTY_BITMAP_LOAD_BITS_ENTER_ENABLED 1
#define TRACE_DIRTY_BITMAP_LOAD_BITS_ZEROES_ENABLED 1
#define TRACE_DIRTY_BITMAP_LOAD_HEADER_ENABLED 1
#define TRACE_DIRTY_BITMAP_LOAD_ENTER_ENABLED 1
#define TRACE_DIRTY_BITMAP_LOAD_SUCCESS_ENABLED 1
#define TRACE_DIRTYRATE_SET_STATE_ENABLED 1
#define TRACE_QUERY_DIRTY_RATE_INFO_ENABLED 1
#define TRACE_GET_RAMBLOCK_VFN_HASH_ENABLED 1
#define TRACE_CALC_PAGE_DIRTY_RATE_ENABLED 1
#define TRACE_SKIP_SAMPLE_RAMBLOCK_ENABLED 1
#define TRACE_FIND_PAGE_MATCHED_ENABLED 1
#define TRACE_DIRTYRATE_CALCULATE_ENABLED 1
#define TRACE_DIRTYRATE_DO_CALCULATE_VCPU_ENABLED 1
#define TRACE_MIGRATION_BLOCK_INIT_SHARED_ENABLED 1
#define TRACE_MIGRATION_BLOCK_INIT_FULL_ENABLED 1
#define TRACE_MIGRATION_BLOCK_SAVE_DEVICE_DIRTY_ENABLED 1
#define TRACE_MIGRATION_BLOCK_FLUSH_BLKS_ENABLED 1
#define TRACE_MIGRATION_BLOCK_SAVE_ENABLED 1
#define TRACE_MIGRATION_BLOCK_SAVE_COMPLETE_ENABLED 1
#define TRACE_MIGRATION_BLOCK_STATE_PENDING_ENABLED 1
#define TRACE_MIGRATION_BLOCK_PROGRESSION_ENABLED 1
#define TRACE_MIGRATION_PAGECACHE_INIT_ENABLED 1
#define TRACE_MIGRATION_PAGECACHE_INSERT_ENABLED 1
#define TRACE_CPU_THROTTLE_SET_ENABLED 1
#define TRACE_CPU_THROTTLE_DIRTY_SYNC_ENABLED 1
#define TRACE_MIGRATION_BLOCK_ACTIVATION_ENABLED 1
#include "qemu/log-for-trace.h"


#define TRACE_QEMU_LOADVM_STATE_SECTION_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_QEMU_LOADVM_STATE_SECTION) || \
    false)

static inline void trace_qemu_loadvm_state_section(unsigned int section_type)
{
    if (trace_event_get_state(TRACE_QEMU_LOADVM_STATE_SECTION)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 4 "../migration/trace-events"
            qemu_log("qemu_loadvm_state_section " "%d" "\n", section_type);
#line 1070 "trace/trace-migration.h"
        }
    }
}

#define TRACE_QEMU_LOADVM_STATE_SECTION_COMMAND_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_QEMU_LOADVM_STATE_SECTION_COMMAND) || \
    false)

static inline void trace_qemu_loadvm_state_section_command(int ret)
{
    if (trace_event_get_state(TRACE_QEMU_LOADVM_STATE_SECTION_COMMAND)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 5 "../migration/trace-events"
            qemu_log("qemu_loadvm_state_section_command " "%d" "\n", ret);
#line 1085 "trace/trace-migration.h"
        }
    }
}

#define TRACE_QEMU_LOADVM_STATE_SECTION_PARTEND_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_QEMU_LOADVM_STATE_SECTION_PARTEND) || \
    false)

static inline void trace_qemu_loadvm_state_section_partend(uint32_t section_id)
{
    if (trace_event_get_state(TRACE_QEMU_LOADVM_STATE_SECTION_PARTEND)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 6 "../migration/trace-events"
            qemu_log("qemu_loadvm_state_section_partend " "%u" "\n", section_id);
#line 1100 "trace/trace-migration.h"
        }
    }
}

#define TRACE_QEMU_LOADVM_STATE_POST_MAIN_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_QEMU_LOADVM_STATE_POST_MAIN) || \
    false)

static inline void trace_qemu_loadvm_state_post_main(int ret)
{
    if (trace_event_get_state(TRACE_QEMU_LOADVM_STATE_POST_MAIN)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 7 "../migration/trace-events"
            qemu_log("qemu_loadvm_state_post_main " "%d" "\n", ret);
#line 1115 "trace/trace-migration.h"
        }
    }
}

#define TRACE_QEMU_LOADVM_STATE_SECTION_STARTFULL_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_QEMU_LOADVM_STATE_SECTION_STARTFULL) || \
    false)

static inline void trace_qemu_loadvm_state_section_startfull(uint32_t section_id, const char *idstr, uint32_t instance_id, uint32_t version_id)
{
    if (trace_event_get_state(TRACE_QEMU_LOADVM_STATE_SECTION_STARTFULL)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 8 "../migration/trace-events"
            qemu_log("qemu_loadvm_state_section_startfull " "%u(%s) %u %u" "\n", section_id, idstr, instance_id, version_id);
#line 1130 "trace/trace-migration.h"
        }
    }
}

#define TRACE_QEMU_SAVEVM_SEND_PACKAGED_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_QEMU_SAVEVM_SEND_PACKAGED) || \
    false)

static inline void trace_qemu_savevm_send_packaged(void)
{
    if (trace_event_get_state(TRACE_QEMU_SAVEVM_SEND_PACKAGED)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 9 "../migration/trace-events"
            qemu_log("qemu_savevm_send_packaged " "" "\n");
#line 1145 "trace/trace-migration.h"
        }
    }
}

#define TRACE_QEMU_SAVEVM_QUERY_PENDING_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_QEMU_SAVEVM_QUERY_PENDING) || \
    false)

static inline void trace_qemu_savevm_query_pending(bool exact, uint64_t precopy, uint64_t stopcopy, uint64_t postcopy, uint64_t total)
{
    if (trace_event_get_state(TRACE_QEMU_SAVEVM_QUERY_PENDING)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 10 "../migration/trace-events"
            qemu_log("qemu_savevm_query_pending " "exact=%d, precopy=%"PRIu64", stopcopy=%"PRIu64", postcopy=%"PRIu64", total=%"PRIu64 "\n", exact, precopy, stopcopy, postcopy, total);
#line 1160 "trace/trace-migration.h"
        }
    }
}

#define TRACE_LOADVM_STATE_SWITCHOVER_ACK_NEEDED_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_LOADVM_STATE_SWITCHOVER_ACK_NEEDED) || \
    false)

static inline void trace_loadvm_state_switchover_ack_needed(unsigned int switchover_ack_pending_num)
{
    if (trace_event_get_state(TRACE_LOADVM_STATE_SWITCHOVER_ACK_NEEDED)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 11 "../migration/trace-events"
            qemu_log("loadvm_state_switchover_ack_needed " "Switchover ack pending num=%u" "\n", switchover_ack_pending_num);
#line 1175 "trace/trace-migration.h"
        }
    }
}

#define TRACE_LOADVM_STATE_SETUP_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_LOADVM_STATE_SETUP) || \
    false)

static inline void trace_loadvm_state_setup(void)
{
    if (trace_event_get_state(TRACE_LOADVM_STATE_SETUP)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 12 "../migration/trace-events"
            qemu_log("loadvm_state_setup " "" "\n");
#line 1190 "trace/trace-migration.h"
        }
    }
}

#define TRACE_LOADVM_STATE_CLEANUP_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_LOADVM_STATE_CLEANUP) || \
    false)

static inline void trace_loadvm_state_cleanup(void)
{
    if (trace_event_get_state(TRACE_LOADVM_STATE_CLEANUP)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 13 "../migration/trace-events"
            qemu_log("loadvm_state_cleanup " "" "\n");
#line 1205 "trace/trace-migration.h"
        }
    }
}

#define TRACE_LOADVM_HANDLE_CMD_PACKAGED_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_LOADVM_HANDLE_CMD_PACKAGED) || \
    false)

static inline void trace_loadvm_handle_cmd_packaged(unsigned int length)
{
    if (trace_event_get_state(TRACE_LOADVM_HANDLE_CMD_PACKAGED)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 14 "../migration/trace-events"
            qemu_log("loadvm_handle_cmd_packaged " "%u" "\n", length);
#line 1220 "trace/trace-migration.h"
        }
    }
}

#define TRACE_LOADVM_HANDLE_CMD_PACKAGED_MAIN_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_LOADVM_HANDLE_CMD_PACKAGED_MAIN) || \
    false)

static inline void trace_loadvm_handle_cmd_packaged_main(int ret)
{
    if (trace_event_get_state(TRACE_LOADVM_HANDLE_CMD_PACKAGED_MAIN)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 15 "../migration/trace-events"
            qemu_log("loadvm_handle_cmd_packaged_main " "%d" "\n", ret);
#line 1235 "trace/trace-migration.h"
        }
    }
}

#define TRACE_LOADVM_HANDLE_CMD_PACKAGED_RECEIVED_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_LOADVM_HANDLE_CMD_PACKAGED_RECEIVED) || \
    false)

static inline void trace_loadvm_handle_cmd_packaged_received(int ret)
{
    if (trace_event_get_state(TRACE_LOADVM_HANDLE_CMD_PACKAGED_RECEIVED)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 16 "../migration/trace-events"
            qemu_log("loadvm_handle_cmd_packaged_received " "%d" "\n", ret);
#line 1250 "trace/trace-migration.h"
        }
    }
}

#define TRACE_LOADVM_HANDLE_RECV_BITMAP_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_LOADVM_HANDLE_RECV_BITMAP) || \
    false)

static inline void trace_loadvm_handle_recv_bitmap(char *s)
{
    if (trace_event_get_state(TRACE_LOADVM_HANDLE_RECV_BITMAP)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 17 "../migration/trace-events"
            qemu_log("loadvm_handle_recv_bitmap " "%s" "\n", s);
#line 1265 "trace/trace-migration.h"
        }
    }
}

#define TRACE_LOADVM_POSTCOPY_HANDLE_ADVISE_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_LOADVM_POSTCOPY_HANDLE_ADVISE) || \
    false)

static inline void trace_loadvm_postcopy_handle_advise(void)
{
    if (trace_event_get_state(TRACE_LOADVM_POSTCOPY_HANDLE_ADVISE)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 18 "../migration/trace-events"
            qemu_log("loadvm_postcopy_handle_advise " "" "\n");
#line 1280 "trace/trace-migration.h"
        }
    }
}

#define TRACE_LOADVM_POSTCOPY_HANDLE_LISTEN_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_LOADVM_POSTCOPY_HANDLE_LISTEN) || \
    false)

static inline void trace_loadvm_postcopy_handle_listen(const char *str)
{
    if (trace_event_get_state(TRACE_LOADVM_POSTCOPY_HANDLE_LISTEN)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 19 "../migration/trace-events"
            qemu_log("loadvm_postcopy_handle_listen " "%s" "\n", str);
#line 1295 "trace/trace-migration.h"
        }
    }
}

#define TRACE_LOADVM_POSTCOPY_HANDLE_RUN_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_LOADVM_POSTCOPY_HANDLE_RUN) || \
    false)

static inline void trace_loadvm_postcopy_handle_run(void)
{
    if (trace_event_get_state(TRACE_LOADVM_POSTCOPY_HANDLE_RUN)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 20 "../migration/trace-events"
            qemu_log("loadvm_postcopy_handle_run " "" "\n");
#line 1310 "trace/trace-migration.h"
        }
    }
}

#define TRACE_LOADVM_POSTCOPY_HANDLE_RESUME_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_LOADVM_POSTCOPY_HANDLE_RESUME) || \
    false)

static inline void trace_loadvm_postcopy_handle_resume(void)
{
    if (trace_event_get_state(TRACE_LOADVM_POSTCOPY_HANDLE_RESUME)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 21 "../migration/trace-events"
            qemu_log("loadvm_postcopy_handle_resume " "" "\n");
#line 1325 "trace/trace-migration.h"
        }
    }
}

#define TRACE_LOADVM_POSTCOPY_RAM_HANDLE_DISCARD_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_LOADVM_POSTCOPY_RAM_HANDLE_DISCARD) || \
    false)

static inline void trace_loadvm_postcopy_ram_handle_discard(void)
{
    if (trace_event_get_state(TRACE_LOADVM_POSTCOPY_RAM_HANDLE_DISCARD)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 22 "../migration/trace-events"
            qemu_log("loadvm_postcopy_ram_handle_discard " "" "\n");
#line 1340 "trace/trace-migration.h"
        }
    }
}

#define TRACE_LOADVM_POSTCOPY_RAM_HANDLE_DISCARD_END_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_LOADVM_POSTCOPY_RAM_HANDLE_DISCARD_END) || \
    false)

static inline void trace_loadvm_postcopy_ram_handle_discard_end(void)
{
    if (trace_event_get_state(TRACE_LOADVM_POSTCOPY_RAM_HANDLE_DISCARD_END)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 23 "../migration/trace-events"
            qemu_log("loadvm_postcopy_ram_handle_discard_end " "" "\n");
#line 1355 "trace/trace-migration.h"
        }
    }
}

#define TRACE_LOADVM_POSTCOPY_RAM_HANDLE_DISCARD_HEADER_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_LOADVM_POSTCOPY_RAM_HANDLE_DISCARD_HEADER) || \
    false)

static inline void trace_loadvm_postcopy_ram_handle_discard_header(const char *ramid, uint16_t len)
{
    if (trace_event_get_state(TRACE_LOADVM_POSTCOPY_RAM_HANDLE_DISCARD_HEADER)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 24 "../migration/trace-events"
            qemu_log("loadvm_postcopy_ram_handle_discard_header " "%s: %ud" "\n", ramid, len);
#line 1370 "trace/trace-migration.h"
        }
    }
}

#define TRACE_LOADVM_PROCESS_COMMAND_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_LOADVM_PROCESS_COMMAND) || \
    false)

static inline void trace_loadvm_process_command(const char *s, uint16_t len)
{
    if (trace_event_get_state(TRACE_LOADVM_PROCESS_COMMAND)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 25 "../migration/trace-events"
            qemu_log("loadvm_process_command " "com=%s len=%d" "\n", s, len);
#line 1385 "trace/trace-migration.h"
        }
    }
}

#define TRACE_LOADVM_PROCESS_COMMAND_PING_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_LOADVM_PROCESS_COMMAND_PING) || \
    false)

static inline void trace_loadvm_process_command_ping(uint32_t val)
{
    if (trace_event_get_state(TRACE_LOADVM_PROCESS_COMMAND_PING)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 26 "../migration/trace-events"
            qemu_log("loadvm_process_command_ping " "0x%x" "\n", val);
#line 1400 "trace/trace-migration.h"
        }
    }
}

#define TRACE_LOADVM_APPROVE_SWITCHOVER_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_LOADVM_APPROVE_SWITCHOVER) || \
    false)

static inline void trace_loadvm_approve_switchover(unsigned int switchover_ack_pending_num)
{
    if (trace_event_get_state(TRACE_LOADVM_APPROVE_SWITCHOVER)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 27 "../migration/trace-events"
            qemu_log("loadvm_approve_switchover " "Switchover ack pending num=%u" "\n", switchover_ack_pending_num);
#line 1415 "trace/trace-migration.h"
        }
    }
}

#define TRACE_POSTCOPY_RAM_LISTEN_THREAD_EXIT_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_POSTCOPY_RAM_LISTEN_THREAD_EXIT) || \
    false)

static inline void trace_postcopy_ram_listen_thread_exit(void)
{
    if (trace_event_get_state(TRACE_POSTCOPY_RAM_LISTEN_THREAD_EXIT)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 28 "../migration/trace-events"
            qemu_log("postcopy_ram_listen_thread_exit " "" "\n");
#line 1430 "trace/trace-migration.h"
        }
    }
}

#define TRACE_POSTCOPY_RAM_LISTEN_THREAD_START_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_POSTCOPY_RAM_LISTEN_THREAD_START) || \
    false)

static inline void trace_postcopy_ram_listen_thread_start(void)
{
    if (trace_event_get_state(TRACE_POSTCOPY_RAM_LISTEN_THREAD_START)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 29 "../migration/trace-events"
            qemu_log("postcopy_ram_listen_thread_start " "" "\n");
#line 1445 "trace/trace-migration.h"
        }
    }
}

#define TRACE_QEMU_SAVEVM_SEND_POSTCOPY_ADVISE_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_QEMU_SAVEVM_SEND_POSTCOPY_ADVISE) || \
    false)

static inline void trace_qemu_savevm_send_postcopy_advise(void)
{
    if (trace_event_get_state(TRACE_QEMU_SAVEVM_SEND_POSTCOPY_ADVISE)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 30 "../migration/trace-events"
            qemu_log("qemu_savevm_send_postcopy_advise " "" "\n");
#line 1460 "trace/trace-migration.h"
        }
    }
}

#define TRACE_QEMU_SAVEVM_SEND_POSTCOPY_RAM_DISCARD_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_QEMU_SAVEVM_SEND_POSTCOPY_RAM_DISCARD) || \
    false)

static inline void trace_qemu_savevm_send_postcopy_ram_discard(const char *id, uint16_t len)
{
    if (trace_event_get_state(TRACE_QEMU_SAVEVM_SEND_POSTCOPY_RAM_DISCARD)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 31 "../migration/trace-events"
            qemu_log("qemu_savevm_send_postcopy_ram_discard " "%s: %ud" "\n", id, len);
#line 1475 "trace/trace-migration.h"
        }
    }
}

#define TRACE_SAVEVM_COMMAND_SEND_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_SAVEVM_COMMAND_SEND) || \
    false)

static inline void trace_savevm_command_send(uint16_t command, uint16_t len)
{
    if (trace_event_get_state(TRACE_SAVEVM_COMMAND_SEND)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 32 "../migration/trace-events"
            qemu_log("savevm_command_send " "com=0x%x len=%d" "\n", command, len);
#line 1490 "trace/trace-migration.h"
        }
    }
}

#define TRACE_SAVEVM_SECTION_START_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_SAVEVM_SECTION_START) || \
    false)

static inline void trace_savevm_section_start(const char *id, unsigned int section_id)
{
    if (trace_event_get_state(TRACE_SAVEVM_SECTION_START)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 33 "../migration/trace-events"
            qemu_log("savevm_section_start " "%s, section_id %u" "\n", id, section_id);
#line 1505 "trace/trace-migration.h"
        }
    }
}

#define TRACE_SAVEVM_SECTION_END_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_SAVEVM_SECTION_END) || \
    false)

static inline void trace_savevm_section_end(const char *id, unsigned int section_id, int ret)
{
    if (trace_event_get_state(TRACE_SAVEVM_SECTION_END)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 34 "../migration/trace-events"
            qemu_log("savevm_section_end " "%s, section_id %u -> %d" "\n", id, section_id, ret);
#line 1520 "trace/trace-migration.h"
        }
    }
}

#define TRACE_SAVEVM_SECTION_SKIP_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_SAVEVM_SECTION_SKIP) || \
    false)

static inline void trace_savevm_section_skip(const char *id, unsigned int section_id)
{
    if (trace_event_get_state(TRACE_SAVEVM_SECTION_SKIP)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 35 "../migration/trace-events"
            qemu_log("savevm_section_skip " "%s, section_id %u" "\n", id, section_id);
#line 1535 "trace/trace-migration.h"
        }
    }
}

#define TRACE_SAVEVM_SEND_OPEN_RETURN_PATH_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_SAVEVM_SEND_OPEN_RETURN_PATH) || \
    false)

static inline void trace_savevm_send_open_return_path(void)
{
    if (trace_event_get_state(TRACE_SAVEVM_SEND_OPEN_RETURN_PATH)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 36 "../migration/trace-events"
            qemu_log("savevm_send_open_return_path " "" "\n");
#line 1550 "trace/trace-migration.h"
        }
    }
}

#define TRACE_SAVEVM_SEND_PING_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_SAVEVM_SEND_PING) || \
    false)

static inline void trace_savevm_send_ping(uint32_t val)
{
    if (trace_event_get_state(TRACE_SAVEVM_SEND_PING)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 37 "../migration/trace-events"
            qemu_log("savevm_send_ping " "0x%x" "\n", val);
#line 1565 "trace/trace-migration.h"
        }
    }
}

#define TRACE_SAVEVM_SEND_POSTCOPY_LISTEN_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_SAVEVM_SEND_POSTCOPY_LISTEN) || \
    false)

static inline void trace_savevm_send_postcopy_listen(void)
{
    if (trace_event_get_state(TRACE_SAVEVM_SEND_POSTCOPY_LISTEN)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 38 "../migration/trace-events"
            qemu_log("savevm_send_postcopy_listen " "" "\n");
#line 1580 "trace/trace-migration.h"
        }
    }
}

#define TRACE_SAVEVM_SEND_POSTCOPY_RUN_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_SAVEVM_SEND_POSTCOPY_RUN) || \
    false)

static inline void trace_savevm_send_postcopy_run(void)
{
    if (trace_event_get_state(TRACE_SAVEVM_SEND_POSTCOPY_RUN)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 39 "../migration/trace-events"
            qemu_log("savevm_send_postcopy_run " "" "\n");
#line 1595 "trace/trace-migration.h"
        }
    }
}

#define TRACE_SAVEVM_SEND_POSTCOPY_RESUME_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_SAVEVM_SEND_POSTCOPY_RESUME) || \
    false)

static inline void trace_savevm_send_postcopy_resume(void)
{
    if (trace_event_get_state(TRACE_SAVEVM_SEND_POSTCOPY_RESUME)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 40 "../migration/trace-events"
            qemu_log("savevm_send_postcopy_resume " "" "\n");
#line 1610 "trace/trace-migration.h"
        }
    }
}

#define TRACE_SAVEVM_SEND_RECV_BITMAP_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_SAVEVM_SEND_RECV_BITMAP) || \
    false)

static inline void trace_savevm_send_recv_bitmap(char *name)
{
    if (trace_event_get_state(TRACE_SAVEVM_SEND_RECV_BITMAP)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 41 "../migration/trace-events"
            qemu_log("savevm_send_recv_bitmap " "%s" "\n", name);
#line 1625 "trace/trace-migration.h"
        }
    }
}

#define TRACE_SAVEVM_SEND_SWITCHOVER_START_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_SAVEVM_SEND_SWITCHOVER_START) || \
    false)

static inline void trace_savevm_send_switchover_start(void)
{
    if (trace_event_get_state(TRACE_SAVEVM_SEND_SWITCHOVER_START)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 42 "../migration/trace-events"
            qemu_log("savevm_send_switchover_start " "" "\n");
#line 1640 "trace/trace-migration.h"
        }
    }
}

#define TRACE_SAVEVM_STATE_SETUP_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_SAVEVM_STATE_SETUP) || \
    false)

static inline void trace_savevm_state_setup(void)
{
    if (trace_event_get_state(TRACE_SAVEVM_STATE_SETUP)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 43 "../migration/trace-events"
            qemu_log("savevm_state_setup " "" "\n");
#line 1655 "trace/trace-migration.h"
        }
    }
}

#define TRACE_SAVEVM_STATE_RESUME_PREPARE_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_SAVEVM_STATE_RESUME_PREPARE) || \
    false)

static inline void trace_savevm_state_resume_prepare(void)
{
    if (trace_event_get_state(TRACE_SAVEVM_STATE_RESUME_PREPARE)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 44 "../migration/trace-events"
            qemu_log("savevm_state_resume_prepare " "" "\n");
#line 1670 "trace/trace-migration.h"
        }
    }
}

#define TRACE_SAVEVM_STATE_HEADER_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_SAVEVM_STATE_HEADER) || \
    false)

static inline void trace_savevm_state_header(void)
{
    if (trace_event_get_state(TRACE_SAVEVM_STATE_HEADER)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 45 "../migration/trace-events"
            qemu_log("savevm_state_header " "" "\n");
#line 1685 "trace/trace-migration.h"
        }
    }
}

#define TRACE_SAVEVM_STATE_ITERATE_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_SAVEVM_STATE_ITERATE) || \
    false)

static inline void trace_savevm_state_iterate(void)
{
    if (trace_event_get_state(TRACE_SAVEVM_STATE_ITERATE)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 46 "../migration/trace-events"
            qemu_log("savevm_state_iterate " "" "\n");
#line 1700 "trace/trace-migration.h"
        }
    }
}

#define TRACE_SAVEVM_STATE_CLEANUP_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_SAVEVM_STATE_CLEANUP) || \
    false)

static inline void trace_savevm_state_cleanup(void)
{
    if (trace_event_get_state(TRACE_SAVEVM_STATE_CLEANUP)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 47 "../migration/trace-events"
            qemu_log("savevm_state_cleanup " "" "\n");
#line 1715 "trace/trace-migration.h"
        }
    }
}

#define TRACE_VMSTATE_SAVE_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_VMSTATE_SAVE) || \
    false)

static inline void trace_vmstate_save(const char *idstr, const char *vmsd_name)
{
    if (trace_event_get_state(TRACE_VMSTATE_SAVE)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 48 "../migration/trace-events"
            qemu_log("vmstate_save " "%s, %s" "\n", idstr, vmsd_name);
#line 1730 "trace/trace-migration.h"
        }
    }
}

#define TRACE_VMSTATE_LOAD_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_VMSTATE_LOAD) || \
    false)

static inline void trace_vmstate_load(const char *idstr, const char *vmsd_name)
{
    if (trace_event_get_state(TRACE_VMSTATE_LOAD)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 49 "../migration/trace-events"
            qemu_log("vmstate_load " "%s, %s" "\n", idstr, vmsd_name);
#line 1745 "trace/trace-migration.h"
        }
    }
}

#define TRACE_VMSTATE_DOWNTIME_SAVE_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_VMSTATE_DOWNTIME_SAVE) || \
    false)

static inline void trace_vmstate_downtime_save(const char *type, const char *idstr, uint32_t instance_id, int64_t downtime)
{
    if (trace_event_get_state(TRACE_VMSTATE_DOWNTIME_SAVE)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 50 "../migration/trace-events"
            qemu_log("vmstate_downtime_save " "type=%s idstr=%s instance_id=%d downtime=%"PRIi64 "\n", type, idstr, instance_id, downtime);
#line 1760 "trace/trace-migration.h"
        }
    }
}

#define TRACE_VMSTATE_DOWNTIME_LOAD_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_VMSTATE_DOWNTIME_LOAD) || \
    false)

static inline void trace_vmstate_downtime_load(const char *type, const char *idstr, uint32_t instance_id, int64_t downtime)
{
    if (trace_event_get_state(TRACE_VMSTATE_DOWNTIME_LOAD)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 51 "../migration/trace-events"
            qemu_log("vmstate_downtime_load " "type=%s idstr=%s instance_id=%d downtime=%"PRIi64 "\n", type, idstr, instance_id, downtime);
#line 1775 "trace/trace-migration.h"
        }
    }
}

#define TRACE_VMSTATE_DOWNTIME_CHECKPOINT_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_VMSTATE_DOWNTIME_CHECKPOINT) || \
    false)

static inline void trace_vmstate_downtime_checkpoint(const char *checkpoint)
{
    if (trace_event_get_state(TRACE_VMSTATE_DOWNTIME_CHECKPOINT)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 52 "../migration/trace-events"
            qemu_log("vmstate_downtime_checkpoint " "%s" "\n", checkpoint);
#line 1790 "trace/trace-migration.h"
        }
    }
}

#define TRACE_POSTCOPY_PAUSE_INCOMING_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_POSTCOPY_PAUSE_INCOMING) || \
    false)

static inline void trace_postcopy_pause_incoming(void)
{
    if (trace_event_get_state(TRACE_POSTCOPY_PAUSE_INCOMING)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 53 "../migration/trace-events"
            qemu_log("postcopy_pause_incoming " "" "\n");
#line 1805 "trace/trace-migration.h"
        }
    }
}

#define TRACE_POSTCOPY_PAUSE_INCOMING_CONTINUED_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_POSTCOPY_PAUSE_INCOMING_CONTINUED) || \
    false)

static inline void trace_postcopy_pause_incoming_continued(void)
{
    if (trace_event_get_state(TRACE_POSTCOPY_PAUSE_INCOMING_CONTINUED)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 54 "../migration/trace-events"
            qemu_log("postcopy_pause_incoming_continued " "" "\n");
#line 1820 "trace/trace-migration.h"
        }
    }
}

#define TRACE_POSTCOPY_PAGE_REQ_SYNC_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_POSTCOPY_PAGE_REQ_SYNC) || \
    false)

static inline void trace_postcopy_page_req_sync(void *host_addr)
{
    if (trace_event_get_state(TRACE_POSTCOPY_PAGE_REQ_SYNC)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 55 "../migration/trace-events"
            qemu_log("postcopy_page_req_sync " "sync page req %p" "\n", host_addr);
#line 1835 "trace/trace-migration.h"
        }
    }
}

#define TRACE_VMSTATE_LOAD_FIELD_ERROR_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_VMSTATE_LOAD_FIELD_ERROR) || \
    false)

static inline void trace_vmstate_load_field_error(const char *field, int ret)
{
    if (trace_event_get_state(TRACE_VMSTATE_LOAD_FIELD_ERROR)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 58 "../migration/trace-events"
            qemu_log("vmstate_load_field_error " "field \"%s\" load failed, ret = %d" "\n", field, ret);
#line 1850 "trace/trace-migration.h"
        }
    }
}

#define TRACE_VMSTATE_LOAD_STATE_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_VMSTATE_LOAD_STATE) || \
    false)

static inline void trace_vmstate_load_state(const char *name, int version_id)
{
    if (trace_event_get_state(TRACE_VMSTATE_LOAD_STATE)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 59 "../migration/trace-events"
            qemu_log("vmstate_load_state " "%s v%d" "\n", name, version_id);
#line 1865 "trace/trace-migration.h"
        }
    }
}

#define TRACE_VMSTATE_LOAD_STATE_FAIL_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_VMSTATE_LOAD_STATE_FAIL) || \
    false)

static inline void trace_vmstate_load_state_fail(const char *name, const char *reason)
{
    if (trace_event_get_state(TRACE_VMSTATE_LOAD_STATE_FAIL)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 60 "../migration/trace-events"
            qemu_log("vmstate_load_state_fail " "%s %s" "\n", name, reason);
#line 1880 "trace/trace-migration.h"
        }
    }
}

#define TRACE_VMSTATE_LOAD_STATE_SUCCESS_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_VMSTATE_LOAD_STATE_SUCCESS) || \
    false)

static inline void trace_vmstate_load_state_success(const char *name)
{
    if (trace_event_get_state(TRACE_VMSTATE_LOAD_STATE_SUCCESS)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 61 "../migration/trace-events"
            qemu_log("vmstate_load_state_success " "%s" "\n", name);
#line 1895 "trace/trace-migration.h"
        }
    }
}

#define TRACE_VMSTATE_LOAD_STATE_FIELD_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_VMSTATE_LOAD_STATE_FIELD) || \
    false)

static inline void trace_vmstate_load_state_field(const char *name, const char *field, bool exists)
{
    if (trace_event_get_state(TRACE_VMSTATE_LOAD_STATE_FIELD)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 62 "../migration/trace-events"
            qemu_log("vmstate_load_state_field " "%s:%s exists=%d" "\n", name, field, exists);
#line 1910 "trace/trace-migration.h"
        }
    }
}

#define TRACE_VMSTATE_N_ELEMS_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_VMSTATE_N_ELEMS) || \
    false)

static inline void trace_vmstate_n_elems(const char *name, int n_elems)
{
    if (trace_event_get_state(TRACE_VMSTATE_N_ELEMS)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 63 "../migration/trace-events"
            qemu_log("vmstate_n_elems " "%s: %d" "\n", name, n_elems);
#line 1925 "trace/trace-migration.h"
        }
    }
}

#define TRACE_VMSTATE_SUBSECTION_LOAD_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_VMSTATE_SUBSECTION_LOAD) || \
    false)

static inline void trace_vmstate_subsection_load(const char *parent)
{
    if (trace_event_get_state(TRACE_VMSTATE_SUBSECTION_LOAD)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 64 "../migration/trace-events"
            qemu_log("vmstate_subsection_load " "%s" "\n", parent);
#line 1940 "trace/trace-migration.h"
        }
    }
}

#define TRACE_VMSTATE_SUBSECTION_LOAD_BAD_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_VMSTATE_SUBSECTION_LOAD_BAD) || \
    false)

static inline void trace_vmstate_subsection_load_bad(const char *parent, const char *sub, const char *sub2)
{
    if (trace_event_get_state(TRACE_VMSTATE_SUBSECTION_LOAD_BAD)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 65 "../migration/trace-events"
            qemu_log("vmstate_subsection_load_bad " "%s: %s/%s" "\n", parent, sub, sub2);
#line 1955 "trace/trace-migration.h"
        }
    }
}

#define TRACE_VMSTATE_SUBSECTION_LOAD_GOOD_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_VMSTATE_SUBSECTION_LOAD_GOOD) || \
    false)

static inline void trace_vmstate_subsection_load_good(const char *parent)
{
    if (trace_event_get_state(TRACE_VMSTATE_SUBSECTION_LOAD_GOOD)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 66 "../migration/trace-events"
            qemu_log("vmstate_subsection_load_good " "%s" "\n", parent);
#line 1970 "trace/trace-migration.h"
        }
    }
}

#define TRACE_VMSTATE_SAVE_STATE_PRE_SAVE_FAIL_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_VMSTATE_SAVE_STATE_PRE_SAVE_FAIL) || \
    false)

static inline void trace_vmstate_save_state_pre_save_fail(const char *name)
{
    if (trace_event_get_state(TRACE_VMSTATE_SAVE_STATE_PRE_SAVE_FAIL)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 67 "../migration/trace-events"
            qemu_log("vmstate_save_state_pre_save_fail " "%s" "\n", name);
#line 1985 "trace/trace-migration.h"
        }
    }
}

#define TRACE_VMSTATE_SAVE_STATE_PRE_SAVE_SUCCESS_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_VMSTATE_SAVE_STATE_PRE_SAVE_SUCCESS) || \
    false)

static inline void trace_vmstate_save_state_pre_save_success(const char *name)
{
    if (trace_event_get_state(TRACE_VMSTATE_SAVE_STATE_PRE_SAVE_SUCCESS)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 68 "../migration/trace-events"
            qemu_log("vmstate_save_state_pre_save_success " "%s" "\n", name);
#line 2000 "trace/trace-migration.h"
        }
    }
}

#define TRACE_VMSTATE_SAVE_STATE_LOOP_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_VMSTATE_SAVE_STATE_LOOP) || \
    false)

static inline void trace_vmstate_save_state_loop(const char *name, const char *field, int n_elems)
{
    if (trace_event_get_state(TRACE_VMSTATE_SAVE_STATE_LOOP)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 69 "../migration/trace-events"
            qemu_log("vmstate_save_state_loop " "%s/%s[%d]" "\n", name, field, n_elems);
#line 2015 "trace/trace-migration.h"
        }
    }
}

#define TRACE_VMSTATE_SAVE_STATE_TOP_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_VMSTATE_SAVE_STATE_TOP) || \
    false)

static inline void trace_vmstate_save_state_top(const char *idstr)
{
    if (trace_event_get_state(TRACE_VMSTATE_SAVE_STATE_TOP)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 70 "../migration/trace-events"
            qemu_log("vmstate_save_state_top " "%s" "\n", idstr);
#line 2030 "trace/trace-migration.h"
        }
    }
}

#define TRACE_VMSTATE_SUBSECTION_SAVE_LOOP_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_VMSTATE_SUBSECTION_SAVE_LOOP) || \
    false)

static inline void trace_vmstate_subsection_save_loop(const char *name, const char *sub)
{
    if (trace_event_get_state(TRACE_VMSTATE_SUBSECTION_SAVE_LOOP)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 71 "../migration/trace-events"
            qemu_log("vmstate_subsection_save_loop " "%s/%s" "\n", name, sub);
#line 2045 "trace/trace-migration.h"
        }
    }
}

#define TRACE_VMSTATE_SUBSECTION_SAVE_TOP_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_VMSTATE_SUBSECTION_SAVE_TOP) || \
    false)

static inline void trace_vmstate_subsection_save_top(const char *idstr)
{
    if (trace_event_get_state(TRACE_VMSTATE_SUBSECTION_SAVE_TOP)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 72 "../migration/trace-events"
            qemu_log("vmstate_subsection_save_top " "%s" "\n", idstr);
#line 2060 "trace/trace-migration.h"
        }
    }
}

#define TRACE_VMSTATE_FIELD_EXISTS_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_VMSTATE_FIELD_EXISTS) || \
    false)

static inline void trace_vmstate_field_exists(const char *vmsd, const char *name, int field_version, int version, int result)
{
    if (trace_event_get_state(TRACE_VMSTATE_FIELD_EXISTS)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 73 "../migration/trace-events"
            qemu_log("vmstate_field_exists " "%s:%s field_version %d version %d result %d" "\n", vmsd, name, field_version, version, result);
#line 2075 "trace/trace-migration.h"
        }
    }
}

#define TRACE_LOAD_QTAILQ_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_LOAD_QTAILQ) || \
    false)

static inline void trace_load_qtailq(const char *name, int version_id)
{
    if (trace_event_get_state(TRACE_LOAD_QTAILQ)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 76 "../migration/trace-events"
            qemu_log("load_qtailq " "%s v%d" "\n", name, version_id);
#line 2090 "trace/trace-migration.h"
        }
    }
}

#define TRACE_LOAD_QTAILQ_END_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_LOAD_QTAILQ_END) || \
    false)

static inline void trace_load_qtailq_end(const char *name)
{
    if (trace_event_get_state(TRACE_LOAD_QTAILQ_END)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 77 "../migration/trace-events"
            qemu_log("load_qtailq_end " "%s" "\n", name);
#line 2105 "trace/trace-migration.h"
        }
    }
}

#define TRACE_SAVE_QTAILQ_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_SAVE_QTAILQ) || \
    false)

static inline void trace_save_qtailq(const char *name, int version_id)
{
    if (trace_event_get_state(TRACE_SAVE_QTAILQ)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 78 "../migration/trace-events"
            qemu_log("save_qtailq " "%s v%d" "\n", name, version_id);
#line 2120 "trace/trace-migration.h"
        }
    }
}

#define TRACE_SAVE_QTAILQ_END_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_SAVE_QTAILQ_END) || \
    false)

static inline void trace_save_qtailq_end(const char *name)
{
    if (trace_event_get_state(TRACE_SAVE_QTAILQ_END)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 79 "../migration/trace-events"
            qemu_log("save_qtailq_end " "%s" "\n", name);
#line 2135 "trace/trace-migration.h"
        }
    }
}

#define TRACE_LOAD_GTREE_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_LOAD_GTREE) || \
    false)

static inline void trace_load_gtree(const char *field_name, const char *key_vmsd_name, const char *val_vmsd_name, uint32_t nnodes)
{
    if (trace_event_get_state(TRACE_LOAD_GTREE)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 81 "../migration/trace-events"
            qemu_log("load_gtree " "%s(%s/%s) nnodes=%d" "\n", field_name, key_vmsd_name, val_vmsd_name, nnodes);
#line 2150 "trace/trace-migration.h"
        }
    }
}

#define TRACE_LOAD_GTREE_END_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_LOAD_GTREE_END) || \
    false)

static inline void trace_load_gtree_end(const char *field_name, const char *key_vmsd_name, const char *val_vmsd_name)
{
    if (trace_event_get_state(TRACE_LOAD_GTREE_END)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 82 "../migration/trace-events"
            qemu_log("load_gtree_end " "%s(%s/%s)" "\n", field_name, key_vmsd_name, val_vmsd_name);
#line 2165 "trace/trace-migration.h"
        }
    }
}

#define TRACE_SAVE_GTREE_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_SAVE_GTREE) || \
    false)

static inline void trace_save_gtree(const char *field_name, const char *key_vmsd_name, const char *val_vmsd_name, uint32_t nnodes)
{
    if (trace_event_get_state(TRACE_SAVE_GTREE)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 83 "../migration/trace-events"
            qemu_log("save_gtree " "%s(%s/%s) nnodes=%d" "\n", field_name, key_vmsd_name, val_vmsd_name, nnodes);
#line 2180 "trace/trace-migration.h"
        }
    }
}

#define TRACE_SAVE_GTREE_END_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_SAVE_GTREE_END) || \
    false)

static inline void trace_save_gtree_end(const char *field_name, const char *key_vmsd_name, const char *val_vmsd_name)
{
    if (trace_event_get_state(TRACE_SAVE_GTREE_END)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 84 "../migration/trace-events"
            qemu_log("save_gtree_end " "%s(%s/%s)" "\n", field_name, key_vmsd_name, val_vmsd_name);
#line 2195 "trace/trace-migration.h"
        }
    }
}

#define TRACE_LOAD_QLIST_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_LOAD_QLIST) || \
    false)

static inline void trace_load_qlist(const char *field_name, const char *vmsd_name, int version_id)
{
    if (trace_event_get_state(TRACE_LOAD_QLIST)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 86 "../migration/trace-events"
            qemu_log("load_qlist " "%s(%s v%d)" "\n", field_name, vmsd_name, version_id);
#line 2210 "trace/trace-migration.h"
        }
    }
}

#define TRACE_LOAD_QLIST_END_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_LOAD_QLIST_END) || \
    false)

static inline void trace_load_qlist_end(const char *field_name, const char *vmsd_name)
{
    if (trace_event_get_state(TRACE_LOAD_QLIST_END)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 87 "../migration/trace-events"
            qemu_log("load_qlist_end " "%s(%s)" "\n", field_name, vmsd_name);
#line 2225 "trace/trace-migration.h"
        }
    }
}

#define TRACE_SAVE_QLIST_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_SAVE_QLIST) || \
    false)

static inline void trace_save_qlist(const char *field_name, const char *vmsd_name, int version_id)
{
    if (trace_event_get_state(TRACE_SAVE_QLIST)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 88 "../migration/trace-events"
            qemu_log("save_qlist " "%s(%s v%d)" "\n", field_name, vmsd_name, version_id);
#line 2240 "trace/trace-migration.h"
        }
    }
}

#define TRACE_SAVE_QLIST_END_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_SAVE_QLIST_END) || \
    false)

static inline void trace_save_qlist_end(const char *field_name, const char *vmsd_name)
{
    if (trace_event_get_state(TRACE_SAVE_QLIST_END)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 89 "../migration/trace-events"
            qemu_log("save_qlist_end " "%s(%s)" "\n", field_name, vmsd_name);
#line 2255 "trace/trace-migration.h"
        }
    }
}

#define TRACE_QEMU_FILE_FCLOSE_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_QEMU_FILE_FCLOSE) || \
    false)

static inline void trace_qemu_file_fclose(void)
{
    if (trace_event_get_state(TRACE_QEMU_FILE_FCLOSE)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 92 "../migration/trace-events"
            qemu_log("qemu_file_fclose " "" "\n");
#line 2270 "trace/trace-migration.h"
        }
    }
}

#define TRACE_QEMU_FILE_PUT_FD_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_QEMU_FILE_PUT_FD) || \
    false)

static inline void trace_qemu_file_put_fd(const char *name, int fd, int ret)
{
    if (trace_event_get_state(TRACE_QEMU_FILE_PUT_FD)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 93 "../migration/trace-events"
            qemu_log("qemu_file_put_fd " "ioc %s, fd %d -> status %d" "\n", name, fd, ret);
#line 2285 "trace/trace-migration.h"
        }
    }
}

#define TRACE_QEMU_FILE_GET_FD_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_QEMU_FILE_GET_FD) || \
    false)

static inline void trace_qemu_file_get_fd(const char *name, int fd)
{
    if (trace_event_get_state(TRACE_QEMU_FILE_GET_FD)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 94 "../migration/trace-events"
            qemu_log("qemu_file_get_fd " "ioc %s -> fd %d" "\n", name, fd);
#line 2300 "trace/trace-migration.h"
        }
    }
}

#define TRACE_GET_QUEUED_PAGE_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_GET_QUEUED_PAGE) || \
    false)

static inline void trace_get_queued_page(const char *block_name, uint64_t tmp_offset, unsigned long page_abs)
{
    if (trace_event_get_state(TRACE_GET_QUEUED_PAGE)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 97 "../migration/trace-events"
            qemu_log("get_queued_page " "%s/0x%" PRIx64 " page_abs=0x%lx" "\n", block_name, tmp_offset, page_abs);
#line 2315 "trace/trace-migration.h"
        }
    }
}

#define TRACE_GET_QUEUED_PAGE_NOT_DIRTY_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_GET_QUEUED_PAGE_NOT_DIRTY) || \
    false)

static inline void trace_get_queued_page_not_dirty(const char *block_name, uint64_t tmp_offset, unsigned long page_abs)
{
    if (trace_event_get_state(TRACE_GET_QUEUED_PAGE_NOT_DIRTY)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 98 "../migration/trace-events"
            qemu_log("get_queued_page_not_dirty " "%s/0x%" PRIx64 " page_abs=0x%lx" "\n", block_name, tmp_offset, page_abs);
#line 2330 "trace/trace-migration.h"
        }
    }
}

#define TRACE_MIGRATION_BITMAP_SYNC_START_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_MIGRATION_BITMAP_SYNC_START) || \
    false)

static inline void trace_migration_bitmap_sync_start(void)
{
    if (trace_event_get_state(TRACE_MIGRATION_BITMAP_SYNC_START)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 99 "../migration/trace-events"
            qemu_log("migration_bitmap_sync_start " "" "\n");
#line 2345 "trace/trace-migration.h"
        }
    }
}

#define TRACE_MIGRATION_BITMAP_SYNC_END_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_MIGRATION_BITMAP_SYNC_END) || \
    false)

static inline void trace_migration_bitmap_sync_end(uint64_t dirty_pages)
{
    if (trace_event_get_state(TRACE_MIGRATION_BITMAP_SYNC_END)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 100 "../migration/trace-events"
            qemu_log("migration_bitmap_sync_end " "dirty_pages %" PRIu64 "\n", dirty_pages);
#line 2360 "trace/trace-migration.h"
        }
    }
}

#define TRACE_MIGRATION_BITMAP_CLEAR_DIRTY_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_MIGRATION_BITMAP_CLEAR_DIRTY) || \
    false)

static inline void trace_migration_bitmap_clear_dirty(char *str, uint64_t start, uint64_t size, unsigned long page)
{
    if (trace_event_get_state(TRACE_MIGRATION_BITMAP_CLEAR_DIRTY)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 101 "../migration/trace-events"
            qemu_log("migration_bitmap_clear_dirty " "rb %s start 0x%"PRIx64" size 0x%"PRIx64" page 0x%lx" "\n", str, start, size, page);
#line 2375 "trace/trace-migration.h"
        }
    }
}

#define TRACE_MIGRATION_THROTTLE_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_MIGRATION_THROTTLE) || \
    false)

static inline void trace_migration_throttle(void)
{
    if (trace_event_get_state(TRACE_MIGRATION_THROTTLE)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 102 "../migration/trace-events"
            qemu_log("migration_throttle " "" "\n");
#line 2390 "trace/trace-migration.h"
        }
    }
}

#define TRACE_MIGRATION_DIRTY_LIMIT_GUEST_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_MIGRATION_DIRTY_LIMIT_GUEST) || \
    false)

static inline void trace_migration_dirty_limit_guest(int64_t dirtyrate)
{
    if (trace_event_get_state(TRACE_MIGRATION_DIRTY_LIMIT_GUEST)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 103 "../migration/trace-events"
            qemu_log("migration_dirty_limit_guest " "guest dirty page rate limit %" PRIi64 " MB/s" "\n", dirtyrate);
#line 2405 "trace/trace-migration.h"
        }
    }
}

#define TRACE_RAM_DISCARD_RANGE_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_RAM_DISCARD_RANGE) || \
    false)

static inline void trace_ram_discard_range(const char *rbname, uint64_t start, size_t len)
{
    if (trace_event_get_state(TRACE_RAM_DISCARD_RANGE)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 104 "../migration/trace-events"
            qemu_log("ram_discard_range " "%s: start: %" PRIx64 " %zx" "\n", rbname, start, len);
#line 2420 "trace/trace-migration.h"
        }
    }
}

#define TRACE_RAM_LOAD_LOOP_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_RAM_LOAD_LOOP) || \
    false)

static inline void trace_ram_load_loop(const char *rbname, uint64_t addr, int flags, void *host)
{
    if (trace_event_get_state(TRACE_RAM_LOAD_LOOP)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 105 "../migration/trace-events"
            qemu_log("ram_load_loop " "%s: addr: 0x%" PRIx64 " flags: 0x%x host: %p" "\n", rbname, addr, flags, host);
#line 2435 "trace/trace-migration.h"
        }
    }
}

#define TRACE_RAM_LOAD_POSTCOPY_LOOP_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_RAM_LOAD_POSTCOPY_LOOP) || \
    false)

static inline void trace_ram_load_postcopy_loop(int channel, uint64_t addr, int flags)
{
    if (trace_event_get_state(TRACE_RAM_LOAD_POSTCOPY_LOOP)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 106 "../migration/trace-events"
            qemu_log("ram_load_postcopy_loop " "chan=%d addr=0x%" PRIx64 " flags=0x%x" "\n", channel, addr, flags);
#line 2450 "trace/trace-migration.h"
        }
    }
}

#define TRACE_RAM_POSTCOPY_SEND_DISCARD_BITMAP_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_RAM_POSTCOPY_SEND_DISCARD_BITMAP) || \
    false)

static inline void trace_ram_postcopy_send_discard_bitmap(void)
{
    if (trace_event_get_state(TRACE_RAM_POSTCOPY_SEND_DISCARD_BITMAP)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 107 "../migration/trace-events"
            qemu_log("ram_postcopy_send_discard_bitmap " "" "\n");
#line 2465 "trace/trace-migration.h"
        }
    }
}

#define TRACE_RAM_SAVE_PAGE_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_RAM_SAVE_PAGE) || \
    false)

static inline void trace_ram_save_page(const char *rbname, uint64_t offset, void *host)
{
    if (trace_event_get_state(TRACE_RAM_SAVE_PAGE)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 108 "../migration/trace-events"
            qemu_log("ram_save_page " "%s: offset: 0x%" PRIx64 " host: %p" "\n", rbname, offset, host);
#line 2480 "trace/trace-migration.h"
        }
    }
}

#define TRACE_RAM_SAVE_QUEUE_PAGES_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_RAM_SAVE_QUEUE_PAGES) || \
    false)

static inline void trace_ram_save_queue_pages(const char *rbname, size_t start, size_t len)
{
    if (trace_event_get_state(TRACE_RAM_SAVE_QUEUE_PAGES)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 109 "../migration/trace-events"
            qemu_log("ram_save_queue_pages " "%s: start: 0x%zx len: 0x%zx" "\n", rbname, start, len);
#line 2495 "trace/trace-migration.h"
        }
    }
}

#define TRACE_RAM_SAVE_COMPLETE_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_RAM_SAVE_COMPLETE) || \
    false)

static inline void trace_ram_save_complete(uint64_t dirty_pages, int done)
{
    if (trace_event_get_state(TRACE_RAM_SAVE_COMPLETE)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 110 "../migration/trace-events"
            qemu_log("ram_save_complete " "dirty=%" PRIu64 ", done=%d" "\n", dirty_pages, done);
#line 2510 "trace/trace-migration.h"
        }
    }
}

#define TRACE_RAM_DIRTY_BITMAP_REQUEST_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_RAM_DIRTY_BITMAP_REQUEST) || \
    false)

static inline void trace_ram_dirty_bitmap_request(char *str)
{
    if (trace_event_get_state(TRACE_RAM_DIRTY_BITMAP_REQUEST)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 111 "../migration/trace-events"
            qemu_log("ram_dirty_bitmap_request " "%s" "\n", str);
#line 2525 "trace/trace-migration.h"
        }
    }
}

#define TRACE_RAM_DIRTY_BITMAP_RELOAD_BEGIN_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_RAM_DIRTY_BITMAP_RELOAD_BEGIN) || \
    false)

static inline void trace_ram_dirty_bitmap_reload_begin(char *str)
{
    if (trace_event_get_state(TRACE_RAM_DIRTY_BITMAP_RELOAD_BEGIN)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 112 "../migration/trace-events"
            qemu_log("ram_dirty_bitmap_reload_begin " "%s" "\n", str);
#line 2540 "trace/trace-migration.h"
        }
    }
}

#define TRACE_RAM_DIRTY_BITMAP_RELOAD_COMPLETE_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_RAM_DIRTY_BITMAP_RELOAD_COMPLETE) || \
    false)

static inline void trace_ram_dirty_bitmap_reload_complete(char *str)
{
    if (trace_event_get_state(TRACE_RAM_DIRTY_BITMAP_RELOAD_COMPLETE)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 113 "../migration/trace-events"
            qemu_log("ram_dirty_bitmap_reload_complete " "%s" "\n", str);
#line 2555 "trace/trace-migration.h"
        }
    }
}

#define TRACE_RAM_DIRTY_BITMAP_SYNC_START_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_RAM_DIRTY_BITMAP_SYNC_START) || \
    false)

static inline void trace_ram_dirty_bitmap_sync_start(void)
{
    if (trace_event_get_state(TRACE_RAM_DIRTY_BITMAP_SYNC_START)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 114 "../migration/trace-events"
            qemu_log("ram_dirty_bitmap_sync_start " "" "\n");
#line 2570 "trace/trace-migration.h"
        }
    }
}

#define TRACE_RAM_DIRTY_BITMAP_SYNC_WAIT_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_RAM_DIRTY_BITMAP_SYNC_WAIT) || \
    false)

static inline void trace_ram_dirty_bitmap_sync_wait(void)
{
    if (trace_event_get_state(TRACE_RAM_DIRTY_BITMAP_SYNC_WAIT)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 115 "../migration/trace-events"
            qemu_log("ram_dirty_bitmap_sync_wait " "" "\n");
#line 2585 "trace/trace-migration.h"
        }
    }
}

#define TRACE_RAM_DIRTY_BITMAP_SYNC_COMPLETE_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_RAM_DIRTY_BITMAP_SYNC_COMPLETE) || \
    false)

static inline void trace_ram_dirty_bitmap_sync_complete(void)
{
    if (trace_event_get_state(TRACE_RAM_DIRTY_BITMAP_SYNC_COMPLETE)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 116 "../migration/trace-events"
            qemu_log("ram_dirty_bitmap_sync_complete " "" "\n");
#line 2600 "trace/trace-migration.h"
        }
    }
}

#define TRACE_RAM_STATE_RESUME_PREPARE_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_RAM_STATE_RESUME_PREPARE) || \
    false)

static inline void trace_ram_state_resume_prepare(uint64_t v)
{
    if (trace_event_get_state(TRACE_RAM_STATE_RESUME_PREPARE)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 117 "../migration/trace-events"
            qemu_log("ram_state_resume_prepare " "%" PRId64 "\n", v);
#line 2615 "trace/trace-migration.h"
        }
    }
}

#define TRACE_COLO_FLUSH_RAM_CACHE_BEGIN_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_COLO_FLUSH_RAM_CACHE_BEGIN) || \
    false)

static inline void trace_colo_flush_ram_cache_begin(uint64_t dirty_pages)
{
    if (trace_event_get_state(TRACE_COLO_FLUSH_RAM_CACHE_BEGIN)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 118 "../migration/trace-events"
            qemu_log("colo_flush_ram_cache_begin " "dirty_pages %" PRIu64 "\n", dirty_pages);
#line 2630 "trace/trace-migration.h"
        }
    }
}

#define TRACE_COLO_FLUSH_RAM_CACHE_END_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_COLO_FLUSH_RAM_CACHE_END) || \
    false)

static inline void trace_colo_flush_ram_cache_end(void)
{
    if (trace_event_get_state(TRACE_COLO_FLUSH_RAM_CACHE_END)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 119 "../migration/trace-events"
            qemu_log("colo_flush_ram_cache_end " "" "\n");
#line 2645 "trace/trace-migration.h"
        }
    }
}

#define TRACE_SAVE_XBZRLE_PAGE_SKIPPING_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_SAVE_XBZRLE_PAGE_SKIPPING) || \
    false)

static inline void trace_save_xbzrle_page_skipping(void)
{
    if (trace_event_get_state(TRACE_SAVE_XBZRLE_PAGE_SKIPPING)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 120 "../migration/trace-events"
            qemu_log("save_xbzrle_page_skipping " "" "\n");
#line 2660 "trace/trace-migration.h"
        }
    }
}

#define TRACE_SAVE_XBZRLE_PAGE_OVERFLOW_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_SAVE_XBZRLE_PAGE_OVERFLOW) || \
    false)

static inline void trace_save_xbzrle_page_overflow(void)
{
    if (trace_event_get_state(TRACE_SAVE_XBZRLE_PAGE_OVERFLOW)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 121 "../migration/trace-events"
            qemu_log("save_xbzrle_page_overflow " "" "\n");
#line 2675 "trace/trace-migration.h"
        }
    }
}

#define TRACE_RAM_SAVE_ITERATE_BIG_WAIT_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_RAM_SAVE_ITERATE_BIG_WAIT) || \
    false)

static inline void trace_ram_save_iterate_big_wait(uint64_t milliconds, int iterations)
{
    if (trace_event_get_state(TRACE_RAM_SAVE_ITERATE_BIG_WAIT)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 122 "../migration/trace-events"
            qemu_log("ram_save_iterate_big_wait " "big wait: %" PRIu64 " milliseconds, %d iterations" "\n", milliconds, iterations);
#line 2690 "trace/trace-migration.h"
        }
    }
}

#define TRACE_RAM_LOAD_START_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_RAM_LOAD_START) || \
    false)

static inline void trace_ram_load_start(void)
{
    if (trace_event_get_state(TRACE_RAM_LOAD_START)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 123 "../migration/trace-events"
            qemu_log("ram_load_start " "" "\n");
#line 2705 "trace/trace-migration.h"
        }
    }
}

#define TRACE_RAM_LOAD_COMPLETE_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_RAM_LOAD_COMPLETE) || \
    false)

static inline void trace_ram_load_complete(int ret, uint64_t seq_iter)
{
    if (trace_event_get_state(TRACE_RAM_LOAD_COMPLETE)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 124 "../migration/trace-events"
            qemu_log("ram_load_complete " "exit_code %d seq iteration %" PRIu64 "\n", ret, seq_iter);
#line 2720 "trace/trace-migration.h"
        }
    }
}

#define TRACE_RAM_WRITE_TRACKING_RAMBLOCK_START_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_RAM_WRITE_TRACKING_RAMBLOCK_START) || \
    false)

static inline void trace_ram_write_tracking_ramblock_start(const char *block_id, size_t page_size, void *addr, size_t length)
{
    if (trace_event_get_state(TRACE_RAM_WRITE_TRACKING_RAMBLOCK_START)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 125 "../migration/trace-events"
            qemu_log("ram_write_tracking_ramblock_start " "%s: page_size: %zu addr: %p length: %zu" "\n", block_id, page_size, addr, length);
#line 2735 "trace/trace-migration.h"
        }
    }
}

#define TRACE_RAM_WRITE_TRACKING_RAMBLOCK_STOP_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_RAM_WRITE_TRACKING_RAMBLOCK_STOP) || \
    false)

static inline void trace_ram_write_tracking_ramblock_stop(const char *block_id, size_t page_size, void *addr, size_t length)
{
    if (trace_event_get_state(TRACE_RAM_WRITE_TRACKING_RAMBLOCK_STOP)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 126 "../migration/trace-events"
            qemu_log("ram_write_tracking_ramblock_stop " "%s: page_size: %zu addr: %p length: %zu" "\n", block_id, page_size, addr, length);
#line 2750 "trace/trace-migration.h"
        }
    }
}

#define TRACE_POSTCOPY_PREEMPT_TRIGGERED_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_POSTCOPY_PREEMPT_TRIGGERED) || \
    false)

static inline void trace_postcopy_preempt_triggered(char *str, unsigned long page)
{
    if (trace_event_get_state(TRACE_POSTCOPY_PREEMPT_TRIGGERED)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 127 "../migration/trace-events"
            qemu_log("postcopy_preempt_triggered " "during sending ramblock %s offset 0x%lx" "\n", str, page);
#line 2765 "trace/trace-migration.h"
        }
    }
}

#define TRACE_POSTCOPY_PREEMPT_RESTORED_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_POSTCOPY_PREEMPT_RESTORED) || \
    false)

static inline void trace_postcopy_preempt_restored(char *str, unsigned long page)
{
    if (trace_event_get_state(TRACE_POSTCOPY_PREEMPT_RESTORED)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 128 "../migration/trace-events"
            qemu_log("postcopy_preempt_restored " "ramblock %s offset 0x%lx" "\n", str, page);
#line 2780 "trace/trace-migration.h"
        }
    }
}

#define TRACE_POSTCOPY_PREEMPT_HIT_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_POSTCOPY_PREEMPT_HIT) || \
    false)

static inline void trace_postcopy_preempt_hit(char *str, uint64_t offset)
{
    if (trace_event_get_state(TRACE_POSTCOPY_PREEMPT_HIT)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 129 "../migration/trace-events"
            qemu_log("postcopy_preempt_hit " "ramblock %s offset 0x%"PRIx64 "\n", str, offset);
#line 2795 "trace/trace-migration.h"
        }
    }
}

#define TRACE_POSTCOPY_PREEMPT_SEND_HOST_PAGE_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_POSTCOPY_PREEMPT_SEND_HOST_PAGE) || \
    false)

static inline void trace_postcopy_preempt_send_host_page(char *str, uint64_t offset)
{
    if (trace_event_get_state(TRACE_POSTCOPY_PREEMPT_SEND_HOST_PAGE)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 130 "../migration/trace-events"
            qemu_log("postcopy_preempt_send_host_page " "ramblock %s offset 0x%"PRIx64 "\n", str, offset);
#line 2810 "trace/trace-migration.h"
        }
    }
}

#define TRACE_POSTCOPY_PREEMPT_SWITCH_CHANNEL_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_POSTCOPY_PREEMPT_SWITCH_CHANNEL) || \
    false)

static inline void trace_postcopy_preempt_switch_channel(int channel)
{
    if (trace_event_get_state(TRACE_POSTCOPY_PREEMPT_SWITCH_CHANNEL)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 131 "../migration/trace-events"
            qemu_log("postcopy_preempt_switch_channel " "%d" "\n", channel);
#line 2825 "trace/trace-migration.h"
        }
    }
}

#define TRACE_POSTCOPY_PREEMPT_RESET_CHANNEL_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_POSTCOPY_PREEMPT_RESET_CHANNEL) || \
    false)

static inline void trace_postcopy_preempt_reset_channel(void)
{
    if (trace_event_get_state(TRACE_POSTCOPY_PREEMPT_RESET_CHANNEL)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 132 "../migration/trace-events"
            qemu_log("postcopy_preempt_reset_channel " "" "\n");
#line 2840 "trace/trace-migration.h"
        }
    }
}

#define TRACE_MULTIFD_NEW_SEND_CHANNEL_ASYNC_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_MULTIFD_NEW_SEND_CHANNEL_ASYNC) || \
    false)

static inline void trace_multifd_new_send_channel_async(uint8_t id)
{
    if (trace_event_get_state(TRACE_MULTIFD_NEW_SEND_CHANNEL_ASYNC)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 135 "../migration/trace-events"
            qemu_log("multifd_new_send_channel_async " "channel %u" "\n", id);
#line 2855 "trace/trace-migration.h"
        }
    }
}

#define TRACE_MULTIFD_NEW_SEND_CHANNEL_ASYNC_ERROR_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_MULTIFD_NEW_SEND_CHANNEL_ASYNC_ERROR) || \
    false)

static inline void trace_multifd_new_send_channel_async_error(uint8_t id, void *err)
{
    if (trace_event_get_state(TRACE_MULTIFD_NEW_SEND_CHANNEL_ASYNC_ERROR)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 136 "../migration/trace-events"
            qemu_log("multifd_new_send_channel_async_error " "channel=%u err=%p" "\n", id, err);
#line 2870 "trace/trace-migration.h"
        }
    }
}

#define TRACE_MULTIFD_RECV_UNFILL_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_MULTIFD_RECV_UNFILL) || \
    false)

static inline void trace_multifd_recv_unfill(uint8_t id, uint64_t packet_num, uint32_t flags, uint32_t next_packet_size)
{
    if (trace_event_get_state(TRACE_MULTIFD_RECV_UNFILL)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 137 "../migration/trace-events"
            qemu_log("multifd_recv_unfill " "channel %u packet_num %" PRIu64 " flags 0x%x next packet size %u" "\n", id, packet_num, flags, next_packet_size);
#line 2885 "trace/trace-migration.h"
        }
    }
}

#define TRACE_MULTIFD_RECV_NEW_CHANNEL_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_MULTIFD_RECV_NEW_CHANNEL) || \
    false)

static inline void trace_multifd_recv_new_channel(uint8_t id)
{
    if (trace_event_get_state(TRACE_MULTIFD_RECV_NEW_CHANNEL)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 138 "../migration/trace-events"
            qemu_log("multifd_recv_new_channel " "channel %u" "\n", id);
#line 2900 "trace/trace-migration.h"
        }
    }
}

#define TRACE_MULTIFD_RECV_SYNC_MAIN_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_MULTIFD_RECV_SYNC_MAIN) || \
    false)

static inline void trace_multifd_recv_sync_main(long packet_num)
{
    if (trace_event_get_state(TRACE_MULTIFD_RECV_SYNC_MAIN)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 139 "../migration/trace-events"
            qemu_log("multifd_recv_sync_main " "packet num %ld" "\n", packet_num);
#line 2915 "trace/trace-migration.h"
        }
    }
}

#define TRACE_MULTIFD_RECV_SYNC_MAIN_SIGNAL_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_MULTIFD_RECV_SYNC_MAIN_SIGNAL) || \
    false)

static inline void trace_multifd_recv_sync_main_signal(uint8_t id)
{
    if (trace_event_get_state(TRACE_MULTIFD_RECV_SYNC_MAIN_SIGNAL)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 140 "../migration/trace-events"
            qemu_log("multifd_recv_sync_main_signal " "channel %u" "\n", id);
#line 2930 "trace/trace-migration.h"
        }
    }
}

#define TRACE_MULTIFD_RECV_SYNC_MAIN_WAIT_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_MULTIFD_RECV_SYNC_MAIN_WAIT) || \
    false)

static inline void trace_multifd_recv_sync_main_wait(uint8_t id)
{
    if (trace_event_get_state(TRACE_MULTIFD_RECV_SYNC_MAIN_WAIT)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 141 "../migration/trace-events"
            qemu_log("multifd_recv_sync_main_wait " "iter %u" "\n", id);
#line 2945 "trace/trace-migration.h"
        }
    }
}

#define TRACE_MULTIFD_RECV_TERMINATE_THREADS_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_MULTIFD_RECV_TERMINATE_THREADS) || \
    false)

static inline void trace_multifd_recv_terminate_threads(bool error)
{
    if (trace_event_get_state(TRACE_MULTIFD_RECV_TERMINATE_THREADS)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 142 "../migration/trace-events"
            qemu_log("multifd_recv_terminate_threads " "error %d" "\n", error);
#line 2960 "trace/trace-migration.h"
        }
    }
}

#define TRACE_MULTIFD_RECV_THREAD_END_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_MULTIFD_RECV_THREAD_END) || \
    false)

static inline void trace_multifd_recv_thread_end(uint8_t id, uint64_t packets)
{
    if (trace_event_get_state(TRACE_MULTIFD_RECV_THREAD_END)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 143 "../migration/trace-events"
            qemu_log("multifd_recv_thread_end " "channel %u packets %" PRIu64 "\n", id, packets);
#line 2975 "trace/trace-migration.h"
        }
    }
}

#define TRACE_MULTIFD_RECV_THREAD_START_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_MULTIFD_RECV_THREAD_START) || \
    false)

static inline void trace_multifd_recv_thread_start(uint8_t id)
{
    if (trace_event_get_state(TRACE_MULTIFD_RECV_THREAD_START)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 144 "../migration/trace-events"
            qemu_log("multifd_recv_thread_start " "%u" "\n", id);
#line 2990 "trace/trace-migration.h"
        }
    }
}

#define TRACE_MULTIFD_SEND_FILL_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_MULTIFD_SEND_FILL) || \
    false)

static inline void trace_multifd_send_fill(uint8_t id, uint64_t packet_num, uint32_t flags, uint32_t next_packet_size)
{
    if (trace_event_get_state(TRACE_MULTIFD_SEND_FILL)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 145 "../migration/trace-events"
            qemu_log("multifd_send_fill " "channel %u packet_num %" PRIu64 " flags 0x%x next packet size %u" "\n", id, packet_num, flags, next_packet_size);
#line 3005 "trace/trace-migration.h"
        }
    }
}

#define TRACE_MULTIFD_SEND_RAM_FILL_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_MULTIFD_SEND_RAM_FILL) || \
    false)

static inline void trace_multifd_send_ram_fill(uint8_t id, uint32_t normal, uint32_t zero)
{
    if (trace_event_get_state(TRACE_MULTIFD_SEND_RAM_FILL)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 146 "../migration/trace-events"
            qemu_log("multifd_send_ram_fill " "channel %u normal pages %u zero pages %u" "\n", id, normal, zero);
#line 3020 "trace/trace-migration.h"
        }
    }
}

#define TRACE_MULTIFD_SEND_ERROR_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_MULTIFD_SEND_ERROR) || \
    false)

static inline void trace_multifd_send_error(uint8_t id)
{
    if (trace_event_get_state(TRACE_MULTIFD_SEND_ERROR)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 147 "../migration/trace-events"
            qemu_log("multifd_send_error " "channel %u" "\n", id);
#line 3035 "trace/trace-migration.h"
        }
    }
}

#define TRACE_MULTIFD_SEND_SYNC_MAIN_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_MULTIFD_SEND_SYNC_MAIN) || \
    false)

static inline void trace_multifd_send_sync_main(long packet_num)
{
    if (trace_event_get_state(TRACE_MULTIFD_SEND_SYNC_MAIN)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 148 "../migration/trace-events"
            qemu_log("multifd_send_sync_main " "packet num %ld" "\n", packet_num);
#line 3050 "trace/trace-migration.h"
        }
    }
}

#define TRACE_MULTIFD_SEND_SYNC_MAIN_SIGNAL_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_MULTIFD_SEND_SYNC_MAIN_SIGNAL) || \
    false)

static inline void trace_multifd_send_sync_main_signal(uint8_t id)
{
    if (trace_event_get_state(TRACE_MULTIFD_SEND_SYNC_MAIN_SIGNAL)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 149 "../migration/trace-events"
            qemu_log("multifd_send_sync_main_signal " "channel %u" "\n", id);
#line 3065 "trace/trace-migration.h"
        }
    }
}

#define TRACE_MULTIFD_SEND_SYNC_MAIN_WAIT_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_MULTIFD_SEND_SYNC_MAIN_WAIT) || \
    false)

static inline void trace_multifd_send_sync_main_wait(uint8_t id)
{
    if (trace_event_get_state(TRACE_MULTIFD_SEND_SYNC_MAIN_WAIT)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 150 "../migration/trace-events"
            qemu_log("multifd_send_sync_main_wait " "channel %u" "\n", id);
#line 3080 "trace/trace-migration.h"
        }
    }
}

#define TRACE_MULTIFD_SEND_TERMINATE_THREADS_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_MULTIFD_SEND_TERMINATE_THREADS) || \
    false)

static inline void trace_multifd_send_terminate_threads(void)
{
    if (trace_event_get_state(TRACE_MULTIFD_SEND_TERMINATE_THREADS)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 151 "../migration/trace-events"
            qemu_log("multifd_send_terminate_threads " "" "\n");
#line 3095 "trace/trace-migration.h"
        }
    }
}

#define TRACE_MULTIFD_SEND_THREAD_END_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_MULTIFD_SEND_THREAD_END) || \
    false)

static inline void trace_multifd_send_thread_end(uint8_t id, uint64_t packets)
{
    if (trace_event_get_state(TRACE_MULTIFD_SEND_THREAD_END)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 152 "../migration/trace-events"
            qemu_log("multifd_send_thread_end " "channel %u packets %" PRIu64 "\n", id, packets);
#line 3110 "trace/trace-migration.h"
        }
    }
}

#define TRACE_MULTIFD_SEND_THREAD_START_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_MULTIFD_SEND_THREAD_START) || \
    false)

static inline void trace_multifd_send_thread_start(uint8_t id)
{
    if (trace_event_get_state(TRACE_MULTIFD_SEND_THREAD_START)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 153 "../migration/trace-events"
            qemu_log("multifd_send_thread_start " "%u" "\n", id);
#line 3125 "trace/trace-migration.h"
        }
    }
}

#define TRACE_MULTIFD_TLS_OUTGOING_HANDSHAKE_START_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_MULTIFD_TLS_OUTGOING_HANDSHAKE_START) || \
    false)

static inline void trace_multifd_tls_outgoing_handshake_start(void *ioc, void *tioc)
{
    if (trace_event_get_state(TRACE_MULTIFD_TLS_OUTGOING_HANDSHAKE_START)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 154 "../migration/trace-events"
            qemu_log("multifd_tls_outgoing_handshake_start " "ioc=%p tioc=%p" "\n", ioc, tioc);
#line 3140 "trace/trace-migration.h"
        }
    }
}

#define TRACE_MULTIFD_TLS_OUTGOING_HANDSHAKE_ERROR_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_MULTIFD_TLS_OUTGOING_HANDSHAKE_ERROR) || \
    false)

static inline void trace_multifd_tls_outgoing_handshake_error(void *ioc, const char *err)
{
    if (trace_event_get_state(TRACE_MULTIFD_TLS_OUTGOING_HANDSHAKE_ERROR)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 155 "../migration/trace-events"
            qemu_log("multifd_tls_outgoing_handshake_error " "ioc=%p err=%s" "\n", ioc, err);
#line 3155 "trace/trace-migration.h"
        }
    }
}

#define TRACE_MULTIFD_TLS_OUTGOING_HANDSHAKE_COMPLETE_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_MULTIFD_TLS_OUTGOING_HANDSHAKE_COMPLETE) || \
    false)

static inline void trace_multifd_tls_outgoing_handshake_complete(void *ioc)
{
    if (trace_event_get_state(TRACE_MULTIFD_TLS_OUTGOING_HANDSHAKE_COMPLETE)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 156 "../migration/trace-events"
            qemu_log("multifd_tls_outgoing_handshake_complete " "ioc=%p" "\n", ioc);
#line 3170 "trace/trace-migration.h"
        }
    }
}

#define TRACE_MULTIFD_SET_OUTGOING_CHANNEL_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_MULTIFD_SET_OUTGOING_CHANNEL) || \
    false)

static inline void trace_multifd_set_outgoing_channel(void *ioc, const char *ioctype)
{
    if (trace_event_get_state(TRACE_MULTIFD_SET_OUTGOING_CHANNEL)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 157 "../migration/trace-events"
            qemu_log("multifd_set_outgoing_channel " "ioc=%p ioctype=%s" "\n", ioc, ioctype);
#line 3185 "trace/trace-migration.h"
        }
    }
}

#define TRACE_MIGRATE_SET_STATE_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_MIGRATE_SET_STATE) || \
    false)

static inline void trace_migrate_set_state(const char *new_state)
{
    if (trace_event_get_state(TRACE_MIGRATE_SET_STATE)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 160 "../migration/trace-events"
            qemu_log("migrate_set_state " "new state %s" "\n", new_state);
#line 3200 "trace/trace-migration.h"
        }
    }
}

#define TRACE_MIGRATION_CLEANUP_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_MIGRATION_CLEANUP) || \
    false)

static inline void trace_migration_cleanup(void)
{
    if (trace_event_get_state(TRACE_MIGRATION_CLEANUP)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 161 "../migration/trace-events"
            qemu_log("migration_cleanup " "" "\n");
#line 3215 "trace/trace-migration.h"
        }
    }
}

#define TRACE_MIGRATE_ERROR_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_MIGRATE_ERROR) || \
    false)

static inline void trace_migrate_error(const char *error_desc)
{
    if (trace_event_get_state(TRACE_MIGRATE_ERROR)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 162 "../migration/trace-events"
            qemu_log("migrate_error " "error=%s" "\n", error_desc);
#line 3230 "trace/trace-migration.h"
        }
    }
}

#define TRACE_MIGRATION_CANCEL_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_MIGRATION_CANCEL) || \
    false)

static inline void trace_migration_cancel(void)
{
    if (trace_event_get_state(TRACE_MIGRATION_CANCEL)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 163 "../migration/trace-events"
            qemu_log("migration_cancel " "" "\n");
#line 3245 "trace/trace-migration.h"
        }
    }
}

#define TRACE_MIGRATE_HANDLE_RP_REQ_PAGES_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_MIGRATE_HANDLE_RP_REQ_PAGES) || \
    false)

static inline void trace_migrate_handle_rp_req_pages(const char *rbname, size_t start, size_t len)
{
    if (trace_event_get_state(TRACE_MIGRATE_HANDLE_RP_REQ_PAGES)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 164 "../migration/trace-events"
            qemu_log("migrate_handle_rp_req_pages " "in %s at 0x%zx len 0x%zx" "\n", rbname, start, len);
#line 3260 "trace/trace-migration.h"
        }
    }
}

#define TRACE_MIGRATE_SEND_RP_MESSAGE_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_MIGRATE_SEND_RP_MESSAGE) || \
    false)

static inline void trace_migrate_send_rp_message(int msg_type, uint16_t len)
{
    if (trace_event_get_state(TRACE_MIGRATE_SEND_RP_MESSAGE)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 165 "../migration/trace-events"
            qemu_log("migrate_send_rp_message " "%d: len %d" "\n", msg_type, len);
#line 3275 "trace/trace-migration.h"
        }
    }
}

#define TRACE_MIGRATE_SEND_RP_RECV_BITMAP_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_MIGRATE_SEND_RP_RECV_BITMAP) || \
    false)

static inline void trace_migrate_send_rp_recv_bitmap(char *name, int64_t size)
{
    if (trace_event_get_state(TRACE_MIGRATE_SEND_RP_RECV_BITMAP)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 166 "../migration/trace-events"
            qemu_log("migrate_send_rp_recv_bitmap " "block '%s' size 0x%"PRIi64 "\n", name, size);
#line 3290 "trace/trace-migration.h"
        }
    }
}

#define TRACE_MIGRATION_COMPLETION_FILE_ERR_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_MIGRATION_COMPLETION_FILE_ERR) || \
    false)

static inline void trace_migration_completion_file_err(void)
{
    if (trace_event_get_state(TRACE_MIGRATION_COMPLETION_FILE_ERR)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 167 "../migration/trace-events"
            qemu_log("migration_completion_file_err " "" "\n");
#line 3305 "trace/trace-migration.h"
        }
    }
}

#define TRACE_MIGRATION_COMPLETION_VM_STOP_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_MIGRATION_COMPLETION_VM_STOP) || \
    false)

static inline void trace_migration_completion_vm_stop(int ret)
{
    if (trace_event_get_state(TRACE_MIGRATION_COMPLETION_VM_STOP)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 168 "../migration/trace-events"
            qemu_log("migration_completion_vm_stop " "ret %d" "\n", ret);
#line 3320 "trace/trace-migration.h"
        }
    }
}

#define TRACE_MIGRATION_COMPLETION_POSTCOPY_END_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_MIGRATION_COMPLETION_POSTCOPY_END) || \
    false)

static inline void trace_migration_completion_postcopy_end(void)
{
    if (trace_event_get_state(TRACE_MIGRATION_COMPLETION_POSTCOPY_END)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 169 "../migration/trace-events"
            qemu_log("migration_completion_postcopy_end " "" "\n");
#line 3335 "trace/trace-migration.h"
        }
    }
}

#define TRACE_MIGRATION_COMPLETION_POSTCOPY_END_AFTER_COMPLETE_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_MIGRATION_COMPLETION_POSTCOPY_END_AFTER_COMPLETE) || \
    false)

static inline void trace_migration_completion_postcopy_end_after_complete(void)
{
    if (trace_event_get_state(TRACE_MIGRATION_COMPLETION_POSTCOPY_END_AFTER_COMPLETE)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 170 "../migration/trace-events"
            qemu_log("migration_completion_postcopy_end_after_complete " "" "\n");
#line 3350 "trace/trace-migration.h"
        }
    }
}

#define TRACE_MIGRATION_RATE_LIMIT_PRE_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_MIGRATION_RATE_LIMIT_PRE) || \
    false)

static inline void trace_migration_rate_limit_pre(int ms)
{
    if (trace_event_get_state(TRACE_MIGRATION_RATE_LIMIT_PRE)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 171 "../migration/trace-events"
            qemu_log("migration_rate_limit_pre " "%d ms" "\n", ms);
#line 3365 "trace/trace-migration.h"
        }
    }
}

#define TRACE_MIGRATION_RATE_LIMIT_POST_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_MIGRATION_RATE_LIMIT_POST) || \
    false)

static inline void trace_migration_rate_limit_post(int urgent)
{
    if (trace_event_get_state(TRACE_MIGRATION_RATE_LIMIT_POST)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 172 "../migration/trace-events"
            qemu_log("migration_rate_limit_post " "urgent: %d" "\n", urgent);
#line 3380 "trace/trace-migration.h"
        }
    }
}

#define TRACE_MIGRATION_RETURN_PATH_END_BEFORE_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_MIGRATION_RETURN_PATH_END_BEFORE) || \
    false)

static inline void trace_migration_return_path_end_before(void)
{
    if (trace_event_get_state(TRACE_MIGRATION_RETURN_PATH_END_BEFORE)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 173 "../migration/trace-events"
            qemu_log("migration_return_path_end_before " "" "\n");
#line 3395 "trace/trace-migration.h"
        }
    }
}

#define TRACE_MIGRATION_RETURN_PATH_END_AFTER_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_MIGRATION_RETURN_PATH_END_AFTER) || \
    false)

static inline void trace_migration_return_path_end_after(void)
{
    if (trace_event_get_state(TRACE_MIGRATION_RETURN_PATH_END_AFTER)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 174 "../migration/trace-events"
            qemu_log("migration_return_path_end_after " "" "\n");
#line 3410 "trace/trace-migration.h"
        }
    }
}

#define TRACE_MIGRATION_THREAD_AFTER_LOOP_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_MIGRATION_THREAD_AFTER_LOOP) || \
    false)

static inline void trace_migration_thread_after_loop(void)
{
    if (trace_event_get_state(TRACE_MIGRATION_THREAD_AFTER_LOOP)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 175 "../migration/trace-events"
            qemu_log("migration_thread_after_loop " "" "\n");
#line 3425 "trace/trace-migration.h"
        }
    }
}

#define TRACE_MIGRATION_THREAD_FILE_ERR_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_MIGRATION_THREAD_FILE_ERR) || \
    false)

static inline void trace_migration_thread_file_err(void)
{
    if (trace_event_get_state(TRACE_MIGRATION_THREAD_FILE_ERR)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 176 "../migration/trace-events"
            qemu_log("migration_thread_file_err " "" "\n");
#line 3440 "trace/trace-migration.h"
        }
    }
}

#define TRACE_MIGRATION_THREAD_SETUP_COMPLETE_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_MIGRATION_THREAD_SETUP_COMPLETE) || \
    false)

static inline void trace_migration_thread_setup_complete(void)
{
    if (trace_event_get_state(TRACE_MIGRATION_THREAD_SETUP_COMPLETE)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 177 "../migration/trace-events"
            qemu_log("migration_thread_setup_complete " "" "\n");
#line 3455 "trace/trace-migration.h"
        }
    }
}

#define TRACE_OPEN_RETURN_PATH_ON_SOURCE_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_OPEN_RETURN_PATH_ON_SOURCE) || \
    false)

static inline void trace_open_return_path_on_source(void)
{
    if (trace_event_get_state(TRACE_OPEN_RETURN_PATH_ON_SOURCE)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 178 "../migration/trace-events"
            qemu_log("open_return_path_on_source " "" "\n");
#line 3470 "trace/trace-migration.h"
        }
    }
}

#define TRACE_OPEN_RETURN_PATH_ON_SOURCE_CONTINUE_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_OPEN_RETURN_PATH_ON_SOURCE_CONTINUE) || \
    false)

static inline void trace_open_return_path_on_source_continue(void)
{
    if (trace_event_get_state(TRACE_OPEN_RETURN_PATH_ON_SOURCE_CONTINUE)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 179 "../migration/trace-events"
            qemu_log("open_return_path_on_source_continue " "" "\n");
#line 3485 "trace/trace-migration.h"
        }
    }
}

#define TRACE_POSTCOPY_START_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_POSTCOPY_START) || \
    false)

static inline void trace_postcopy_start(void)
{
    if (trace_event_get_state(TRACE_POSTCOPY_START)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 180 "../migration/trace-events"
            qemu_log("postcopy_start " "" "\n");
#line 3500 "trace/trace-migration.h"
        }
    }
}

#define TRACE_POSTCOPY_PAUSE_RETURN_PATH_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_POSTCOPY_PAUSE_RETURN_PATH) || \
    false)

static inline void trace_postcopy_pause_return_path(void)
{
    if (trace_event_get_state(TRACE_POSTCOPY_PAUSE_RETURN_PATH)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 181 "../migration/trace-events"
            qemu_log("postcopy_pause_return_path " "" "\n");
#line 3515 "trace/trace-migration.h"
        }
    }
}

#define TRACE_POSTCOPY_PAUSE_RETURN_PATH_CONTINUED_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_POSTCOPY_PAUSE_RETURN_PATH_CONTINUED) || \
    false)

static inline void trace_postcopy_pause_return_path_continued(void)
{
    if (trace_event_get_state(TRACE_POSTCOPY_PAUSE_RETURN_PATH_CONTINUED)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 182 "../migration/trace-events"
            qemu_log("postcopy_pause_return_path_continued " "" "\n");
#line 3530 "trace/trace-migration.h"
        }
    }
}

#define TRACE_POSTCOPY_PAUSE_CONTINUED_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_POSTCOPY_PAUSE_CONTINUED) || \
    false)

static inline void trace_postcopy_pause_continued(void)
{
    if (trace_event_get_state(TRACE_POSTCOPY_PAUSE_CONTINUED)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 183 "../migration/trace-events"
            qemu_log("postcopy_pause_continued " "" "\n");
#line 3545 "trace/trace-migration.h"
        }
    }
}

#define TRACE_POSTCOPY_START_SET_RUN_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_POSTCOPY_START_SET_RUN) || \
    false)

static inline void trace_postcopy_start_set_run(void)
{
    if (trace_event_get_state(TRACE_POSTCOPY_START_SET_RUN)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 184 "../migration/trace-events"
            qemu_log("postcopy_start_set_run " "" "\n");
#line 3560 "trace/trace-migration.h"
        }
    }
}

#define TRACE_POSTCOPY_PAGE_REQ_ADD_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_POSTCOPY_PAGE_REQ_ADD) || \
    false)

static inline void trace_postcopy_page_req_add(void *addr, int count)
{
    if (trace_event_get_state(TRACE_POSTCOPY_PAGE_REQ_ADD)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 185 "../migration/trace-events"
            qemu_log("postcopy_page_req_add " "new page req %p total %d" "\n", addr, count);
#line 3575 "trace/trace-migration.h"
        }
    }
}

#define TRACE_SOURCE_RETURN_PATH_THREAD_BAD_END_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_SOURCE_RETURN_PATH_THREAD_BAD_END) || \
    false)

static inline void trace_source_return_path_thread_bad_end(void)
{
    if (trace_event_get_state(TRACE_SOURCE_RETURN_PATH_THREAD_BAD_END)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 186 "../migration/trace-events"
            qemu_log("source_return_path_thread_bad_end " "" "\n");
#line 3590 "trace/trace-migration.h"
        }
    }
}

#define TRACE_SOURCE_RETURN_PATH_THREAD_END_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_SOURCE_RETURN_PATH_THREAD_END) || \
    false)

static inline void trace_source_return_path_thread_end(void)
{
    if (trace_event_get_state(TRACE_SOURCE_RETURN_PATH_THREAD_END)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 187 "../migration/trace-events"
            qemu_log("source_return_path_thread_end " "" "\n");
#line 3605 "trace/trace-migration.h"
        }
    }
}

#define TRACE_SOURCE_RETURN_PATH_THREAD_ENTRY_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_SOURCE_RETURN_PATH_THREAD_ENTRY) || \
    false)

static inline void trace_source_return_path_thread_entry(void)
{
    if (trace_event_get_state(TRACE_SOURCE_RETURN_PATH_THREAD_ENTRY)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 188 "../migration/trace-events"
            qemu_log("source_return_path_thread_entry " "" "\n");
#line 3620 "trace/trace-migration.h"
        }
    }
}

#define TRACE_SOURCE_RETURN_PATH_THREAD_LOOP_TOP_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_SOURCE_RETURN_PATH_THREAD_LOOP_TOP) || \
    false)

static inline void trace_source_return_path_thread_loop_top(void)
{
    if (trace_event_get_state(TRACE_SOURCE_RETURN_PATH_THREAD_LOOP_TOP)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 189 "../migration/trace-events"
            qemu_log("source_return_path_thread_loop_top " "" "\n");
#line 3635 "trace/trace-migration.h"
        }
    }
}

#define TRACE_SOURCE_RETURN_PATH_THREAD_PONG_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_SOURCE_RETURN_PATH_THREAD_PONG) || \
    false)

static inline void trace_source_return_path_thread_pong(uint32_t val)
{
    if (trace_event_get_state(TRACE_SOURCE_RETURN_PATH_THREAD_PONG)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 190 "../migration/trace-events"
            qemu_log("source_return_path_thread_pong " "0x%x" "\n", val);
#line 3650 "trace/trace-migration.h"
        }
    }
}

#define TRACE_SOURCE_RETURN_PATH_THREAD_SHUT_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_SOURCE_RETURN_PATH_THREAD_SHUT) || \
    false)

static inline void trace_source_return_path_thread_shut(uint32_t val)
{
    if (trace_event_get_state(TRACE_SOURCE_RETURN_PATH_THREAD_SHUT)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 191 "../migration/trace-events"
            qemu_log("source_return_path_thread_shut " "0x%x" "\n", val);
#line 3665 "trace/trace-migration.h"
        }
    }
}

#define TRACE_SOURCE_RETURN_PATH_THREAD_RESUME_ACK_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_SOURCE_RETURN_PATH_THREAD_RESUME_ACK) || \
    false)

static inline void trace_source_return_path_thread_resume_ack(uint32_t v)
{
    if (trace_event_get_state(TRACE_SOURCE_RETURN_PATH_THREAD_RESUME_ACK)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 192 "../migration/trace-events"
            qemu_log("source_return_path_thread_resume_ack " "%"PRIu32 "\n", v);
#line 3680 "trace/trace-migration.h"
        }
    }
}

#define TRACE_SOURCE_RETURN_PATH_THREAD_SWITCHOVER_ACKED_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_SOURCE_RETURN_PATH_THREAD_SWITCHOVER_ACKED) || \
    false)

static inline void trace_source_return_path_thread_switchover_acked(void)
{
    if (trace_event_get_state(TRACE_SOURCE_RETURN_PATH_THREAD_SWITCHOVER_ACKED)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 193 "../migration/trace-events"
            qemu_log("source_return_path_thread_switchover_acked " "" "\n");
#line 3695 "trace/trace-migration.h"
        }
    }
}

#define TRACE_SOURCE_RETURN_PATH_THREAD_POSTCOPY_PACKAGE_LOADED_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_SOURCE_RETURN_PATH_THREAD_POSTCOPY_PACKAGE_LOADED) || \
    false)

static inline void trace_source_return_path_thread_postcopy_package_loaded(void)
{
    if (trace_event_get_state(TRACE_SOURCE_RETURN_PATH_THREAD_POSTCOPY_PACKAGE_LOADED)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 194 "../migration/trace-events"
            qemu_log("source_return_path_thread_postcopy_package_loaded " "" "\n");
#line 3710 "trace/trace-migration.h"
        }
    }
}

#define TRACE_MIGRATION_THREAD_LOW_PENDING_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_MIGRATION_THREAD_LOW_PENDING) || \
    false)

static inline void trace_migration_thread_low_pending(uint64_t pending)
{
    if (trace_event_get_state(TRACE_MIGRATION_THREAD_LOW_PENDING)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 195 "../migration/trace-events"
            qemu_log("migration_thread_low_pending " "%" PRIu64 "\n", pending);
#line 3725 "trace/trace-migration.h"
        }
    }
}

#define TRACE_MIGRATE_TRANSFERRED_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_MIGRATE_TRANSFERRED) || \
    false)

static inline void trace_migrate_transferred(uint64_t transferred, uint64_t time_spent, uint64_t bandwidth, uint64_t avail_bw, uint64_t size)
{
    if (trace_event_get_state(TRACE_MIGRATE_TRANSFERRED)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 196 "../migration/trace-events"
            qemu_log("migrate_transferred " "transferred %" PRIu64 " time_spent %" PRIu64 " bandwidth %" PRIu64 " switchover_bw %" PRIu64 " max_size %" PRId64 "\n", transferred, time_spent, bandwidth, avail_bw, size);
#line 3740 "trace/trace-migration.h"
        }
    }
}

#define TRACE_PROCESS_INCOMING_MIGRATION_CO_END_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_PROCESS_INCOMING_MIGRATION_CO_END) || \
    false)

static inline void trace_process_incoming_migration_co_end(int ret)
{
    if (trace_event_get_state(TRACE_PROCESS_INCOMING_MIGRATION_CO_END)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 197 "../migration/trace-events"
            qemu_log("process_incoming_migration_co_end " "ret=%d" "\n", ret);
#line 3755 "trace/trace-migration.h"
        }
    }
}

#define TRACE_PROCESS_INCOMING_MIGRATION_CO_POSTCOPY_END_MAIN_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_PROCESS_INCOMING_MIGRATION_CO_POSTCOPY_END_MAIN) || \
    false)

static inline void trace_process_incoming_migration_co_postcopy_end_main(void)
{
    if (trace_event_get_state(TRACE_PROCESS_INCOMING_MIGRATION_CO_POSTCOPY_END_MAIN)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 198 "../migration/trace-events"
            qemu_log("process_incoming_migration_co_postcopy_end_main " "" "\n");
#line 3770 "trace/trace-migration.h"
        }
    }
}

#define TRACE_POSTCOPY_PREEMPT_ENABLED_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_POSTCOPY_PREEMPT_ENABLED) || \
    false)

static inline void trace_postcopy_preempt_enabled(bool value)
{
    if (trace_event_get_state(TRACE_POSTCOPY_PREEMPT_ENABLED)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 199 "../migration/trace-events"
            qemu_log("postcopy_preempt_enabled " "%d" "\n", value);
#line 3785 "trace/trace-migration.h"
        }
    }
}

#define TRACE_MIGRATION_PRECOPY_COMPLETE_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_MIGRATION_PRECOPY_COMPLETE) || \
    false)

static inline void trace_migration_precopy_complete(void)
{
    if (trace_event_get_state(TRACE_MIGRATION_PRECOPY_COMPLETE)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 200 "../migration/trace-events"
            qemu_log("migration_precopy_complete " "" "\n");
#line 3800 "trace/trace-migration.h"
        }
    }
}

#define TRACE_MIGRATION_CALL_NOTIFIERS_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_MIGRATION_CALL_NOTIFIERS) || \
    false)

static inline void trace_migration_call_notifiers(int type)
{
    if (trace_event_get_state(TRACE_MIGRATION_CALL_NOTIFIERS)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 201 "../migration/trace-events"
            qemu_log("migration_call_notifiers " "type=%d" "\n", type);
#line 3815 "trace/trace-migration.h"
        }
    }
}

#define TRACE_MIGRATION_TRANSFERRED_BYTES_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_MIGRATION_TRANSFERRED_BYTES) || \
    false)

static inline void trace_migration_transferred_bytes(uint64_t qemu_file, uint64_t multifd, uint64_t rdma)
{
    if (trace_event_get_state(TRACE_MIGRATION_TRANSFERRED_BYTES)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 204 "../migration/trace-events"
            qemu_log("migration_transferred_bytes " "qemu_file %" PRIu64 " multifd %" PRIu64 " RDMA %" PRIu64 "\n", qemu_file, multifd, rdma);
#line 3830 "trace/trace-migration.h"
        }
    }
}

#define TRACE_MIGRATION_SET_INCOMING_CHANNEL_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_MIGRATION_SET_INCOMING_CHANNEL) || \
    false)

static inline void trace_migration_set_incoming_channel(void *ioc, const char *ioctype)
{
    if (trace_event_get_state(TRACE_MIGRATION_SET_INCOMING_CHANNEL)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 207 "../migration/trace-events"
            qemu_log("migration_set_incoming_channel " "ioc=%p ioctype=%s" "\n", ioc, ioctype);
#line 3845 "trace/trace-migration.h"
        }
    }
}

#define TRACE_MIGRATION_SET_OUTGOING_CHANNEL_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_MIGRATION_SET_OUTGOING_CHANNEL) || \
    false)

static inline void trace_migration_set_outgoing_channel(void *ioc, const char *ioctype)
{
    if (trace_event_get_state(TRACE_MIGRATION_SET_OUTGOING_CHANNEL)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 208 "../migration/trace-events"
            qemu_log("migration_set_outgoing_channel " "ioc=%p ioctype=%s" "\n", ioc, ioctype);
#line 3860 "trace/trace-migration.h"
        }
    }
}

#define TRACE_MIGRATE_STATE_TOO_BIG_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_MIGRATE_STATE_TOO_BIG) || \
    false)

static inline void trace_migrate_state_too_big(void)
{
    if (trace_event_get_state(TRACE_MIGRATE_STATE_TOO_BIG)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 211 "../migration/trace-events"
            qemu_log("migrate_state_too_big " "" "\n");
#line 3875 "trace/trace-migration.h"
        }
    }
}

#define TRACE_MIGRATE_GLOBAL_STATE_POST_LOAD_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_MIGRATE_GLOBAL_STATE_POST_LOAD) || \
    false)

static inline void trace_migrate_global_state_post_load(const char *state)
{
    if (trace_event_get_state(TRACE_MIGRATE_GLOBAL_STATE_POST_LOAD)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 212 "../migration/trace-events"
            qemu_log("migrate_global_state_post_load " "loaded state: %s" "\n", state);
#line 3890 "trace/trace-migration.h"
        }
    }
}

#define TRACE_MIGRATE_GLOBAL_STATE_PRE_SAVE_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_MIGRATE_GLOBAL_STATE_PRE_SAVE) || \
    false)

static inline void trace_migrate_global_state_pre_save(const char *state)
{
    if (trace_event_get_state(TRACE_MIGRATE_GLOBAL_STATE_PRE_SAVE)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 213 "../migration/trace-events"
            qemu_log("migrate_global_state_pre_save " "saved state: %s" "\n", state);
#line 3905 "trace/trace-migration.h"
        }
    }
}

#define TRACE_QEMU_RDMA_ACCEPT_INCOMING_MIGRATION_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_QEMU_RDMA_ACCEPT_INCOMING_MIGRATION) || \
    false)

static inline void trace_qemu_rdma_accept_incoming_migration(void)
{
    if (trace_event_get_state(TRACE_QEMU_RDMA_ACCEPT_INCOMING_MIGRATION)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 216 "../migration/trace-events"
            qemu_log("qemu_rdma_accept_incoming_migration " "" "\n");
#line 3920 "trace/trace-migration.h"
        }
    }
}

#define TRACE_QEMU_RDMA_ACCEPT_INCOMING_MIGRATION_ACCEPTED_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_QEMU_RDMA_ACCEPT_INCOMING_MIGRATION_ACCEPTED) || \
    false)

static inline void trace_qemu_rdma_accept_incoming_migration_accepted(void)
{
    if (trace_event_get_state(TRACE_QEMU_RDMA_ACCEPT_INCOMING_MIGRATION_ACCEPTED)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 217 "../migration/trace-events"
            qemu_log("qemu_rdma_accept_incoming_migration_accepted " "" "\n");
#line 3935 "trace/trace-migration.h"
        }
    }
}

#define TRACE_QEMU_RDMA_ACCEPT_PIN_STATE_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_QEMU_RDMA_ACCEPT_PIN_STATE) || \
    false)

static inline void trace_qemu_rdma_accept_pin_state(bool pin)
{
    if (trace_event_get_state(TRACE_QEMU_RDMA_ACCEPT_PIN_STATE)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 218 "../migration/trace-events"
            qemu_log("qemu_rdma_accept_pin_state " "%d" "\n", pin);
#line 3950 "trace/trace-migration.h"
        }
    }
}

#define TRACE_QEMU_RDMA_ACCEPT_PIN_VERBSC_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_QEMU_RDMA_ACCEPT_PIN_VERBSC) || \
    false)

static inline void trace_qemu_rdma_accept_pin_verbsc(void *verbs)
{
    if (trace_event_get_state(TRACE_QEMU_RDMA_ACCEPT_PIN_VERBSC)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 219 "../migration/trace-events"
            qemu_log("qemu_rdma_accept_pin_verbsc " "Verbs context after listen: %p" "\n", verbs);
#line 3965 "trace/trace-migration.h"
        }
    }
}

#define TRACE_QEMU_RDMA_BLOCK_FOR_WRID_MISS_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_QEMU_RDMA_BLOCK_FOR_WRID_MISS) || \
    false)

static inline void trace_qemu_rdma_block_for_wrid_miss(uint64_t wcomp, uint64_t req)
{
    if (trace_event_get_state(TRACE_QEMU_RDMA_BLOCK_FOR_WRID_MISS)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 220 "../migration/trace-events"
            qemu_log("qemu_rdma_block_for_wrid_miss " "A Wanted wrid %" PRIu64 " but got %" PRIu64 "\n", wcomp, req);
#line 3980 "trace/trace-migration.h"
        }
    }
}

#define TRACE_QEMU_RDMA_CLEANUP_DISCONNECT_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_QEMU_RDMA_CLEANUP_DISCONNECT) || \
    false)

static inline void trace_qemu_rdma_cleanup_disconnect(void)
{
    if (trace_event_get_state(TRACE_QEMU_RDMA_CLEANUP_DISCONNECT)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 221 "../migration/trace-events"
            qemu_log("qemu_rdma_cleanup_disconnect " "" "\n");
#line 3995 "trace/trace-migration.h"
        }
    }
}

#define TRACE_QEMU_RDMA_CLOSE_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_QEMU_RDMA_CLOSE) || \
    false)

static inline void trace_qemu_rdma_close(void)
{
    if (trace_event_get_state(TRACE_QEMU_RDMA_CLOSE)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 222 "../migration/trace-events"
            qemu_log("qemu_rdma_close " "" "\n");
#line 4010 "trace/trace-migration.h"
        }
    }
}

#define TRACE_QEMU_RDMA_CONNECT_PIN_ALL_REQUESTED_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_QEMU_RDMA_CONNECT_PIN_ALL_REQUESTED) || \
    false)

static inline void trace_qemu_rdma_connect_pin_all_requested(void)
{
    if (trace_event_get_state(TRACE_QEMU_RDMA_CONNECT_PIN_ALL_REQUESTED)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 223 "../migration/trace-events"
            qemu_log("qemu_rdma_connect_pin_all_requested " "" "\n");
#line 4025 "trace/trace-migration.h"
        }
    }
}

#define TRACE_QEMU_RDMA_CONNECT_PIN_ALL_OUTCOME_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_QEMU_RDMA_CONNECT_PIN_ALL_OUTCOME) || \
    false)

static inline void trace_qemu_rdma_connect_pin_all_outcome(bool pin)
{
    if (trace_event_get_state(TRACE_QEMU_RDMA_CONNECT_PIN_ALL_OUTCOME)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 224 "../migration/trace-events"
            qemu_log("qemu_rdma_connect_pin_all_outcome " "%d" "\n", pin);
#line 4040 "trace/trace-migration.h"
        }
    }
}

#define TRACE_QEMU_RDMA_DEST_INIT_TRYING_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_QEMU_RDMA_DEST_INIT_TRYING) || \
    false)

static inline void trace_qemu_rdma_dest_init_trying(const char *host, const char *ip)
{
    if (trace_event_get_state(TRACE_QEMU_RDMA_DEST_INIT_TRYING)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 225 "../migration/trace-events"
            qemu_log("qemu_rdma_dest_init_trying " "%s => %s" "\n", host, ip);
#line 4055 "trace/trace-migration.h"
        }
    }
}

#define TRACE_QEMU_RDMA_DUMP_ID_FAILED_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_QEMU_RDMA_DUMP_ID_FAILED) || \
    false)

static inline void trace_qemu_rdma_dump_id_failed(const char *who)
{
    if (trace_event_get_state(TRACE_QEMU_RDMA_DUMP_ID_FAILED)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 226 "../migration/trace-events"
            qemu_log("qemu_rdma_dump_id_failed " "%s RDMA Device opened, but can't query port information" "\n", who);
#line 4070 "trace/trace-migration.h"
        }
    }
}

#define TRACE_QEMU_RDMA_DUMP_ID_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_QEMU_RDMA_DUMP_ID) || \
    false)

static inline void trace_qemu_rdma_dump_id(const char *who, const char *name, const char *dev_name, const char *dev_path, const char *ibdev_path, int transport, const char *transport_name)
{
    if (trace_event_get_state(TRACE_QEMU_RDMA_DUMP_ID)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 227 "../migration/trace-events"
            qemu_log("qemu_rdma_dump_id " "%s RDMA Device opened: kernel name %s uverbs device name %s, infiniband_verbs class device path %s, infiniband class device path %s, transport: (%d) %s" "\n", who, name, dev_name, dev_path, ibdev_path, transport, transport_name);
#line 4085 "trace/trace-migration.h"
        }
    }
}

#define TRACE_QEMU_RDMA_DUMP_GID_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_QEMU_RDMA_DUMP_GID) || \
    false)

static inline void trace_qemu_rdma_dump_gid(const char *who, const char *src, const char *dst)
{
    if (trace_event_get_state(TRACE_QEMU_RDMA_DUMP_GID)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 228 "../migration/trace-events"
            qemu_log("qemu_rdma_dump_gid " "%s Source GID: %s, Dest GID: %s" "\n", who, src, dst);
#line 4100 "trace/trace-migration.h"
        }
    }
}

#define TRACE_QEMU_RDMA_EXCHANGE_GET_RESPONSE_START_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_QEMU_RDMA_EXCHANGE_GET_RESPONSE_START) || \
    false)

static inline void trace_qemu_rdma_exchange_get_response_start(const char *desc)
{
    if (trace_event_get_state(TRACE_QEMU_RDMA_EXCHANGE_GET_RESPONSE_START)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 229 "../migration/trace-events"
            qemu_log("qemu_rdma_exchange_get_response_start " "CONTROL: %s receiving..." "\n", desc);
#line 4115 "trace/trace-migration.h"
        }
    }
}

#define TRACE_QEMU_RDMA_EXCHANGE_GET_RESPONSE_NONE_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_QEMU_RDMA_EXCHANGE_GET_RESPONSE_NONE) || \
    false)

static inline void trace_qemu_rdma_exchange_get_response_none(const char *desc, int type)
{
    if (trace_event_get_state(TRACE_QEMU_RDMA_EXCHANGE_GET_RESPONSE_NONE)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 230 "../migration/trace-events"
            qemu_log("qemu_rdma_exchange_get_response_none " "Surprise: got %s (%d)" "\n", desc, type);
#line 4130 "trace/trace-migration.h"
        }
    }
}

#define TRACE_QEMU_RDMA_EXCHANGE_SEND_ISSUE_CALLBACK_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_QEMU_RDMA_EXCHANGE_SEND_ISSUE_CALLBACK) || \
    false)

static inline void trace_qemu_rdma_exchange_send_issue_callback(void)
{
    if (trace_event_get_state(TRACE_QEMU_RDMA_EXCHANGE_SEND_ISSUE_CALLBACK)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 231 "../migration/trace-events"
            qemu_log("qemu_rdma_exchange_send_issue_callback " "" "\n");
#line 4145 "trace/trace-migration.h"
        }
    }
}

#define TRACE_QEMU_RDMA_EXCHANGE_SEND_WAITING_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_QEMU_RDMA_EXCHANGE_SEND_WAITING) || \
    false)

static inline void trace_qemu_rdma_exchange_send_waiting(const char *desc)
{
    if (trace_event_get_state(TRACE_QEMU_RDMA_EXCHANGE_SEND_WAITING)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 232 "../migration/trace-events"
            qemu_log("qemu_rdma_exchange_send_waiting " "Waiting for response %s" "\n", desc);
#line 4160 "trace/trace-migration.h"
        }
    }
}

#define TRACE_QEMU_RDMA_EXCHANGE_SEND_RECEIVED_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_QEMU_RDMA_EXCHANGE_SEND_RECEIVED) || \
    false)

static inline void trace_qemu_rdma_exchange_send_received(const char *desc)
{
    if (trace_event_get_state(TRACE_QEMU_RDMA_EXCHANGE_SEND_RECEIVED)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 233 "../migration/trace-events"
            qemu_log("qemu_rdma_exchange_send_received " "Response %s received." "\n", desc);
#line 4175 "trace/trace-migration.h"
        }
    }
}

#define TRACE_QEMU_RDMA_FILL_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_QEMU_RDMA_FILL) || \
    false)

static inline void trace_qemu_rdma_fill(size_t control_len, size_t size)
{
    if (trace_event_get_state(TRACE_QEMU_RDMA_FILL)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 234 "../migration/trace-events"
            qemu_log("qemu_rdma_fill " "RDMA %zd of %zd bytes already in buffer" "\n", control_len, size);
#line 4190 "trace/trace-migration.h"
        }
    }
}

#define TRACE_QEMU_RDMA_INIT_RAM_BLOCKS_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_QEMU_RDMA_INIT_RAM_BLOCKS) || \
    false)

static inline void trace_qemu_rdma_init_ram_blocks(int blocks)
{
    if (trace_event_get_state(TRACE_QEMU_RDMA_INIT_RAM_BLOCKS)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 235 "../migration/trace-events"
            qemu_log("qemu_rdma_init_ram_blocks " "Allocated %d local ram block structures" "\n", blocks);
#line 4205 "trace/trace-migration.h"
        }
    }
}

#define TRACE_QEMU_RDMA_POLL_RECV_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_QEMU_RDMA_POLL_RECV) || \
    false)

static inline void trace_qemu_rdma_poll_recv(uint64_t comp, int64_t id, int sent)
{
    if (trace_event_get_state(TRACE_QEMU_RDMA_POLL_RECV)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 236 "../migration/trace-events"
            qemu_log("qemu_rdma_poll_recv " "completion %" PRIu64 " received (%" PRId64 ") left %d" "\n", comp, id, sent);
#line 4220 "trace/trace-migration.h"
        }
    }
}

#define TRACE_QEMU_RDMA_POLL_WRITE_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_QEMU_RDMA_POLL_WRITE) || \
    false)

static inline void trace_qemu_rdma_poll_write(uint64_t comp, int left, uint64_t block, uint64_t chunk, void *local, void *remote)
{
    if (trace_event_get_state(TRACE_QEMU_RDMA_POLL_WRITE)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 237 "../migration/trace-events"
            qemu_log("qemu_rdma_poll_write " "completions %" PRIu64 " left %d, block %" PRIu64 ", chunk: %" PRIu64 " %p %p" "\n", comp, left, block, chunk, local, remote);
#line 4235 "trace/trace-migration.h"
        }
    }
}

#define TRACE_QEMU_RDMA_POLL_OTHER_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_QEMU_RDMA_POLL_OTHER) || \
    false)

static inline void trace_qemu_rdma_poll_other(uint64_t comp, int left)
{
    if (trace_event_get_state(TRACE_QEMU_RDMA_POLL_OTHER)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 238 "../migration/trace-events"
            qemu_log("qemu_rdma_poll_other " "other completion %" PRIu64 " received left %d" "\n", comp, left);
#line 4250 "trace/trace-migration.h"
        }
    }
}

#define TRACE_QEMU_RDMA_POST_SEND_CONTROL_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_QEMU_RDMA_POST_SEND_CONTROL) || \
    false)

static inline void trace_qemu_rdma_post_send_control(const char *desc)
{
    if (trace_event_get_state(TRACE_QEMU_RDMA_POST_SEND_CONTROL)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 239 "../migration/trace-events"
            qemu_log("qemu_rdma_post_send_control " "CONTROL: sending %s.." "\n", desc);
#line 4265 "trace/trace-migration.h"
        }
    }
}

#define TRACE_QEMU_RDMA_REGISTER_AND_GET_KEYS_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_QEMU_RDMA_REGISTER_AND_GET_KEYS) || \
    false)

static inline void trace_qemu_rdma_register_and_get_keys(uint64_t len, void *start)
{
    if (trace_event_get_state(TRACE_QEMU_RDMA_REGISTER_AND_GET_KEYS)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 240 "../migration/trace-events"
            qemu_log("qemu_rdma_register_and_get_keys " "Registering %" PRIu64 " bytes @ %p" "\n", len, start);
#line 4280 "trace/trace-migration.h"
        }
    }
}

#define TRACE_QEMU_RDMA_REGISTER_ODP_MR_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_QEMU_RDMA_REGISTER_ODP_MR) || \
    false)

static inline void trace_qemu_rdma_register_odp_mr(const char *name)
{
    if (trace_event_get_state(TRACE_QEMU_RDMA_REGISTER_ODP_MR)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 241 "../migration/trace-events"
            qemu_log("qemu_rdma_register_odp_mr " "Try to register On-Demand Paging memory region: %s" "\n", name);
#line 4295 "trace/trace-migration.h"
        }
    }
}

#define TRACE_QEMU_RDMA_ADVISE_MR_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_QEMU_RDMA_ADVISE_MR) || \
    false)

static inline void trace_qemu_rdma_advise_mr(const char *name, uint32_t len, uint64_t addr, const char *res)
{
    if (trace_event_get_state(TRACE_QEMU_RDMA_ADVISE_MR)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 242 "../migration/trace-events"
            qemu_log("qemu_rdma_advise_mr " "Try to advise block %s prefetch at %" PRIu32 "@0x%" PRIx64 ": %s" "\n", name, len, addr, res);
#line 4310 "trace/trace-migration.h"
        }
    }
}

#define TRACE_QEMU_RDMA_RESOLVE_HOST_TRYING_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_QEMU_RDMA_RESOLVE_HOST_TRYING) || \
    false)

static inline void trace_qemu_rdma_resolve_host_trying(const char *host, const char *ip)
{
    if (trace_event_get_state(TRACE_QEMU_RDMA_RESOLVE_HOST_TRYING)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 243 "../migration/trace-events"
            qemu_log("qemu_rdma_resolve_host_trying " "Trying %s => %s" "\n", host, ip);
#line 4325 "trace/trace-migration.h"
        }
    }
}

#define TRACE_QEMU_RDMA_SIGNAL_UNREGISTER_APPEND_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_QEMU_RDMA_SIGNAL_UNREGISTER_APPEND) || \
    false)

static inline void trace_qemu_rdma_signal_unregister_append(uint64_t chunk, int pos)
{
    if (trace_event_get_state(TRACE_QEMU_RDMA_SIGNAL_UNREGISTER_APPEND)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 244 "../migration/trace-events"
            qemu_log("qemu_rdma_signal_unregister_append " "Appending unregister chunk %" PRIu64 " at position %d" "\n", chunk, pos);
#line 4340 "trace/trace-migration.h"
        }
    }
}

#define TRACE_QEMU_RDMA_SIGNAL_UNREGISTER_ALREADY_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_QEMU_RDMA_SIGNAL_UNREGISTER_ALREADY) || \
    false)

static inline void trace_qemu_rdma_signal_unregister_already(uint64_t chunk)
{
    if (trace_event_get_state(TRACE_QEMU_RDMA_SIGNAL_UNREGISTER_ALREADY)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 245 "../migration/trace-events"
            qemu_log("qemu_rdma_signal_unregister_already " "Unregister chunk %" PRIu64 " already in queue" "\n", chunk);
#line 4355 "trace/trace-migration.h"
        }
    }
}

#define TRACE_QEMU_RDMA_UNREGISTER_WAITING_INFLIGHT_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_QEMU_RDMA_UNREGISTER_WAITING_INFLIGHT) || \
    false)

static inline void trace_qemu_rdma_unregister_waiting_inflight(uint64_t chunk)
{
    if (trace_event_get_state(TRACE_QEMU_RDMA_UNREGISTER_WAITING_INFLIGHT)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 246 "../migration/trace-events"
            qemu_log("qemu_rdma_unregister_waiting_inflight " "Cannot unregister inflight chunk: %" PRIu64 "\n", chunk);
#line 4370 "trace/trace-migration.h"
        }
    }
}

#define TRACE_QEMU_RDMA_UNREGISTER_WAITING_PROC_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_QEMU_RDMA_UNREGISTER_WAITING_PROC) || \
    false)

static inline void trace_qemu_rdma_unregister_waiting_proc(uint64_t chunk, int pos)
{
    if (trace_event_get_state(TRACE_QEMU_RDMA_UNREGISTER_WAITING_PROC)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 247 "../migration/trace-events"
            qemu_log("qemu_rdma_unregister_waiting_proc " "Processing unregister for chunk: %" PRIu64 " at position %d" "\n", chunk, pos);
#line 4385 "trace/trace-migration.h"
        }
    }
}

#define TRACE_QEMU_RDMA_UNREGISTER_WAITING_SEND_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_QEMU_RDMA_UNREGISTER_WAITING_SEND) || \
    false)

static inline void trace_qemu_rdma_unregister_waiting_send(uint64_t chunk)
{
    if (trace_event_get_state(TRACE_QEMU_RDMA_UNREGISTER_WAITING_SEND)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 248 "../migration/trace-events"
            qemu_log("qemu_rdma_unregister_waiting_send " "Sending unregister for chunk: %" PRIu64 "\n", chunk);
#line 4400 "trace/trace-migration.h"
        }
    }
}

#define TRACE_QEMU_RDMA_UNREGISTER_WAITING_COMPLETE_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_QEMU_RDMA_UNREGISTER_WAITING_COMPLETE) || \
    false)

static inline void trace_qemu_rdma_unregister_waiting_complete(uint64_t chunk)
{
    if (trace_event_get_state(TRACE_QEMU_RDMA_UNREGISTER_WAITING_COMPLETE)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 249 "../migration/trace-events"
            qemu_log("qemu_rdma_unregister_waiting_complete " "Unregister for chunk: %" PRIu64 " complete." "\n", chunk);
#line 4415 "trace/trace-migration.h"
        }
    }
}

#define TRACE_QEMU_RDMA_WRITE_FLUSH_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_QEMU_RDMA_WRITE_FLUSH) || \
    false)

static inline void trace_qemu_rdma_write_flush(int sent)
{
    if (trace_event_get_state(TRACE_QEMU_RDMA_WRITE_FLUSH)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 250 "../migration/trace-events"
            qemu_log("qemu_rdma_write_flush " "sent total: %d" "\n", sent);
#line 4430 "trace/trace-migration.h"
        }
    }
}

#define TRACE_QEMU_RDMA_WRITE_ONE_BLOCK_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_QEMU_RDMA_WRITE_ONE_BLOCK) || \
    false)

static inline void trace_qemu_rdma_write_one_block(int count, int block, uint64_t chunk, uint64_t current, uint64_t len, int nb_sent, int nb_chunks)
{
    if (trace_event_get_state(TRACE_QEMU_RDMA_WRITE_ONE_BLOCK)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 251 "../migration/trace-events"
            qemu_log("qemu_rdma_write_one_block " "(%d) Not clobbering: block: %d chunk %" PRIu64 " current %" PRIu64 " len %" PRIu64 " %d %d" "\n", count, block, chunk, current, len, nb_sent, nb_chunks);
#line 4445 "trace/trace-migration.h"
        }
    }
}

#define TRACE_QEMU_RDMA_WRITE_ONE_POST_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_QEMU_RDMA_WRITE_ONE_POST) || \
    false)

static inline void trace_qemu_rdma_write_one_post(uint64_t chunk, long addr, long remote, uint32_t len)
{
    if (trace_event_get_state(TRACE_QEMU_RDMA_WRITE_ONE_POST)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 252 "../migration/trace-events"
            qemu_log("qemu_rdma_write_one_post " "Posting chunk: %" PRIu64 ", addr: 0x%lx remote: 0x%lx, bytes %" PRIu32 "\n", chunk, addr, remote, len);
#line 4460 "trace/trace-migration.h"
        }
    }
}

#define TRACE_QEMU_RDMA_WRITE_ONE_QUEUE_FULL_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_QEMU_RDMA_WRITE_ONE_QUEUE_FULL) || \
    false)

static inline void trace_qemu_rdma_write_one_queue_full(void)
{
    if (trace_event_get_state(TRACE_QEMU_RDMA_WRITE_ONE_QUEUE_FULL)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 253 "../migration/trace-events"
            qemu_log("qemu_rdma_write_one_queue_full " "" "\n");
#line 4475 "trace/trace-migration.h"
        }
    }
}

#define TRACE_QEMU_RDMA_WRITE_ONE_RECVREGRES_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_QEMU_RDMA_WRITE_ONE_RECVREGRES) || \
    false)

static inline void trace_qemu_rdma_write_one_recvregres(int mykey, int theirkey, uint64_t chunk)
{
    if (trace_event_get_state(TRACE_QEMU_RDMA_WRITE_ONE_RECVREGRES)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 254 "../migration/trace-events"
            qemu_log("qemu_rdma_write_one_recvregres " "Received registration result: my key: 0x%x their key 0x%x, chunk %" PRIu64 "\n", mykey, theirkey, chunk);
#line 4490 "trace/trace-migration.h"
        }
    }
}

#define TRACE_QEMU_RDMA_WRITE_ONE_SENDREG_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_QEMU_RDMA_WRITE_ONE_SENDREG) || \
    false)

static inline void trace_qemu_rdma_write_one_sendreg(uint64_t chunk, int len, int index, int64_t offset)
{
    if (trace_event_get_state(TRACE_QEMU_RDMA_WRITE_ONE_SENDREG)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 255 "../migration/trace-events"
            qemu_log("qemu_rdma_write_one_sendreg " "Sending registration request chunk %" PRIu64 " for %d bytes, index: %d, offset: %" PRId64 "\n", chunk, len, index, offset);
#line 4505 "trace/trace-migration.h"
        }
    }
}

#define TRACE_QEMU_RDMA_WRITE_ONE_TOP_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_QEMU_RDMA_WRITE_ONE_TOP) || \
    false)

static inline void trace_qemu_rdma_write_one_top(uint64_t chunks, uint64_t size)
{
    if (trace_event_get_state(TRACE_QEMU_RDMA_WRITE_ONE_TOP)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 256 "../migration/trace-events"
            qemu_log("qemu_rdma_write_one_top " "Writing %" PRIu64 " chunks, (%" PRIu64 " MB)" "\n", chunks, size);
#line 4520 "trace/trace-migration.h"
        }
    }
}

#define TRACE_QEMU_RDMA_WRITE_ONE_ZERO_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_QEMU_RDMA_WRITE_ONE_ZERO) || \
    false)

static inline void trace_qemu_rdma_write_one_zero(uint64_t chunk, int len, int index, int64_t offset)
{
    if (trace_event_get_state(TRACE_QEMU_RDMA_WRITE_ONE_ZERO)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 257 "../migration/trace-events"
            qemu_log("qemu_rdma_write_one_zero " "Entire chunk is zero, sending compress: %" PRIu64 " for %d bytes, index: %d, offset: %" PRId64 "\n", chunk, len, index, offset);
#line 4535 "trace/trace-migration.h"
        }
    }
}

#define TRACE_RDMA_ADD_BLOCK_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_RDMA_ADD_BLOCK) || \
    false)

static inline void trace_rdma_add_block(const char *block_name, int block, uint64_t addr, uint64_t offset, uint64_t len, uint64_t end, uint64_t bits, int chunks)
{
    if (trace_event_get_state(TRACE_RDMA_ADD_BLOCK)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 258 "../migration/trace-events"
            qemu_log("rdma_add_block " "Added Block: '%s':%d, addr: %" PRIu64 ", offset: %" PRIu64 " length: %" PRIu64 " end: %" PRIu64 " bits %" PRIu64 " chunks %d" "\n", block_name, block, addr, offset, len, end, bits, chunks);
#line 4550 "trace/trace-migration.h"
        }
    }
}

#define TRACE_RDMA_BLOCK_NOTIFICATION_HANDLE_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_RDMA_BLOCK_NOTIFICATION_HANDLE) || \
    false)

static inline void trace_rdma_block_notification_handle(const char *name, int index)
{
    if (trace_event_get_state(TRACE_RDMA_BLOCK_NOTIFICATION_HANDLE)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 259 "../migration/trace-events"
            qemu_log("rdma_block_notification_handle " "%s at %d" "\n", name, index);
#line 4565 "trace/trace-migration.h"
        }
    }
}

#define TRACE_RDMA_DELETE_BLOCK_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_RDMA_DELETE_BLOCK) || \
    false)

static inline void trace_rdma_delete_block(void *block, uint64_t addr, uint64_t offset, uint64_t len, uint64_t end, uint64_t bits, int chunks)
{
    if (trace_event_get_state(TRACE_RDMA_DELETE_BLOCK)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 260 "../migration/trace-events"
            qemu_log("rdma_delete_block " "Deleted Block: %p, addr: %" PRIu64 ", offset: %" PRIu64 " length: %" PRIu64 " end: %" PRIu64 " bits %" PRIu64 " chunks %d" "\n", block, addr, offset, len, end, bits, chunks);
#line 4580 "trace/trace-migration.h"
        }
    }
}

#define TRACE_RDMA_REGISTRATION_HANDLE_COMPRESS_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_RDMA_REGISTRATION_HANDLE_COMPRESS) || \
    false)

static inline void trace_rdma_registration_handle_compress(int64_t length, int index, int64_t offset)
{
    if (trace_event_get_state(TRACE_RDMA_REGISTRATION_HANDLE_COMPRESS)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 261 "../migration/trace-events"
            qemu_log("rdma_registration_handle_compress " "Zapping zero chunk: %" PRId64 " bytes, index %d, offset %" PRId64 "\n", length, index, offset);
#line 4595 "trace/trace-migration.h"
        }
    }
}

#define TRACE_RDMA_REGISTRATION_HANDLE_FINISHED_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_RDMA_REGISTRATION_HANDLE_FINISHED) || \
    false)

static inline void trace_rdma_registration_handle_finished(void)
{
    if (trace_event_get_state(TRACE_RDMA_REGISTRATION_HANDLE_FINISHED)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 262 "../migration/trace-events"
            qemu_log("rdma_registration_handle_finished " "" "\n");
#line 4610 "trace/trace-migration.h"
        }
    }
}

#define TRACE_RDMA_REGISTRATION_HANDLE_RAM_BLOCKS_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_RDMA_REGISTRATION_HANDLE_RAM_BLOCKS) || \
    false)

static inline void trace_rdma_registration_handle_ram_blocks(void)
{
    if (trace_event_get_state(TRACE_RDMA_REGISTRATION_HANDLE_RAM_BLOCKS)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 263 "../migration/trace-events"
            qemu_log("rdma_registration_handle_ram_blocks " "" "\n");
#line 4625 "trace/trace-migration.h"
        }
    }
}

#define TRACE_RDMA_REGISTRATION_HANDLE_RAM_BLOCKS_LOOP_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_RDMA_REGISTRATION_HANDLE_RAM_BLOCKS_LOOP) || \
    false)

static inline void trace_rdma_registration_handle_ram_blocks_loop(const char *name, uint64_t offset, uint64_t length, void *local_host_addr, unsigned int src_index)
{
    if (trace_event_get_state(TRACE_RDMA_REGISTRATION_HANDLE_RAM_BLOCKS_LOOP)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 264 "../migration/trace-events"
            qemu_log("rdma_registration_handle_ram_blocks_loop " "%s: @0x%" PRIx64 "/%" PRIu64 " host:@%p src_index: %u" "\n", name, offset, length, local_host_addr, src_index);
#line 4640 "trace/trace-migration.h"
        }
    }
}

#define TRACE_RDMA_REGISTRATION_HANDLE_REGISTER_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_RDMA_REGISTRATION_HANDLE_REGISTER) || \
    false)

static inline void trace_rdma_registration_handle_register(int requests)
{
    if (trace_event_get_state(TRACE_RDMA_REGISTRATION_HANDLE_REGISTER)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 265 "../migration/trace-events"
            qemu_log("rdma_registration_handle_register " "%d requests" "\n", requests);
#line 4655 "trace/trace-migration.h"
        }
    }
}

#define TRACE_RDMA_REGISTRATION_HANDLE_REGISTER_LOOP_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_RDMA_REGISTRATION_HANDLE_REGISTER_LOOP) || \
    false)

static inline void trace_rdma_registration_handle_register_loop(int req, int index, uint64_t addr, uint64_t chunks)
{
    if (trace_event_get_state(TRACE_RDMA_REGISTRATION_HANDLE_REGISTER_LOOP)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 266 "../migration/trace-events"
            qemu_log("rdma_registration_handle_register_loop " "Registration request (%d): index %d, current_addr %" PRIu64 " chunks: %" PRIu64 "\n", req, index, addr, chunks);
#line 4670 "trace/trace-migration.h"
        }
    }
}

#define TRACE_RDMA_REGISTRATION_HANDLE_REGISTER_RKEY_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_RDMA_REGISTRATION_HANDLE_REGISTER_RKEY) || \
    false)

static inline void trace_rdma_registration_handle_register_rkey(int rkey)
{
    if (trace_event_get_state(TRACE_RDMA_REGISTRATION_HANDLE_REGISTER_RKEY)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 267 "../migration/trace-events"
            qemu_log("rdma_registration_handle_register_rkey " "0x%x" "\n", rkey);
#line 4685 "trace/trace-migration.h"
        }
    }
}

#define TRACE_RDMA_REGISTRATION_HANDLE_UNREGISTER_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_RDMA_REGISTRATION_HANDLE_UNREGISTER) || \
    false)

static inline void trace_rdma_registration_handle_unregister(int requests)
{
    if (trace_event_get_state(TRACE_RDMA_REGISTRATION_HANDLE_UNREGISTER)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 268 "../migration/trace-events"
            qemu_log("rdma_registration_handle_unregister " "%d requests" "\n", requests);
#line 4700 "trace/trace-migration.h"
        }
    }
}

#define TRACE_RDMA_REGISTRATION_HANDLE_UNREGISTER_LOOP_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_RDMA_REGISTRATION_HANDLE_UNREGISTER_LOOP) || \
    false)

static inline void trace_rdma_registration_handle_unregister_loop(int count, int index, uint64_t chunk)
{
    if (trace_event_get_state(TRACE_RDMA_REGISTRATION_HANDLE_UNREGISTER_LOOP)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 269 "../migration/trace-events"
            qemu_log("rdma_registration_handle_unregister_loop " "Unregistration request (%d): index %d, chunk %" PRIu64 "\n", count, index, chunk);
#line 4715 "trace/trace-migration.h"
        }
    }
}

#define TRACE_RDMA_REGISTRATION_HANDLE_UNREGISTER_SUCCESS_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_RDMA_REGISTRATION_HANDLE_UNREGISTER_SUCCESS) || \
    false)

static inline void trace_rdma_registration_handle_unregister_success(uint64_t chunk)
{
    if (trace_event_get_state(TRACE_RDMA_REGISTRATION_HANDLE_UNREGISTER_SUCCESS)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 270 "../migration/trace-events"
            qemu_log("rdma_registration_handle_unregister_success " "%" PRIu64 "\n", chunk);
#line 4730 "trace/trace-migration.h"
        }
    }
}

#define TRACE_RDMA_REGISTRATION_HANDLE_WAIT_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_RDMA_REGISTRATION_HANDLE_WAIT) || \
    false)

static inline void trace_rdma_registration_handle_wait(void)
{
    if (trace_event_get_state(TRACE_RDMA_REGISTRATION_HANDLE_WAIT)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 271 "../migration/trace-events"
            qemu_log("rdma_registration_handle_wait " "" "\n");
#line 4745 "trace/trace-migration.h"
        }
    }
}

#define TRACE_RDMA_REGISTRATION_START_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_RDMA_REGISTRATION_START) || \
    false)

static inline void trace_rdma_registration_start(uint64_t flags)
{
    if (trace_event_get_state(TRACE_RDMA_REGISTRATION_START)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 272 "../migration/trace-events"
            qemu_log("rdma_registration_start " "%" PRIu64 "\n", flags);
#line 4760 "trace/trace-migration.h"
        }
    }
}

#define TRACE_RDMA_REGISTRATION_STOP_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_RDMA_REGISTRATION_STOP) || \
    false)

static inline void trace_rdma_registration_stop(uint64_t flags)
{
    if (trace_event_get_state(TRACE_RDMA_REGISTRATION_STOP)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 273 "../migration/trace-events"
            qemu_log("rdma_registration_stop " "%" PRIu64 "\n", flags);
#line 4775 "trace/trace-migration.h"
        }
    }
}

#define TRACE_RDMA_REGISTRATION_STOP_RAM_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_RDMA_REGISTRATION_STOP_RAM) || \
    false)

static inline void trace_rdma_registration_stop_ram(void)
{
    if (trace_event_get_state(TRACE_RDMA_REGISTRATION_STOP_RAM)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 274 "../migration/trace-events"
            qemu_log("rdma_registration_stop_ram " "" "\n");
#line 4790 "trace/trace-migration.h"
        }
    }
}

#define TRACE_RDMA_CONNECT_INCOMING_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_RDMA_CONNECT_INCOMING) || \
    false)

static inline void trace_rdma_connect_incoming(void)
{
    if (trace_event_get_state(TRACE_RDMA_CONNECT_INCOMING)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 275 "../migration/trace-events"
            qemu_log("rdma_connect_incoming " "" "\n");
#line 4805 "trace/trace-migration.h"
        }
    }
}

#define TRACE_RDMA_CONNECT_INCOMING_AFTER_DEST_INIT_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_RDMA_CONNECT_INCOMING_AFTER_DEST_INIT) || \
    false)

static inline void trace_rdma_connect_incoming_after_dest_init(void)
{
    if (trace_event_get_state(TRACE_RDMA_CONNECT_INCOMING_AFTER_DEST_INIT)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 276 "../migration/trace-events"
            qemu_log("rdma_connect_incoming_after_dest_init " "" "\n");
#line 4820 "trace/trace-migration.h"
        }
    }
}

#define TRACE_RDMA_CONNECT_INCOMING_AFTER_RDMA_LISTEN_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_RDMA_CONNECT_INCOMING_AFTER_RDMA_LISTEN) || \
    false)

static inline void trace_rdma_connect_incoming_after_rdma_listen(void)
{
    if (trace_event_get_state(TRACE_RDMA_CONNECT_INCOMING_AFTER_RDMA_LISTEN)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 277 "../migration/trace-events"
            qemu_log("rdma_connect_incoming_after_rdma_listen " "" "\n");
#line 4835 "trace/trace-migration.h"
        }
    }
}

#define TRACE_RDMA_CONNECT_OUTGOING_AFTER_RDMA_CONNECT_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_RDMA_CONNECT_OUTGOING_AFTER_RDMA_CONNECT) || \
    false)

static inline void trace_rdma_connect_outgoing_after_rdma_connect(void)
{
    if (trace_event_get_state(TRACE_RDMA_CONNECT_OUTGOING_AFTER_RDMA_CONNECT)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 278 "../migration/trace-events"
            qemu_log("rdma_connect_outgoing_after_rdma_connect " "" "\n");
#line 4850 "trace/trace-migration.h"
        }
    }
}

#define TRACE_RDMA_CONNECT_OUTGOING_AFTER_RDMA_SOURCE_INIT_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_RDMA_CONNECT_OUTGOING_AFTER_RDMA_SOURCE_INIT) || \
    false)

static inline void trace_rdma_connect_outgoing_after_rdma_source_init(void)
{
    if (trace_event_get_state(TRACE_RDMA_CONNECT_OUTGOING_AFTER_RDMA_SOURCE_INIT)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 279 "../migration/trace-events"
            qemu_log("rdma_connect_outgoing_after_rdma_source_init " "" "\n");
#line 4865 "trace/trace-migration.h"
        }
    }
}

#define TRACE_POSTCOPY_DISCARD_SEND_FINISH_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_POSTCOPY_DISCARD_SEND_FINISH) || \
    false)

static inline void trace_postcopy_discard_send_finish(const char *ramblock, int nwords, int ncmds)
{
    if (trace_event_get_state(TRACE_POSTCOPY_DISCARD_SEND_FINISH)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 282 "../migration/trace-events"
            qemu_log("postcopy_discard_send_finish " "%s mask words sent=%d in %d commands" "\n", ramblock, nwords, ncmds);
#line 4880 "trace/trace-migration.h"
        }
    }
}

#define TRACE_POSTCOPY_DISCARD_SEND_RANGE_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_POSTCOPY_DISCARD_SEND_RANGE) || \
    false)

static inline void trace_postcopy_discard_send_range(const char *ramblock, unsigned long start, unsigned long length)
{
    if (trace_event_get_state(TRACE_POSTCOPY_DISCARD_SEND_RANGE)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 283 "../migration/trace-events"
            qemu_log("postcopy_discard_send_range " "%s:%lx/%lx" "\n", ramblock, start, length);
#line 4895 "trace/trace-migration.h"
        }
    }
}

#define TRACE_POSTCOPY_CLEANUP_RANGE_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_POSTCOPY_CLEANUP_RANGE) || \
    false)

static inline void trace_postcopy_cleanup_range(const char *ramblock, void *host_addr, size_t offset, size_t length)
{
    if (trace_event_get_state(TRACE_POSTCOPY_CLEANUP_RANGE)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 284 "../migration/trace-events"
            qemu_log("postcopy_cleanup_range " "%s: %p offset=0x%zx length=0x%zx" "\n", ramblock, host_addr, offset, length);
#line 4910 "trace/trace-migration.h"
        }
    }
}

#define TRACE_POSTCOPY_INIT_RANGE_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_POSTCOPY_INIT_RANGE) || \
    false)

static inline void trace_postcopy_init_range(const char *ramblock, void *host_addr, size_t offset, size_t length)
{
    if (trace_event_get_state(TRACE_POSTCOPY_INIT_RANGE)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 285 "../migration/trace-events"
            qemu_log("postcopy_init_range " "%s: %p offset=0x%zx length=0x%zx" "\n", ramblock, host_addr, offset, length);
#line 4925 "trace/trace-migration.h"
        }
    }
}

#define TRACE_POSTCOPY_NHP_RANGE_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_POSTCOPY_NHP_RANGE) || \
    false)

static inline void trace_postcopy_nhp_range(const char *ramblock, void *host_addr, size_t offset, size_t length)
{
    if (trace_event_get_state(TRACE_POSTCOPY_NHP_RANGE)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 286 "../migration/trace-events"
            qemu_log("postcopy_nhp_range " "%s: %p offset=0x%zx length=0x%zx" "\n", ramblock, host_addr, offset, length);
#line 4940 "trace/trace-migration.h"
        }
    }
}

#define TRACE_POSTCOPY_PLACE_PAGE_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_POSTCOPY_PLACE_PAGE) || \
    false)

static inline void trace_postcopy_place_page(void *host_addr)
{
    if (trace_event_get_state(TRACE_POSTCOPY_PLACE_PAGE)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 287 "../migration/trace-events"
            qemu_log("postcopy_place_page " "host=%p" "\n", host_addr);
#line 4955 "trace/trace-migration.h"
        }
    }
}

#define TRACE_POSTCOPY_PLACE_PAGE_ZERO_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_POSTCOPY_PLACE_PAGE_ZERO) || \
    false)

static inline void trace_postcopy_place_page_zero(void *host_addr)
{
    if (trace_event_get_state(TRACE_POSTCOPY_PLACE_PAGE_ZERO)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 288 "../migration/trace-events"
            qemu_log("postcopy_place_page_zero " "host=%p" "\n", host_addr);
#line 4970 "trace/trace-migration.h"
        }
    }
}

#define TRACE_POSTCOPY_RAM_ENABLE_NOTIFY_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_POSTCOPY_RAM_ENABLE_NOTIFY) || \
    false)

static inline void trace_postcopy_ram_enable_notify(void)
{
    if (trace_event_get_state(TRACE_POSTCOPY_RAM_ENABLE_NOTIFY)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 289 "../migration/trace-events"
            qemu_log("postcopy_ram_enable_notify " "" "\n");
#line 4985 "trace/trace-migration.h"
        }
    }
}

#define TRACE_POSTCOPY_PAUSE_FAULT_THREAD_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_POSTCOPY_PAUSE_FAULT_THREAD) || \
    false)

static inline void trace_postcopy_pause_fault_thread(void)
{
    if (trace_event_get_state(TRACE_POSTCOPY_PAUSE_FAULT_THREAD)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 290 "../migration/trace-events"
            qemu_log("postcopy_pause_fault_thread " "" "\n");
#line 5000 "trace/trace-migration.h"
        }
    }
}

#define TRACE_POSTCOPY_PAUSE_FAULT_THREAD_CONTINUED_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_POSTCOPY_PAUSE_FAULT_THREAD_CONTINUED) || \
    false)

static inline void trace_postcopy_pause_fault_thread_continued(void)
{
    if (trace_event_get_state(TRACE_POSTCOPY_PAUSE_FAULT_THREAD_CONTINUED)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 291 "../migration/trace-events"
            qemu_log("postcopy_pause_fault_thread_continued " "" "\n");
#line 5015 "trace/trace-migration.h"
        }
    }
}

#define TRACE_POSTCOPY_PAUSE_FAST_LOAD_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_POSTCOPY_PAUSE_FAST_LOAD) || \
    false)

static inline void trace_postcopy_pause_fast_load(void)
{
    if (trace_event_get_state(TRACE_POSTCOPY_PAUSE_FAST_LOAD)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 292 "../migration/trace-events"
            qemu_log("postcopy_pause_fast_load " "" "\n");
#line 5030 "trace/trace-migration.h"
        }
    }
}

#define TRACE_POSTCOPY_PAUSE_FAST_LOAD_CONTINUED_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_POSTCOPY_PAUSE_FAST_LOAD_CONTINUED) || \
    false)

static inline void trace_postcopy_pause_fast_load_continued(void)
{
    if (trace_event_get_state(TRACE_POSTCOPY_PAUSE_FAST_LOAD_CONTINUED)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 293 "../migration/trace-events"
            qemu_log("postcopy_pause_fast_load_continued " "" "\n");
#line 5045 "trace/trace-migration.h"
        }
    }
}

#define TRACE_POSTCOPY_RAM_FAULT_THREAD_ENTRY_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_POSTCOPY_RAM_FAULT_THREAD_ENTRY) || \
    false)

static inline void trace_postcopy_ram_fault_thread_entry(void)
{
    if (trace_event_get_state(TRACE_POSTCOPY_RAM_FAULT_THREAD_ENTRY)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 294 "../migration/trace-events"
            qemu_log("postcopy_ram_fault_thread_entry " "" "\n");
#line 5060 "trace/trace-migration.h"
        }
    }
}

#define TRACE_POSTCOPY_RAM_FAULT_THREAD_EXIT_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_POSTCOPY_RAM_FAULT_THREAD_EXIT) || \
    false)

static inline void trace_postcopy_ram_fault_thread_exit(void)
{
    if (trace_event_get_state(TRACE_POSTCOPY_RAM_FAULT_THREAD_EXIT)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 295 "../migration/trace-events"
            qemu_log("postcopy_ram_fault_thread_exit " "" "\n");
#line 5075 "trace/trace-migration.h"
        }
    }
}

#define TRACE_POSTCOPY_RAM_FAULT_THREAD_FDS_CORE_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_POSTCOPY_RAM_FAULT_THREAD_FDS_CORE) || \
    false)

static inline void trace_postcopy_ram_fault_thread_fds_core(int baseufd, int quitfd)
{
    if (trace_event_get_state(TRACE_POSTCOPY_RAM_FAULT_THREAD_FDS_CORE)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 296 "../migration/trace-events"
            qemu_log("postcopy_ram_fault_thread_fds_core " "ufd: %d quitfd: %d" "\n", baseufd, quitfd);
#line 5090 "trace/trace-migration.h"
        }
    }
}

#define TRACE_POSTCOPY_RAM_FAULT_THREAD_FDS_EXTRA_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_POSTCOPY_RAM_FAULT_THREAD_FDS_EXTRA) || \
    false)

static inline void trace_postcopy_ram_fault_thread_fds_extra(size_t index, const char *name, int fd)
{
    if (trace_event_get_state(TRACE_POSTCOPY_RAM_FAULT_THREAD_FDS_EXTRA)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 297 "../migration/trace-events"
            qemu_log("postcopy_ram_fault_thread_fds_extra " "%zd/%s: %d" "\n", index, name, fd);
#line 5105 "trace/trace-migration.h"
        }
    }
}

#define TRACE_POSTCOPY_RAM_FAULT_THREAD_QUIT_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_POSTCOPY_RAM_FAULT_THREAD_QUIT) || \
    false)

static inline void trace_postcopy_ram_fault_thread_quit(void)
{
    if (trace_event_get_state(TRACE_POSTCOPY_RAM_FAULT_THREAD_QUIT)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 298 "../migration/trace-events"
            qemu_log("postcopy_ram_fault_thread_quit " "" "\n");
#line 5120 "trace/trace-migration.h"
        }
    }
}

#define TRACE_POSTCOPY_RAM_FAULT_THREAD_REQUEST_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_POSTCOPY_RAM_FAULT_THREAD_REQUEST) || \
    false)

static inline void trace_postcopy_ram_fault_thread_request(uint64_t hostaddr, const char *ramblock, size_t offset, uint32_t pid)
{
    if (trace_event_get_state(TRACE_POSTCOPY_RAM_FAULT_THREAD_REQUEST)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 299 "../migration/trace-events"
            qemu_log("postcopy_ram_fault_thread_request " "Request for HVA=0x%" PRIx64 " rb=%s offset=0x%zx pid=%u" "\n", hostaddr, ramblock, offset, pid);
#line 5135 "trace/trace-migration.h"
        }
    }
}

#define TRACE_POSTCOPY_RAM_INCOMING_CLEANUP_CLOSEUF_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_POSTCOPY_RAM_INCOMING_CLEANUP_CLOSEUF) || \
    false)

static inline void trace_postcopy_ram_incoming_cleanup_closeuf(void)
{
    if (trace_event_get_state(TRACE_POSTCOPY_RAM_INCOMING_CLEANUP_CLOSEUF)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 300 "../migration/trace-events"
            qemu_log("postcopy_ram_incoming_cleanup_closeuf " "" "\n");
#line 5150 "trace/trace-migration.h"
        }
    }
}

#define TRACE_POSTCOPY_RAM_INCOMING_CLEANUP_ENTRY_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_POSTCOPY_RAM_INCOMING_CLEANUP_ENTRY) || \
    false)

static inline void trace_postcopy_ram_incoming_cleanup_entry(void)
{
    if (trace_event_get_state(TRACE_POSTCOPY_RAM_INCOMING_CLEANUP_ENTRY)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 301 "../migration/trace-events"
            qemu_log("postcopy_ram_incoming_cleanup_entry " "" "\n");
#line 5165 "trace/trace-migration.h"
        }
    }
}

#define TRACE_POSTCOPY_RAM_INCOMING_CLEANUP_EXIT_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_POSTCOPY_RAM_INCOMING_CLEANUP_EXIT) || \
    false)

static inline void trace_postcopy_ram_incoming_cleanup_exit(void)
{
    if (trace_event_get_state(TRACE_POSTCOPY_RAM_INCOMING_CLEANUP_EXIT)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 302 "../migration/trace-events"
            qemu_log("postcopy_ram_incoming_cleanup_exit " "" "\n");
#line 5180 "trace/trace-migration.h"
        }
    }
}

#define TRACE_POSTCOPY_RAM_INCOMING_CLEANUP_JOIN_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_POSTCOPY_RAM_INCOMING_CLEANUP_JOIN) || \
    false)

static inline void trace_postcopy_ram_incoming_cleanup_join(void)
{
    if (trace_event_get_state(TRACE_POSTCOPY_RAM_INCOMING_CLEANUP_JOIN)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 303 "../migration/trace-events"
            qemu_log("postcopy_ram_incoming_cleanup_join " "" "\n");
#line 5195 "trace/trace-migration.h"
        }
    }
}

#define TRACE_POSTCOPY_RAM_INCOMING_CLEANUP_BLOCKTIME_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_POSTCOPY_RAM_INCOMING_CLEANUP_BLOCKTIME) || \
    false)

static inline void trace_postcopy_ram_incoming_cleanup_blocktime(uint64_t total)
{
    if (trace_event_get_state(TRACE_POSTCOPY_RAM_INCOMING_CLEANUP_BLOCKTIME)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 304 "../migration/trace-events"
            qemu_log("postcopy_ram_incoming_cleanup_blocktime " "total blocktime %" PRIu64 "\n", total);
#line 5210 "trace/trace-migration.h"
        }
    }
}

#define TRACE_POSTCOPY_REQUEST_SHARED_PAGE_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_POSTCOPY_REQUEST_SHARED_PAGE) || \
    false)

static inline void trace_postcopy_request_shared_page(const char *sharer, const char *rb, uint64_t rb_offset)
{
    if (trace_event_get_state(TRACE_POSTCOPY_REQUEST_SHARED_PAGE)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 305 "../migration/trace-events"
            qemu_log("postcopy_request_shared_page " "for %s in %s offset 0x%"PRIx64 "\n", sharer, rb, rb_offset);
#line 5225 "trace/trace-migration.h"
        }
    }
}

#define TRACE_POSTCOPY_REQUEST_SHARED_PAGE_PRESENT_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_POSTCOPY_REQUEST_SHARED_PAGE_PRESENT) || \
    false)

static inline void trace_postcopy_request_shared_page_present(const char *sharer, const char *rb, uint64_t rb_offset)
{
    if (trace_event_get_state(TRACE_POSTCOPY_REQUEST_SHARED_PAGE_PRESENT)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 306 "../migration/trace-events"
            qemu_log("postcopy_request_shared_page_present " "%s already %s offset 0x%"PRIx64 "\n", sharer, rb, rb_offset);
#line 5240 "trace/trace-migration.h"
        }
    }
}

#define TRACE_POSTCOPY_WAKE_SHARED_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_POSTCOPY_WAKE_SHARED) || \
    false)

static inline void trace_postcopy_wake_shared(uint64_t client_addr, const char *rb)
{
    if (trace_event_get_state(TRACE_POSTCOPY_WAKE_SHARED)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 307 "../migration/trace-events"
            qemu_log("postcopy_wake_shared " "at 0x%"PRIx64" in %s" "\n", client_addr, rb);
#line 5255 "trace/trace-migration.h"
        }
    }
}

#define TRACE_POSTCOPY_PAGE_REQ_DEL_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_POSTCOPY_PAGE_REQ_DEL) || \
    false)

static inline void trace_postcopy_page_req_del(void *addr, int count)
{
    if (trace_event_get_state(TRACE_POSTCOPY_PAGE_REQ_DEL)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 308 "../migration/trace-events"
            qemu_log("postcopy_page_req_del " "resolved page req %p total %d" "\n", addr, count);
#line 5270 "trace/trace-migration.h"
        }
    }
}

#define TRACE_POSTCOPY_PREEMPT_TLS_HANDSHAKE_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_POSTCOPY_PREEMPT_TLS_HANDSHAKE) || \
    false)

static inline void trace_postcopy_preempt_tls_handshake(void)
{
    if (trace_event_get_state(TRACE_POSTCOPY_PREEMPT_TLS_HANDSHAKE)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 309 "../migration/trace-events"
            qemu_log("postcopy_preempt_tls_handshake " "" "\n");
#line 5285 "trace/trace-migration.h"
        }
    }
}

#define TRACE_POSTCOPY_PREEMPT_NEW_CHANNEL_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_POSTCOPY_PREEMPT_NEW_CHANNEL) || \
    false)

static inline void trace_postcopy_preempt_new_channel(void)
{
    if (trace_event_get_state(TRACE_POSTCOPY_PREEMPT_NEW_CHANNEL)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 310 "../migration/trace-events"
            qemu_log("postcopy_preempt_new_channel " "" "\n");
#line 5300 "trace/trace-migration.h"
        }
    }
}

#define TRACE_POSTCOPY_PREEMPT_THREAD_ENTRY_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_POSTCOPY_PREEMPT_THREAD_ENTRY) || \
    false)

static inline void trace_postcopy_preempt_thread_entry(void)
{
    if (trace_event_get_state(TRACE_POSTCOPY_PREEMPT_THREAD_ENTRY)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 311 "../migration/trace-events"
            qemu_log("postcopy_preempt_thread_entry " "" "\n");
#line 5315 "trace/trace-migration.h"
        }
    }
}

#define TRACE_POSTCOPY_PREEMPT_THREAD_EXIT_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_POSTCOPY_PREEMPT_THREAD_EXIT) || \
    false)

static inline void trace_postcopy_preempt_thread_exit(void)
{
    if (trace_event_get_state(TRACE_POSTCOPY_PREEMPT_THREAD_EXIT)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 312 "../migration/trace-events"
            qemu_log("postcopy_preempt_thread_exit " "" "\n");
#line 5330 "trace/trace-migration.h"
        }
    }
}

#define TRACE_POSTCOPY_BLOCKTIME_TID_CPU_MAP_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_POSTCOPY_BLOCKTIME_TID_CPU_MAP) || \
    false)

static inline void trace_postcopy_blocktime_tid_cpu_map(int cpu, uint32_t tid)
{
    if (trace_event_get_state(TRACE_POSTCOPY_BLOCKTIME_TID_CPU_MAP)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 313 "../migration/trace-events"
            qemu_log("postcopy_blocktime_tid_cpu_map " "cpu: %d, tid: %u" "\n", cpu, tid);
#line 5345 "trace/trace-migration.h"
        }
    }
}

#define TRACE_POSTCOPY_BLOCKTIME_BEGIN_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_POSTCOPY_BLOCKTIME_BEGIN) || \
    false)

static inline void trace_postcopy_blocktime_begin(uint64_t addr, uint64_t time, int cpu, bool exists)
{
    if (trace_event_get_state(TRACE_POSTCOPY_BLOCKTIME_BEGIN)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 314 "../migration/trace-events"
            qemu_log("postcopy_blocktime_begin " "addr: 0x%" PRIx64 ", time: %" PRIu64 ", cpu: %d, exist: %d" "\n", addr, time, cpu, exists);
#line 5360 "trace/trace-migration.h"
        }
    }
}

#define TRACE_POSTCOPY_BLOCKTIME_END_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_POSTCOPY_BLOCKTIME_END) || \
    false)

static inline void trace_postcopy_blocktime_end(uint64_t addr, uint64_t time, int affected_cpu, int affected_non_cpus)
{
    if (trace_event_get_state(TRACE_POSTCOPY_BLOCKTIME_END)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 315 "../migration/trace-events"
            qemu_log("postcopy_blocktime_end " "addr: 0x%" PRIx64 ", time: %" PRIu64 ", affected_cpus: %d, affected_non_cpus: %d" "\n", addr, time, affected_cpu, affected_non_cpus);
#line 5375 "trace/trace-migration.h"
        }
    }
}

#define TRACE_POSTCOPY_BLOCKTIME_END_ONE_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_POSTCOPY_BLOCKTIME_END_ONE) || \
    false)

static inline void trace_postcopy_blocktime_end_one(int cpu, uint8_t left_faults)
{
    if (trace_event_get_state(TRACE_POSTCOPY_BLOCKTIME_END_ONE)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 316 "../migration/trace-events"
            qemu_log("postcopy_blocktime_end_one " "cpu: %d, left_faults: %" PRIu8 "\n", cpu, left_faults);
#line 5390 "trace/trace-migration.h"
        }
    }
}

#define TRACE_MIGRATION_EXEC_OUTGOING_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_MIGRATION_EXEC_OUTGOING) || \
    false)

static inline void trace_migration_exec_outgoing(const char *cmd)
{
    if (trace_event_get_state(TRACE_MIGRATION_EXEC_OUTGOING)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 319 "../migration/trace-events"
            qemu_log("migration_exec_outgoing " "cmd=%s" "\n", cmd);
#line 5405 "trace/trace-migration.h"
        }
    }
}

#define TRACE_MIGRATION_EXEC_INCOMING_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_MIGRATION_EXEC_INCOMING) || \
    false)

static inline void trace_migration_exec_incoming(const char *cmd)
{
    if (trace_event_get_state(TRACE_MIGRATION_EXEC_INCOMING)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 320 "../migration/trace-events"
            qemu_log("migration_exec_incoming " "cmd=%s" "\n", cmd);
#line 5420 "trace/trace-migration.h"
        }
    }
}

#define TRACE_MIGRATION_FD_OUTGOING_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_MIGRATION_FD_OUTGOING) || \
    false)

static inline void trace_migration_fd_outgoing(int fd)
{
    if (trace_event_get_state(TRACE_MIGRATION_FD_OUTGOING)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 323 "../migration/trace-events"
            qemu_log("migration_fd_outgoing " "fd=%d" "\n", fd);
#line 5435 "trace/trace-migration.h"
        }
    }
}

#define TRACE_MIGRATION_FD_INCOMING_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_MIGRATION_FD_INCOMING) || \
    false)

static inline void trace_migration_fd_incoming(int fd)
{
    if (trace_event_get_state(TRACE_MIGRATION_FD_INCOMING)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 324 "../migration/trace-events"
            qemu_log("migration_fd_incoming " "fd=%d" "\n", fd);
#line 5450 "trace/trace-migration.h"
        }
    }
}

#define TRACE_MIGRATION_FILE_OUTGOING_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_MIGRATION_FILE_OUTGOING) || \
    false)

static inline void trace_migration_file_outgoing(const char *filename)
{
    if (trace_event_get_state(TRACE_MIGRATION_FILE_OUTGOING)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 327 "../migration/trace-events"
            qemu_log("migration_file_outgoing " "filename=%s" "\n", filename);
#line 5465 "trace/trace-migration.h"
        }
    }
}

#define TRACE_MIGRATION_FILE_INCOMING_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_MIGRATION_FILE_INCOMING) || \
    false)

static inline void trace_migration_file_incoming(const char *filename)
{
    if (trace_event_get_state(TRACE_MIGRATION_FILE_INCOMING)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 328 "../migration/trace-events"
            qemu_log("migration_file_incoming " "filename=%s" "\n", filename);
#line 5480 "trace/trace-migration.h"
        }
    }
}

#define TRACE_MIGRATION_SOCKET_INCOMING_ACCEPTED_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_MIGRATION_SOCKET_INCOMING_ACCEPTED) || \
    false)

static inline void trace_migration_socket_incoming_accepted(void)
{
    if (trace_event_get_state(TRACE_MIGRATION_SOCKET_INCOMING_ACCEPTED)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 331 "../migration/trace-events"
            qemu_log("migration_socket_incoming_accepted " "" "\n");
#line 5495 "trace/trace-migration.h"
        }
    }
}

#define TRACE_MIGRATION_SOCKET_OUTGOING_CONNECTED_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_MIGRATION_SOCKET_OUTGOING_CONNECTED) || \
    false)

static inline void trace_migration_socket_outgoing_connected(void)
{
    if (trace_event_get_state(TRACE_MIGRATION_SOCKET_OUTGOING_CONNECTED)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 332 "../migration/trace-events"
            qemu_log("migration_socket_outgoing_connected " "" "\n");
#line 5510 "trace/trace-migration.h"
        }
    }
}

#define TRACE_MIGRATION_SOCKET_OUTGOING_ERROR_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_MIGRATION_SOCKET_OUTGOING_ERROR) || \
    false)

static inline void trace_migration_socket_outgoing_error(const char *err)
{
    if (trace_event_get_state(TRACE_MIGRATION_SOCKET_OUTGOING_ERROR)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 333 "../migration/trace-events"
            qemu_log("migration_socket_outgoing_error " "error=%s" "\n", err);
#line 5525 "trace/trace-migration.h"
        }
    }
}

#define TRACE_MIGRATION_TLS_OUTGOING_HANDSHAKE_START_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_MIGRATION_TLS_OUTGOING_HANDSHAKE_START) || \
    false)

static inline void trace_migration_tls_outgoing_handshake_start(void)
{
    if (trace_event_get_state(TRACE_MIGRATION_TLS_OUTGOING_HANDSHAKE_START)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 336 "../migration/trace-events"
            qemu_log("migration_tls_outgoing_handshake_start " "" "\n");
#line 5540 "trace/trace-migration.h"
        }
    }
}

#define TRACE_MIGRATION_TLS_OUTGOING_HANDSHAKE_ERROR_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_MIGRATION_TLS_OUTGOING_HANDSHAKE_ERROR) || \
    false)

static inline void trace_migration_tls_outgoing_handshake_error(const char *err)
{
    if (trace_event_get_state(TRACE_MIGRATION_TLS_OUTGOING_HANDSHAKE_ERROR)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 337 "../migration/trace-events"
            qemu_log("migration_tls_outgoing_handshake_error " "err=%s" "\n", err);
#line 5555 "trace/trace-migration.h"
        }
    }
}

#define TRACE_MIGRATION_TLS_OUTGOING_HANDSHAKE_COMPLETE_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_MIGRATION_TLS_OUTGOING_HANDSHAKE_COMPLETE) || \
    false)

static inline void trace_migration_tls_outgoing_handshake_complete(void)
{
    if (trace_event_get_state(TRACE_MIGRATION_TLS_OUTGOING_HANDSHAKE_COMPLETE)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 338 "../migration/trace-events"
            qemu_log("migration_tls_outgoing_handshake_complete " "" "\n");
#line 5570 "trace/trace-migration.h"
        }
    }
}

#define TRACE_MIGRATION_TLS_INCOMING_HANDSHAKE_START_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_MIGRATION_TLS_INCOMING_HANDSHAKE_START) || \
    false)

static inline void trace_migration_tls_incoming_handshake_start(void)
{
    if (trace_event_get_state(TRACE_MIGRATION_TLS_INCOMING_HANDSHAKE_START)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 339 "../migration/trace-events"
            qemu_log("migration_tls_incoming_handshake_start " "" "\n");
#line 5585 "trace/trace-migration.h"
        }
    }
}

#define TRACE_MIGRATION_TLS_INCOMING_HANDSHAKE_ERROR_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_MIGRATION_TLS_INCOMING_HANDSHAKE_ERROR) || \
    false)

static inline void trace_migration_tls_incoming_handshake_error(const char *err)
{
    if (trace_event_get_state(TRACE_MIGRATION_TLS_INCOMING_HANDSHAKE_ERROR)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 340 "../migration/trace-events"
            qemu_log("migration_tls_incoming_handshake_error " "err=%s" "\n", err);
#line 5600 "trace/trace-migration.h"
        }
    }
}

#define TRACE_MIGRATION_TLS_INCOMING_HANDSHAKE_COMPLETE_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_MIGRATION_TLS_INCOMING_HANDSHAKE_COMPLETE) || \
    false)

static inline void trace_migration_tls_incoming_handshake_complete(void)
{
    if (trace_event_get_state(TRACE_MIGRATION_TLS_INCOMING_HANDSHAKE_COMPLETE)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 341 "../migration/trace-events"
            qemu_log("migration_tls_incoming_handshake_complete " "" "\n");
#line 5615 "trace/trace-migration.h"
        }
    }
}

#define TRACE_COLO_VM_STATE_CHANGE_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_COLO_VM_STATE_CHANGE) || \
    false)

static inline void trace_colo_vm_state_change(const char *old, const char *new)
{
    if (trace_event_get_state(TRACE_COLO_VM_STATE_CHANGE)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 344 "../migration/trace-events"
            qemu_log("colo_vm_state_change " "Change '%s' => '%s'" "\n", old, new);
#line 5630 "trace/trace-migration.h"
        }
    }
}

#define TRACE_COLO_SEND_MESSAGE_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_COLO_SEND_MESSAGE) || \
    false)

static inline void trace_colo_send_message(const char *msg)
{
    if (trace_event_get_state(TRACE_COLO_SEND_MESSAGE)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 345 "../migration/trace-events"
            qemu_log("colo_send_message " "Send '%s' message" "\n", msg);
#line 5645 "trace/trace-migration.h"
        }
    }
}

#define TRACE_COLO_RECEIVE_MESSAGE_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_COLO_RECEIVE_MESSAGE) || \
    false)

static inline void trace_colo_receive_message(const char *msg)
{
    if (trace_event_get_state(TRACE_COLO_RECEIVE_MESSAGE)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 346 "../migration/trace-events"
            qemu_log("colo_receive_message " "Receive '%s' message" "\n", msg);
#line 5660 "trace/trace-migration.h"
        }
    }
}

#define TRACE_COLO_FAILOVER_SET_STATE_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_COLO_FAILOVER_SET_STATE) || \
    false)

static inline void trace_colo_failover_set_state(const char *new_state)
{
    if (trace_event_get_state(TRACE_COLO_FAILOVER_SET_STATE)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 349 "../migration/trace-events"
            qemu_log("colo_failover_set_state " "new state %s" "\n", new_state);
#line 5675 "trace/trace-migration.h"
        }
    }
}

#define TRACE_CPR_SAVE_FD_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_CPR_SAVE_FD) || \
    false)

static inline void trace_cpr_save_fd(const char *name, int id, int fd)
{
    if (trace_event_get_state(TRACE_CPR_SAVE_FD)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 352 "../migration/trace-events"
            qemu_log("cpr_save_fd " "%s, id %d, fd %d" "\n", name, id, fd);
#line 5690 "trace/trace-migration.h"
        }
    }
}

#define TRACE_CPR_DELETE_FD_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_CPR_DELETE_FD) || \
    false)

static inline void trace_cpr_delete_fd(const char *name, int id)
{
    if (trace_event_get_state(TRACE_CPR_DELETE_FD)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 353 "../migration/trace-events"
            qemu_log("cpr_delete_fd " "%s, id %d" "\n", name, id);
#line 5705 "trace/trace-migration.h"
        }
    }
}

#define TRACE_CPR_FIND_FD_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_CPR_FIND_FD) || \
    false)

static inline void trace_cpr_find_fd(const char *name, int id, int fd)
{
    if (trace_event_get_state(TRACE_CPR_FIND_FD)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 354 "../migration/trace-events"
            qemu_log("cpr_find_fd " "%s, id %d returns %d" "\n", name, id, fd);
#line 5720 "trace/trace-migration.h"
        }
    }
}

#define TRACE_CPR_STATE_SAVE_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_CPR_STATE_SAVE) || \
    false)

static inline void trace_cpr_state_save(const char *mode)
{
    if (trace_event_get_state(TRACE_CPR_STATE_SAVE)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 355 "../migration/trace-events"
            qemu_log("cpr_state_save " "%s mode" "\n", mode);
#line 5735 "trace/trace-migration.h"
        }
    }
}

#define TRACE_CPR_STATE_LOAD_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_CPR_STATE_LOAD) || \
    false)

static inline void trace_cpr_state_load(const char *mode)
{
    if (trace_event_get_state(TRACE_CPR_STATE_LOAD)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 356 "../migration/trace-events"
            qemu_log("cpr_state_load " "%s mode" "\n", mode);
#line 5750 "trace/trace-migration.h"
        }
    }
}

#define TRACE_CPR_TRANSFER_INPUT_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_CPR_TRANSFER_INPUT) || \
    false)

static inline void trace_cpr_transfer_input(const char *path)
{
    if (trace_event_get_state(TRACE_CPR_TRANSFER_INPUT)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 357 "../migration/trace-events"
            qemu_log("cpr_transfer_input " "%s" "\n", path);
#line 5765 "trace/trace-migration.h"
        }
    }
}

#define TRACE_CPR_TRANSFER_OUTPUT_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_CPR_TRANSFER_OUTPUT) || \
    false)

static inline void trace_cpr_transfer_output(const char *path)
{
    if (trace_event_get_state(TRACE_CPR_TRANSFER_OUTPUT)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 358 "../migration/trace-events"
            qemu_log("cpr_transfer_output " "%s" "\n", path);
#line 5780 "trace/trace-migration.h"
        }
    }
}

#define TRACE_CPR_EXEC_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_CPR_EXEC) || \
    false)

static inline void trace_cpr_exec(void)
{
    if (trace_event_get_state(TRACE_CPR_EXEC)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 359 "../migration/trace-events"
            qemu_log("cpr_exec " "" "\n");
#line 5795 "trace/trace-migration.h"
        }
    }
}

#define TRACE_SEND_BITMAP_HEADER_ENTER_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_SEND_BITMAP_HEADER_ENTER) || \
    false)

static inline void trace_send_bitmap_header_enter(void)
{
    if (trace_event_get_state(TRACE_SEND_BITMAP_HEADER_ENTER)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 362 "../migration/trace-events"
            qemu_log("send_bitmap_header_enter " "" "\n");
#line 5810 "trace/trace-migration.h"
        }
    }
}

#define TRACE_SEND_BITMAP_BITS_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_SEND_BITMAP_BITS) || \
    false)

static inline void trace_send_bitmap_bits(uint32_t flags, uint64_t start_sector, uint32_t nr_sectors, uint64_t data_size)
{
    if (trace_event_get_state(TRACE_SEND_BITMAP_BITS)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 363 "../migration/trace-events"
            qemu_log("send_bitmap_bits " "flags: 0x%x, start_sector: %" PRIu64 ", nr_sectors: %" PRIu32 ", data_size: %" PRIu64 "\n", flags, start_sector, nr_sectors, data_size);
#line 5825 "trace/trace-migration.h"
        }
    }
}

#define TRACE_DIRTY_BITMAP_SAVE_ITERATE_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_DIRTY_BITMAP_SAVE_ITERATE) || \
    false)

static inline void trace_dirty_bitmap_save_iterate(int in_postcopy)
{
    if (trace_event_get_state(TRACE_DIRTY_BITMAP_SAVE_ITERATE)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 364 "../migration/trace-events"
            qemu_log("dirty_bitmap_save_iterate " "in postcopy: %d" "\n", in_postcopy);
#line 5840 "trace/trace-migration.h"
        }
    }
}

#define TRACE_DIRTY_BITMAP_SAVE_COMPLETE_ENTER_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_DIRTY_BITMAP_SAVE_COMPLETE_ENTER) || \
    false)

static inline void trace_dirty_bitmap_save_complete_enter(void)
{
    if (trace_event_get_state(TRACE_DIRTY_BITMAP_SAVE_COMPLETE_ENTER)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 365 "../migration/trace-events"
            qemu_log("dirty_bitmap_save_complete_enter " "" "\n");
#line 5855 "trace/trace-migration.h"
        }
    }
}

#define TRACE_DIRTY_BITMAP_SAVE_COMPLETE_FINISH_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_DIRTY_BITMAP_SAVE_COMPLETE_FINISH) || \
    false)

static inline void trace_dirty_bitmap_save_complete_finish(void)
{
    if (trace_event_get_state(TRACE_DIRTY_BITMAP_SAVE_COMPLETE_FINISH)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 366 "../migration/trace-events"
            qemu_log("dirty_bitmap_save_complete_finish " "" "\n");
#line 5870 "trace/trace-migration.h"
        }
    }
}

#define TRACE_DIRTY_BITMAP_STATE_PENDING_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_DIRTY_BITMAP_STATE_PENDING) || \
    false)

static inline void trace_dirty_bitmap_state_pending(uint64_t pending)
{
    if (trace_event_get_state(TRACE_DIRTY_BITMAP_STATE_PENDING)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 367 "../migration/trace-events"
            qemu_log("dirty_bitmap_state_pending " "pending %" PRIu64 "\n", pending);
#line 5885 "trace/trace-migration.h"
        }
    }
}

#define TRACE_DIRTY_BITMAP_LOAD_COMPLETE_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_DIRTY_BITMAP_LOAD_COMPLETE) || \
    false)

static inline void trace_dirty_bitmap_load_complete(void)
{
    if (trace_event_get_state(TRACE_DIRTY_BITMAP_LOAD_COMPLETE)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 368 "../migration/trace-events"
            qemu_log("dirty_bitmap_load_complete " "" "\n");
#line 5900 "trace/trace-migration.h"
        }
    }
}

#define TRACE_DIRTY_BITMAP_LOAD_BITS_ENTER_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_DIRTY_BITMAP_LOAD_BITS_ENTER) || \
    false)

static inline void trace_dirty_bitmap_load_bits_enter(uint64_t first_sector, uint32_t nr_sectors)
{
    if (trace_event_get_state(TRACE_DIRTY_BITMAP_LOAD_BITS_ENTER)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 369 "../migration/trace-events"
            qemu_log("dirty_bitmap_load_bits_enter " "chunk: %" PRIu64 " %" PRIu32 "\n", first_sector, nr_sectors);
#line 5915 "trace/trace-migration.h"
        }
    }
}

#define TRACE_DIRTY_BITMAP_LOAD_BITS_ZEROES_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_DIRTY_BITMAP_LOAD_BITS_ZEROES) || \
    false)

static inline void trace_dirty_bitmap_load_bits_zeroes(void)
{
    if (trace_event_get_state(TRACE_DIRTY_BITMAP_LOAD_BITS_ZEROES)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 370 "../migration/trace-events"
            qemu_log("dirty_bitmap_load_bits_zeroes " "" "\n");
#line 5930 "trace/trace-migration.h"
        }
    }
}

#define TRACE_DIRTY_BITMAP_LOAD_HEADER_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_DIRTY_BITMAP_LOAD_HEADER) || \
    false)

static inline void trace_dirty_bitmap_load_header(uint32_t flags)
{
    if (trace_event_get_state(TRACE_DIRTY_BITMAP_LOAD_HEADER)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 371 "../migration/trace-events"
            qemu_log("dirty_bitmap_load_header " "flags 0x%x" "\n", flags);
#line 5945 "trace/trace-migration.h"
        }
    }
}

#define TRACE_DIRTY_BITMAP_LOAD_ENTER_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_DIRTY_BITMAP_LOAD_ENTER) || \
    false)

static inline void trace_dirty_bitmap_load_enter(void)
{
    if (trace_event_get_state(TRACE_DIRTY_BITMAP_LOAD_ENTER)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 372 "../migration/trace-events"
            qemu_log("dirty_bitmap_load_enter " "" "\n");
#line 5960 "trace/trace-migration.h"
        }
    }
}

#define TRACE_DIRTY_BITMAP_LOAD_SUCCESS_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_DIRTY_BITMAP_LOAD_SUCCESS) || \
    false)

static inline void trace_dirty_bitmap_load_success(void)
{
    if (trace_event_get_state(TRACE_DIRTY_BITMAP_LOAD_SUCCESS)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 373 "../migration/trace-events"
            qemu_log("dirty_bitmap_load_success " "" "\n");
#line 5975 "trace/trace-migration.h"
        }
    }
}

#define TRACE_DIRTYRATE_SET_STATE_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_DIRTYRATE_SET_STATE) || \
    false)

static inline void trace_dirtyrate_set_state(const char *new_state)
{
    if (trace_event_get_state(TRACE_DIRTYRATE_SET_STATE)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 376 "../migration/trace-events"
            qemu_log("dirtyrate_set_state " "new state %s" "\n", new_state);
#line 5990 "trace/trace-migration.h"
        }
    }
}

#define TRACE_QUERY_DIRTY_RATE_INFO_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_QUERY_DIRTY_RATE_INFO) || \
    false)

static inline void trace_query_dirty_rate_info(const char *new_state)
{
    if (trace_event_get_state(TRACE_QUERY_DIRTY_RATE_INFO)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 377 "../migration/trace-events"
            qemu_log("query_dirty_rate_info " "current state %s" "\n", new_state);
#line 6005 "trace/trace-migration.h"
        }
    }
}

#define TRACE_GET_RAMBLOCK_VFN_HASH_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_GET_RAMBLOCK_VFN_HASH) || \
    false)

static inline void trace_get_ramblock_vfn_hash(const char *idstr, uint64_t vfn, uint32_t hash)
{
    if (trace_event_get_state(TRACE_GET_RAMBLOCK_VFN_HASH)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 378 "../migration/trace-events"
            qemu_log("get_ramblock_vfn_hash " "ramblock name: %s, vfn: %"PRIu64 ", hash: %" PRIu32 "\n", idstr, vfn, hash);
#line 6020 "trace/trace-migration.h"
        }
    }
}

#define TRACE_CALC_PAGE_DIRTY_RATE_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_CALC_PAGE_DIRTY_RATE) || \
    false)

static inline void trace_calc_page_dirty_rate(const char *idstr, uint32_t new_hash, uint32_t old_hash)
{
    if (trace_event_get_state(TRACE_CALC_PAGE_DIRTY_RATE)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 379 "../migration/trace-events"
            qemu_log("calc_page_dirty_rate " "ramblock name: %s, new hash: %" PRIu32 ", old hash: %" PRIu32 "\n", idstr, new_hash, old_hash);
#line 6035 "trace/trace-migration.h"
        }
    }
}

#define TRACE_SKIP_SAMPLE_RAMBLOCK_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_SKIP_SAMPLE_RAMBLOCK) || \
    false)

static inline void trace_skip_sample_ramblock(const char *idstr, uint64_t ramblock_size)
{
    if (trace_event_get_state(TRACE_SKIP_SAMPLE_RAMBLOCK)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 380 "../migration/trace-events"
            qemu_log("skip_sample_ramblock " "ramblock name: %s, ramblock size: %" PRIu64 "\n", idstr, ramblock_size);
#line 6050 "trace/trace-migration.h"
        }
    }
}

#define TRACE_FIND_PAGE_MATCHED_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_FIND_PAGE_MATCHED) || \
    false)

static inline void trace_find_page_matched(const char *idstr)
{
    if (trace_event_get_state(TRACE_FIND_PAGE_MATCHED)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 381 "../migration/trace-events"
            qemu_log("find_page_matched " "ramblock %s addr or size changed" "\n", idstr);
#line 6065 "trace/trace-migration.h"
        }
    }
}

#define TRACE_DIRTYRATE_CALCULATE_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_DIRTYRATE_CALCULATE) || \
    false)

static inline void trace_dirtyrate_calculate(int64_t dirtyrate)
{
    if (trace_event_get_state(TRACE_DIRTYRATE_CALCULATE)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 382 "../migration/trace-events"
            qemu_log("dirtyrate_calculate " "dirty rate: %" PRIi64 " MB/s" "\n", dirtyrate);
#line 6080 "trace/trace-migration.h"
        }
    }
}

#define TRACE_DIRTYRATE_DO_CALCULATE_VCPU_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_DIRTYRATE_DO_CALCULATE_VCPU) || \
    false)

static inline void trace_dirtyrate_do_calculate_vcpu(int idx, uint64_t rate)
{
    if (trace_event_get_state(TRACE_DIRTYRATE_DO_CALCULATE_VCPU)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 383 "../migration/trace-events"
            qemu_log("dirtyrate_do_calculate_vcpu " "vcpu[%d]: %"PRIu64 " MB/s" "\n", idx, rate);
#line 6095 "trace/trace-migration.h"
        }
    }
}

#define TRACE_MIGRATION_BLOCK_INIT_SHARED_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_MIGRATION_BLOCK_INIT_SHARED) || \
    false)

static inline void trace_migration_block_init_shared(const char *blk_device_name)
{
    if (trace_event_get_state(TRACE_MIGRATION_BLOCK_INIT_SHARED)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 386 "../migration/trace-events"
            qemu_log("migration_block_init_shared " "Start migration for %s with shared base image" "\n", blk_device_name);
#line 6110 "trace/trace-migration.h"
        }
    }
}

#define TRACE_MIGRATION_BLOCK_INIT_FULL_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_MIGRATION_BLOCK_INIT_FULL) || \
    false)

static inline void trace_migration_block_init_full(const char *blk_device_name)
{
    if (trace_event_get_state(TRACE_MIGRATION_BLOCK_INIT_FULL)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 387 "../migration/trace-events"
            qemu_log("migration_block_init_full " "Start full migration for %s" "\n", blk_device_name);
#line 6125 "trace/trace-migration.h"
        }
    }
}

#define TRACE_MIGRATION_BLOCK_SAVE_DEVICE_DIRTY_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_MIGRATION_BLOCK_SAVE_DEVICE_DIRTY) || \
    false)

static inline void trace_migration_block_save_device_dirty(int64_t sector)
{
    if (trace_event_get_state(TRACE_MIGRATION_BLOCK_SAVE_DEVICE_DIRTY)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 388 "../migration/trace-events"
            qemu_log("migration_block_save_device_dirty " "Error reading sector %" PRId64 "\n", sector);
#line 6140 "trace/trace-migration.h"
        }
    }
}

#define TRACE_MIGRATION_BLOCK_FLUSH_BLKS_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_MIGRATION_BLOCK_FLUSH_BLKS) || \
    false)

static inline void trace_migration_block_flush_blks(const char *action, int submitted, int read_done, int transferred)
{
    if (trace_event_get_state(TRACE_MIGRATION_BLOCK_FLUSH_BLKS)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 389 "../migration/trace-events"
            qemu_log("migration_block_flush_blks " "%s submitted %d read_done %d transferred %d" "\n", action, submitted, read_done, transferred);
#line 6155 "trace/trace-migration.h"
        }
    }
}

#define TRACE_MIGRATION_BLOCK_SAVE_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_MIGRATION_BLOCK_SAVE) || \
    false)

static inline void trace_migration_block_save(const char *mig_stage, int submitted, int transferred)
{
    if (trace_event_get_state(TRACE_MIGRATION_BLOCK_SAVE)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 390 "../migration/trace-events"
            qemu_log("migration_block_save " "Enter save live %s submitted %d transferred %d" "\n", mig_stage, submitted, transferred);
#line 6170 "trace/trace-migration.h"
        }
    }
}

#define TRACE_MIGRATION_BLOCK_SAVE_COMPLETE_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_MIGRATION_BLOCK_SAVE_COMPLETE) || \
    false)

static inline void trace_migration_block_save_complete(void)
{
    if (trace_event_get_state(TRACE_MIGRATION_BLOCK_SAVE_COMPLETE)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 391 "../migration/trace-events"
            qemu_log("migration_block_save_complete " "Block migration completed" "\n");
#line 6185 "trace/trace-migration.h"
        }
    }
}

#define TRACE_MIGRATION_BLOCK_STATE_PENDING_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_MIGRATION_BLOCK_STATE_PENDING) || \
    false)

static inline void trace_migration_block_state_pending(uint64_t pending)
{
    if (trace_event_get_state(TRACE_MIGRATION_BLOCK_STATE_PENDING)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 392 "../migration/trace-events"
            qemu_log("migration_block_state_pending " "Enter save live pending  %" PRIu64 "\n", pending);
#line 6200 "trace/trace-migration.h"
        }
    }
}

#define TRACE_MIGRATION_BLOCK_PROGRESSION_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_MIGRATION_BLOCK_PROGRESSION) || \
    false)

static inline void trace_migration_block_progression(unsigned percent)
{
    if (trace_event_get_state(TRACE_MIGRATION_BLOCK_PROGRESSION)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 393 "../migration/trace-events"
            qemu_log("migration_block_progression " "Completed %u%%" "\n", percent);
#line 6215 "trace/trace-migration.h"
        }
    }
}

#define TRACE_MIGRATION_PAGECACHE_INIT_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_MIGRATION_PAGECACHE_INIT) || \
    false)

static inline void trace_migration_pagecache_init(int64_t max_num_items)
{
    if (trace_event_get_state(TRACE_MIGRATION_PAGECACHE_INIT)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 396 "../migration/trace-events"
            qemu_log("migration_pagecache_init " "Setting cache buckets to %" PRId64 "\n", max_num_items);
#line 6230 "trace/trace-migration.h"
        }
    }
}

#define TRACE_MIGRATION_PAGECACHE_INSERT_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_MIGRATION_PAGECACHE_INSERT) || \
    false)

static inline void trace_migration_pagecache_insert(void)
{
    if (trace_event_get_state(TRACE_MIGRATION_PAGECACHE_INSERT)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 397 "../migration/trace-events"
            qemu_log("migration_pagecache_insert " "Error allocating page" "\n");
#line 6245 "trace/trace-migration.h"
        }
    }
}

#define TRACE_CPU_THROTTLE_SET_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_CPU_THROTTLE_SET) || \
    false)

static inline void trace_cpu_throttle_set(int new_throttle_pct)
{
    if (trace_event_get_state(TRACE_CPU_THROTTLE_SET)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 400 "../migration/trace-events"
            qemu_log("cpu_throttle_set " "set guest CPU throttled by %d%%" "\n", new_throttle_pct);
#line 6260 "trace/trace-migration.h"
        }
    }
}

#define TRACE_CPU_THROTTLE_DIRTY_SYNC_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_CPU_THROTTLE_DIRTY_SYNC) || \
    false)

static inline void trace_cpu_throttle_dirty_sync(void)
{
    if (trace_event_get_state(TRACE_CPU_THROTTLE_DIRTY_SYNC)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 401 "../migration/trace-events"
            qemu_log("cpu_throttle_dirty_sync " "" "\n");
#line 6275 "trace/trace-migration.h"
        }
    }
}

#define TRACE_MIGRATION_BLOCK_ACTIVATION_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_MIGRATION_BLOCK_ACTIVATION) || \
    false)

static inline void trace_migration_block_activation(const char *name)
{
    if (trace_event_get_state(TRACE_MIGRATION_BLOCK_ACTIVATION)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 404 "../migration/trace-events"
            qemu_log("migration_block_activation " "%s" "\n", name);
#line 6290 "trace/trace-migration.h"
        }
    }
}
#endif /* TRACE_MIGRATION_GENERATED_TRACERS_H */
