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

#ifndef TRACE_QAPI_COMMANDS_BLOCK_CORE_TRACE_EVENTS_GENERATED_TRACERS_H
#define TRACE_QAPI_COMMANDS_BLOCK_CORE_TRACE_EVENTS_GENERATED_TRACERS_H

#include "trace/control.h"

extern TraceEvent _TRACE_QMP_ENTER_QUERY_BLOCK_EVENT;
extern TraceEvent _TRACE_QMP_EXIT_QUERY_BLOCK_EVENT;
extern TraceEvent _TRACE_QMP_ENTER_QUERY_BLOCKSTATS_EVENT;
extern TraceEvent _TRACE_QMP_EXIT_QUERY_BLOCKSTATS_EVENT;
extern TraceEvent _TRACE_QMP_ENTER_QUERY_BLOCK_JOBS_EVENT;
extern TraceEvent _TRACE_QMP_EXIT_QUERY_BLOCK_JOBS_EVENT;
extern TraceEvent _TRACE_QMP_ENTER_BLOCK_RESIZE_EVENT;
extern TraceEvent _TRACE_QMP_EXIT_BLOCK_RESIZE_EVENT;
extern TraceEvent _TRACE_QMP_ENTER_BLOCKDEV_SNAPSHOT_SYNC_EVENT;
extern TraceEvent _TRACE_QMP_EXIT_BLOCKDEV_SNAPSHOT_SYNC_EVENT;
extern TraceEvent _TRACE_QMP_ENTER_BLOCKDEV_SNAPSHOT_EVENT;
extern TraceEvent _TRACE_QMP_EXIT_BLOCKDEV_SNAPSHOT_EVENT;
extern TraceEvent _TRACE_QMP_ENTER_CHANGE_BACKING_FILE_EVENT;
extern TraceEvent _TRACE_QMP_EXIT_CHANGE_BACKING_FILE_EVENT;
extern TraceEvent _TRACE_QMP_ENTER_BLOCK_COMMIT_EVENT;
extern TraceEvent _TRACE_QMP_EXIT_BLOCK_COMMIT_EVENT;
extern TraceEvent _TRACE_QMP_ENTER_DRIVE_BACKUP_EVENT;
extern TraceEvent _TRACE_QMP_EXIT_DRIVE_BACKUP_EVENT;
extern TraceEvent _TRACE_QMP_ENTER_BLOCKDEV_BACKUP_EVENT;
extern TraceEvent _TRACE_QMP_EXIT_BLOCKDEV_BACKUP_EVENT;
extern TraceEvent _TRACE_QMP_ENTER_QUERY_NAMED_BLOCK_NODES_EVENT;
extern TraceEvent _TRACE_QMP_EXIT_QUERY_NAMED_BLOCK_NODES_EVENT;
extern TraceEvent _TRACE_QMP_ENTER_X_DEBUG_QUERY_BLOCK_GRAPH_EVENT;
extern TraceEvent _TRACE_QMP_EXIT_X_DEBUG_QUERY_BLOCK_GRAPH_EVENT;
extern TraceEvent _TRACE_QMP_ENTER_DRIVE_MIRROR_EVENT;
extern TraceEvent _TRACE_QMP_EXIT_DRIVE_MIRROR_EVENT;
extern TraceEvent _TRACE_QMP_ENTER_BLOCK_DIRTY_BITMAP_ADD_EVENT;
extern TraceEvent _TRACE_QMP_EXIT_BLOCK_DIRTY_BITMAP_ADD_EVENT;
extern TraceEvent _TRACE_QMP_ENTER_BLOCK_DIRTY_BITMAP_REMOVE_EVENT;
extern TraceEvent _TRACE_QMP_EXIT_BLOCK_DIRTY_BITMAP_REMOVE_EVENT;
extern TraceEvent _TRACE_QMP_ENTER_BLOCK_DIRTY_BITMAP_CLEAR_EVENT;
extern TraceEvent _TRACE_QMP_EXIT_BLOCK_DIRTY_BITMAP_CLEAR_EVENT;
extern TraceEvent _TRACE_QMP_ENTER_BLOCK_DIRTY_BITMAP_ENABLE_EVENT;
extern TraceEvent _TRACE_QMP_EXIT_BLOCK_DIRTY_BITMAP_ENABLE_EVENT;
extern TraceEvent _TRACE_QMP_ENTER_BLOCK_DIRTY_BITMAP_DISABLE_EVENT;
extern TraceEvent _TRACE_QMP_EXIT_BLOCK_DIRTY_BITMAP_DISABLE_EVENT;
extern TraceEvent _TRACE_QMP_ENTER_BLOCK_DIRTY_BITMAP_MERGE_EVENT;
extern TraceEvent _TRACE_QMP_EXIT_BLOCK_DIRTY_BITMAP_MERGE_EVENT;
extern TraceEvent _TRACE_QMP_ENTER_X_DEBUG_BLOCK_DIRTY_BITMAP_SHA256_EVENT;
extern TraceEvent _TRACE_QMP_EXIT_X_DEBUG_BLOCK_DIRTY_BITMAP_SHA256_EVENT;
extern TraceEvent _TRACE_QMP_ENTER_BLOCKDEV_MIRROR_EVENT;
extern TraceEvent _TRACE_QMP_EXIT_BLOCKDEV_MIRROR_EVENT;
extern TraceEvent _TRACE_QMP_ENTER_BLOCK_STREAM_EVENT;
extern TraceEvent _TRACE_QMP_EXIT_BLOCK_STREAM_EVENT;
extern TraceEvent _TRACE_QMP_ENTER_BLOCK_JOB_SET_SPEED_EVENT;
extern TraceEvent _TRACE_QMP_EXIT_BLOCK_JOB_SET_SPEED_EVENT;
extern TraceEvent _TRACE_QMP_ENTER_BLOCK_JOB_CANCEL_EVENT;
extern TraceEvent _TRACE_QMP_EXIT_BLOCK_JOB_CANCEL_EVENT;
extern TraceEvent _TRACE_QMP_ENTER_BLOCK_JOB_PAUSE_EVENT;
extern TraceEvent _TRACE_QMP_EXIT_BLOCK_JOB_PAUSE_EVENT;
extern TraceEvent _TRACE_QMP_ENTER_BLOCK_JOB_RESUME_EVENT;
extern TraceEvent _TRACE_QMP_EXIT_BLOCK_JOB_RESUME_EVENT;
extern TraceEvent _TRACE_QMP_ENTER_BLOCK_JOB_COMPLETE_EVENT;
extern TraceEvent _TRACE_QMP_EXIT_BLOCK_JOB_COMPLETE_EVENT;
extern TraceEvent _TRACE_QMP_ENTER_BLOCK_JOB_DISMISS_EVENT;
extern TraceEvent _TRACE_QMP_EXIT_BLOCK_JOB_DISMISS_EVENT;
extern TraceEvent _TRACE_QMP_ENTER_BLOCK_JOB_FINALIZE_EVENT;
extern TraceEvent _TRACE_QMP_EXIT_BLOCK_JOB_FINALIZE_EVENT;
extern TraceEvent _TRACE_QMP_ENTER_BLOCK_JOB_CHANGE_EVENT;
extern TraceEvent _TRACE_QMP_EXIT_BLOCK_JOB_CHANGE_EVENT;
extern TraceEvent _TRACE_QMP_ENTER_BLOCKDEV_ADD_EVENT;
extern TraceEvent _TRACE_QMP_EXIT_BLOCKDEV_ADD_EVENT;
extern TraceEvent _TRACE_QMP_ENTER_BLOCKDEV_REOPEN_EVENT;
extern TraceEvent _TRACE_QMP_EXIT_BLOCKDEV_REOPEN_EVENT;
extern TraceEvent _TRACE_QMP_ENTER_BLOCKDEV_DEL_EVENT;
extern TraceEvent _TRACE_QMP_EXIT_BLOCKDEV_DEL_EVENT;
extern TraceEvent _TRACE_QMP_ENTER_BLOCKDEV_SET_ACTIVE_EVENT;
extern TraceEvent _TRACE_QMP_EXIT_BLOCKDEV_SET_ACTIVE_EVENT;
extern TraceEvent _TRACE_QMP_ENTER_BLOCKDEV_CREATE_EVENT;
extern TraceEvent _TRACE_QMP_EXIT_BLOCKDEV_CREATE_EVENT;
extern TraceEvent _TRACE_QMP_ENTER_X_BLOCKDEV_AMEND_EVENT;
extern TraceEvent _TRACE_QMP_EXIT_X_BLOCKDEV_AMEND_EVENT;
extern TraceEvent _TRACE_QMP_ENTER_BLOCK_SET_WRITE_THRESHOLD_EVENT;
extern TraceEvent _TRACE_QMP_EXIT_BLOCK_SET_WRITE_THRESHOLD_EVENT;
extern TraceEvent _TRACE_QMP_ENTER_X_BLOCKDEV_CHANGE_EVENT;
extern TraceEvent _TRACE_QMP_EXIT_X_BLOCKDEV_CHANGE_EVENT;
extern TraceEvent _TRACE_QMP_ENTER_X_BLOCKDEV_SET_IOTHREAD_EVENT;
extern TraceEvent _TRACE_QMP_EXIT_X_BLOCKDEV_SET_IOTHREAD_EVENT;
extern TraceEvent _TRACE_QMP_ENTER_BLOCKDEV_SNAPSHOT_INTERNAL_SYNC_EVENT;
extern TraceEvent _TRACE_QMP_EXIT_BLOCKDEV_SNAPSHOT_INTERNAL_SYNC_EVENT;
extern TraceEvent _TRACE_QMP_ENTER_BLOCKDEV_SNAPSHOT_DELETE_INTERNAL_SYNC_EVENT;
extern TraceEvent _TRACE_QMP_EXIT_BLOCKDEV_SNAPSHOT_DELETE_INTERNAL_SYNC_EVENT;
extern uint16_t _TRACE_QMP_ENTER_QUERY_BLOCK_DSTATE;
extern uint16_t _TRACE_QMP_EXIT_QUERY_BLOCK_DSTATE;
extern uint16_t _TRACE_QMP_ENTER_QUERY_BLOCKSTATS_DSTATE;
extern uint16_t _TRACE_QMP_EXIT_QUERY_BLOCKSTATS_DSTATE;
extern uint16_t _TRACE_QMP_ENTER_QUERY_BLOCK_JOBS_DSTATE;
extern uint16_t _TRACE_QMP_EXIT_QUERY_BLOCK_JOBS_DSTATE;
extern uint16_t _TRACE_QMP_ENTER_BLOCK_RESIZE_DSTATE;
extern uint16_t _TRACE_QMP_EXIT_BLOCK_RESIZE_DSTATE;
extern uint16_t _TRACE_QMP_ENTER_BLOCKDEV_SNAPSHOT_SYNC_DSTATE;
extern uint16_t _TRACE_QMP_EXIT_BLOCKDEV_SNAPSHOT_SYNC_DSTATE;
extern uint16_t _TRACE_QMP_ENTER_BLOCKDEV_SNAPSHOT_DSTATE;
extern uint16_t _TRACE_QMP_EXIT_BLOCKDEV_SNAPSHOT_DSTATE;
extern uint16_t _TRACE_QMP_ENTER_CHANGE_BACKING_FILE_DSTATE;
extern uint16_t _TRACE_QMP_EXIT_CHANGE_BACKING_FILE_DSTATE;
extern uint16_t _TRACE_QMP_ENTER_BLOCK_COMMIT_DSTATE;
extern uint16_t _TRACE_QMP_EXIT_BLOCK_COMMIT_DSTATE;
extern uint16_t _TRACE_QMP_ENTER_DRIVE_BACKUP_DSTATE;
extern uint16_t _TRACE_QMP_EXIT_DRIVE_BACKUP_DSTATE;
extern uint16_t _TRACE_QMP_ENTER_BLOCKDEV_BACKUP_DSTATE;
extern uint16_t _TRACE_QMP_EXIT_BLOCKDEV_BACKUP_DSTATE;
extern uint16_t _TRACE_QMP_ENTER_QUERY_NAMED_BLOCK_NODES_DSTATE;
extern uint16_t _TRACE_QMP_EXIT_QUERY_NAMED_BLOCK_NODES_DSTATE;
extern uint16_t _TRACE_QMP_ENTER_X_DEBUG_QUERY_BLOCK_GRAPH_DSTATE;
extern uint16_t _TRACE_QMP_EXIT_X_DEBUG_QUERY_BLOCK_GRAPH_DSTATE;
extern uint16_t _TRACE_QMP_ENTER_DRIVE_MIRROR_DSTATE;
extern uint16_t _TRACE_QMP_EXIT_DRIVE_MIRROR_DSTATE;
extern uint16_t _TRACE_QMP_ENTER_BLOCK_DIRTY_BITMAP_ADD_DSTATE;
extern uint16_t _TRACE_QMP_EXIT_BLOCK_DIRTY_BITMAP_ADD_DSTATE;
extern uint16_t _TRACE_QMP_ENTER_BLOCK_DIRTY_BITMAP_REMOVE_DSTATE;
extern uint16_t _TRACE_QMP_EXIT_BLOCK_DIRTY_BITMAP_REMOVE_DSTATE;
extern uint16_t _TRACE_QMP_ENTER_BLOCK_DIRTY_BITMAP_CLEAR_DSTATE;
extern uint16_t _TRACE_QMP_EXIT_BLOCK_DIRTY_BITMAP_CLEAR_DSTATE;
extern uint16_t _TRACE_QMP_ENTER_BLOCK_DIRTY_BITMAP_ENABLE_DSTATE;
extern uint16_t _TRACE_QMP_EXIT_BLOCK_DIRTY_BITMAP_ENABLE_DSTATE;
extern uint16_t _TRACE_QMP_ENTER_BLOCK_DIRTY_BITMAP_DISABLE_DSTATE;
extern uint16_t _TRACE_QMP_EXIT_BLOCK_DIRTY_BITMAP_DISABLE_DSTATE;
extern uint16_t _TRACE_QMP_ENTER_BLOCK_DIRTY_BITMAP_MERGE_DSTATE;
extern uint16_t _TRACE_QMP_EXIT_BLOCK_DIRTY_BITMAP_MERGE_DSTATE;
extern uint16_t _TRACE_QMP_ENTER_X_DEBUG_BLOCK_DIRTY_BITMAP_SHA256_DSTATE;
extern uint16_t _TRACE_QMP_EXIT_X_DEBUG_BLOCK_DIRTY_BITMAP_SHA256_DSTATE;
extern uint16_t _TRACE_QMP_ENTER_BLOCKDEV_MIRROR_DSTATE;
extern uint16_t _TRACE_QMP_EXIT_BLOCKDEV_MIRROR_DSTATE;
extern uint16_t _TRACE_QMP_ENTER_BLOCK_STREAM_DSTATE;
extern uint16_t _TRACE_QMP_EXIT_BLOCK_STREAM_DSTATE;
extern uint16_t _TRACE_QMP_ENTER_BLOCK_JOB_SET_SPEED_DSTATE;
extern uint16_t _TRACE_QMP_EXIT_BLOCK_JOB_SET_SPEED_DSTATE;
extern uint16_t _TRACE_QMP_ENTER_BLOCK_JOB_CANCEL_DSTATE;
extern uint16_t _TRACE_QMP_EXIT_BLOCK_JOB_CANCEL_DSTATE;
extern uint16_t _TRACE_QMP_ENTER_BLOCK_JOB_PAUSE_DSTATE;
extern uint16_t _TRACE_QMP_EXIT_BLOCK_JOB_PAUSE_DSTATE;
extern uint16_t _TRACE_QMP_ENTER_BLOCK_JOB_RESUME_DSTATE;
extern uint16_t _TRACE_QMP_EXIT_BLOCK_JOB_RESUME_DSTATE;
extern uint16_t _TRACE_QMP_ENTER_BLOCK_JOB_COMPLETE_DSTATE;
extern uint16_t _TRACE_QMP_EXIT_BLOCK_JOB_COMPLETE_DSTATE;
extern uint16_t _TRACE_QMP_ENTER_BLOCK_JOB_DISMISS_DSTATE;
extern uint16_t _TRACE_QMP_EXIT_BLOCK_JOB_DISMISS_DSTATE;
extern uint16_t _TRACE_QMP_ENTER_BLOCK_JOB_FINALIZE_DSTATE;
extern uint16_t _TRACE_QMP_EXIT_BLOCK_JOB_FINALIZE_DSTATE;
extern uint16_t _TRACE_QMP_ENTER_BLOCK_JOB_CHANGE_DSTATE;
extern uint16_t _TRACE_QMP_EXIT_BLOCK_JOB_CHANGE_DSTATE;
extern uint16_t _TRACE_QMP_ENTER_BLOCKDEV_ADD_DSTATE;
extern uint16_t _TRACE_QMP_EXIT_BLOCKDEV_ADD_DSTATE;
extern uint16_t _TRACE_QMP_ENTER_BLOCKDEV_REOPEN_DSTATE;
extern uint16_t _TRACE_QMP_EXIT_BLOCKDEV_REOPEN_DSTATE;
extern uint16_t _TRACE_QMP_ENTER_BLOCKDEV_DEL_DSTATE;
extern uint16_t _TRACE_QMP_EXIT_BLOCKDEV_DEL_DSTATE;
extern uint16_t _TRACE_QMP_ENTER_BLOCKDEV_SET_ACTIVE_DSTATE;
extern uint16_t _TRACE_QMP_EXIT_BLOCKDEV_SET_ACTIVE_DSTATE;
extern uint16_t _TRACE_QMP_ENTER_BLOCKDEV_CREATE_DSTATE;
extern uint16_t _TRACE_QMP_EXIT_BLOCKDEV_CREATE_DSTATE;
extern uint16_t _TRACE_QMP_ENTER_X_BLOCKDEV_AMEND_DSTATE;
extern uint16_t _TRACE_QMP_EXIT_X_BLOCKDEV_AMEND_DSTATE;
extern uint16_t _TRACE_QMP_ENTER_BLOCK_SET_WRITE_THRESHOLD_DSTATE;
extern uint16_t _TRACE_QMP_EXIT_BLOCK_SET_WRITE_THRESHOLD_DSTATE;
extern uint16_t _TRACE_QMP_ENTER_X_BLOCKDEV_CHANGE_DSTATE;
extern uint16_t _TRACE_QMP_EXIT_X_BLOCKDEV_CHANGE_DSTATE;
extern uint16_t _TRACE_QMP_ENTER_X_BLOCKDEV_SET_IOTHREAD_DSTATE;
extern uint16_t _TRACE_QMP_EXIT_X_BLOCKDEV_SET_IOTHREAD_DSTATE;
extern uint16_t _TRACE_QMP_ENTER_BLOCKDEV_SNAPSHOT_INTERNAL_SYNC_DSTATE;
extern uint16_t _TRACE_QMP_EXIT_BLOCKDEV_SNAPSHOT_INTERNAL_SYNC_DSTATE;
extern uint16_t _TRACE_QMP_ENTER_BLOCKDEV_SNAPSHOT_DELETE_INTERNAL_SYNC_DSTATE;
extern uint16_t _TRACE_QMP_EXIT_BLOCKDEV_SNAPSHOT_DELETE_INTERNAL_SYNC_DSTATE;
#define TRACE_QMP_ENTER_QUERY_BLOCK_ENABLED 1
#define TRACE_QMP_EXIT_QUERY_BLOCK_ENABLED 1
#define TRACE_QMP_ENTER_QUERY_BLOCKSTATS_ENABLED 1
#define TRACE_QMP_EXIT_QUERY_BLOCKSTATS_ENABLED 1
#define TRACE_QMP_ENTER_QUERY_BLOCK_JOBS_ENABLED 1
#define TRACE_QMP_EXIT_QUERY_BLOCK_JOBS_ENABLED 1
#define TRACE_QMP_ENTER_BLOCK_RESIZE_ENABLED 1
#define TRACE_QMP_EXIT_BLOCK_RESIZE_ENABLED 1
#define TRACE_QMP_ENTER_BLOCKDEV_SNAPSHOT_SYNC_ENABLED 1
#define TRACE_QMP_EXIT_BLOCKDEV_SNAPSHOT_SYNC_ENABLED 1
#define TRACE_QMP_ENTER_BLOCKDEV_SNAPSHOT_ENABLED 1
#define TRACE_QMP_EXIT_BLOCKDEV_SNAPSHOT_ENABLED 1
#define TRACE_QMP_ENTER_CHANGE_BACKING_FILE_ENABLED 1
#define TRACE_QMP_EXIT_CHANGE_BACKING_FILE_ENABLED 1
#define TRACE_QMP_ENTER_BLOCK_COMMIT_ENABLED 1
#define TRACE_QMP_EXIT_BLOCK_COMMIT_ENABLED 1
#define TRACE_QMP_ENTER_DRIVE_BACKUP_ENABLED 1
#define TRACE_QMP_EXIT_DRIVE_BACKUP_ENABLED 1
#define TRACE_QMP_ENTER_BLOCKDEV_BACKUP_ENABLED 1
#define TRACE_QMP_EXIT_BLOCKDEV_BACKUP_ENABLED 1
#define TRACE_QMP_ENTER_QUERY_NAMED_BLOCK_NODES_ENABLED 1
#define TRACE_QMP_EXIT_QUERY_NAMED_BLOCK_NODES_ENABLED 1
#define TRACE_QMP_ENTER_X_DEBUG_QUERY_BLOCK_GRAPH_ENABLED 1
#define TRACE_QMP_EXIT_X_DEBUG_QUERY_BLOCK_GRAPH_ENABLED 1
#define TRACE_QMP_ENTER_DRIVE_MIRROR_ENABLED 1
#define TRACE_QMP_EXIT_DRIVE_MIRROR_ENABLED 1
#define TRACE_QMP_ENTER_BLOCK_DIRTY_BITMAP_ADD_ENABLED 1
#define TRACE_QMP_EXIT_BLOCK_DIRTY_BITMAP_ADD_ENABLED 1
#define TRACE_QMP_ENTER_BLOCK_DIRTY_BITMAP_REMOVE_ENABLED 1
#define TRACE_QMP_EXIT_BLOCK_DIRTY_BITMAP_REMOVE_ENABLED 1
#define TRACE_QMP_ENTER_BLOCK_DIRTY_BITMAP_CLEAR_ENABLED 1
#define TRACE_QMP_EXIT_BLOCK_DIRTY_BITMAP_CLEAR_ENABLED 1
#define TRACE_QMP_ENTER_BLOCK_DIRTY_BITMAP_ENABLE_ENABLED 1
#define TRACE_QMP_EXIT_BLOCK_DIRTY_BITMAP_ENABLE_ENABLED 1
#define TRACE_QMP_ENTER_BLOCK_DIRTY_BITMAP_DISABLE_ENABLED 1
#define TRACE_QMP_EXIT_BLOCK_DIRTY_BITMAP_DISABLE_ENABLED 1
#define TRACE_QMP_ENTER_BLOCK_DIRTY_BITMAP_MERGE_ENABLED 1
#define TRACE_QMP_EXIT_BLOCK_DIRTY_BITMAP_MERGE_ENABLED 1
#define TRACE_QMP_ENTER_X_DEBUG_BLOCK_DIRTY_BITMAP_SHA256_ENABLED 1
#define TRACE_QMP_EXIT_X_DEBUG_BLOCK_DIRTY_BITMAP_SHA256_ENABLED 1
#define TRACE_QMP_ENTER_BLOCKDEV_MIRROR_ENABLED 1
#define TRACE_QMP_EXIT_BLOCKDEV_MIRROR_ENABLED 1
#define TRACE_QMP_ENTER_BLOCK_STREAM_ENABLED 1
#define TRACE_QMP_EXIT_BLOCK_STREAM_ENABLED 1
#define TRACE_QMP_ENTER_BLOCK_JOB_SET_SPEED_ENABLED 1
#define TRACE_QMP_EXIT_BLOCK_JOB_SET_SPEED_ENABLED 1
#define TRACE_QMP_ENTER_BLOCK_JOB_CANCEL_ENABLED 1
#define TRACE_QMP_EXIT_BLOCK_JOB_CANCEL_ENABLED 1
#define TRACE_QMP_ENTER_BLOCK_JOB_PAUSE_ENABLED 1
#define TRACE_QMP_EXIT_BLOCK_JOB_PAUSE_ENABLED 1
#define TRACE_QMP_ENTER_BLOCK_JOB_RESUME_ENABLED 1
#define TRACE_QMP_EXIT_BLOCK_JOB_RESUME_ENABLED 1
#define TRACE_QMP_ENTER_BLOCK_JOB_COMPLETE_ENABLED 1
#define TRACE_QMP_EXIT_BLOCK_JOB_COMPLETE_ENABLED 1
#define TRACE_QMP_ENTER_BLOCK_JOB_DISMISS_ENABLED 1
#define TRACE_QMP_EXIT_BLOCK_JOB_DISMISS_ENABLED 1
#define TRACE_QMP_ENTER_BLOCK_JOB_FINALIZE_ENABLED 1
#define TRACE_QMP_EXIT_BLOCK_JOB_FINALIZE_ENABLED 1
#define TRACE_QMP_ENTER_BLOCK_JOB_CHANGE_ENABLED 1
#define TRACE_QMP_EXIT_BLOCK_JOB_CHANGE_ENABLED 1
#define TRACE_QMP_ENTER_BLOCKDEV_ADD_ENABLED 1
#define TRACE_QMP_EXIT_BLOCKDEV_ADD_ENABLED 1
#define TRACE_QMP_ENTER_BLOCKDEV_REOPEN_ENABLED 1
#define TRACE_QMP_EXIT_BLOCKDEV_REOPEN_ENABLED 1
#define TRACE_QMP_ENTER_BLOCKDEV_DEL_ENABLED 1
#define TRACE_QMP_EXIT_BLOCKDEV_DEL_ENABLED 1
#define TRACE_QMP_ENTER_BLOCKDEV_SET_ACTIVE_ENABLED 1
#define TRACE_QMP_EXIT_BLOCKDEV_SET_ACTIVE_ENABLED 1
#define TRACE_QMP_ENTER_BLOCKDEV_CREATE_ENABLED 1
#define TRACE_QMP_EXIT_BLOCKDEV_CREATE_ENABLED 1
#define TRACE_QMP_ENTER_X_BLOCKDEV_AMEND_ENABLED 1
#define TRACE_QMP_EXIT_X_BLOCKDEV_AMEND_ENABLED 1
#define TRACE_QMP_ENTER_BLOCK_SET_WRITE_THRESHOLD_ENABLED 1
#define TRACE_QMP_EXIT_BLOCK_SET_WRITE_THRESHOLD_ENABLED 1
#define TRACE_QMP_ENTER_X_BLOCKDEV_CHANGE_ENABLED 1
#define TRACE_QMP_EXIT_X_BLOCKDEV_CHANGE_ENABLED 1
#define TRACE_QMP_ENTER_X_BLOCKDEV_SET_IOTHREAD_ENABLED 1
#define TRACE_QMP_EXIT_X_BLOCKDEV_SET_IOTHREAD_ENABLED 1
#define TRACE_QMP_ENTER_BLOCKDEV_SNAPSHOT_INTERNAL_SYNC_ENABLED 1
#define TRACE_QMP_EXIT_BLOCKDEV_SNAPSHOT_INTERNAL_SYNC_ENABLED 1
#define TRACE_QMP_ENTER_BLOCKDEV_SNAPSHOT_DELETE_INTERNAL_SYNC_ENABLED 1
#define TRACE_QMP_EXIT_BLOCKDEV_SNAPSHOT_DELETE_INTERNAL_SYNC_ENABLED 1
#include "qemu/log-for-trace.h"


#define TRACE_QMP_ENTER_QUERY_BLOCK_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_QMP_ENTER_QUERY_BLOCK) || \
    false)

static inline void trace_qmp_enter_query_block(const char *json)
{
    if (trace_event_get_state(TRACE_QMP_ENTER_QUERY_BLOCK)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 3 "qapi/qapi-commands-block-core.trace-events"
            qemu_log("qmp_enter_query_block " "%s" "\n", json);
#line 269 "trace/trace-qapi_commands_block_core_trace_events.h"
        }
    }
}

#define TRACE_QMP_EXIT_QUERY_BLOCK_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_QMP_EXIT_QUERY_BLOCK) || \
    false)

static inline void trace_qmp_exit_query_block(const char *result, bool succeeded)
{
    if (trace_event_get_state(TRACE_QMP_EXIT_QUERY_BLOCK)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 4 "qapi/qapi-commands-block-core.trace-events"
            qemu_log("qmp_exit_query_block " "%s %d" "\n", result, succeeded);
#line 284 "trace/trace-qapi_commands_block_core_trace_events.h"
        }
    }
}

#define TRACE_QMP_ENTER_QUERY_BLOCKSTATS_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_QMP_ENTER_QUERY_BLOCKSTATS) || \
    false)

static inline void trace_qmp_enter_query_blockstats(const char *json)
{
    if (trace_event_get_state(TRACE_QMP_ENTER_QUERY_BLOCKSTATS)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 5 "qapi/qapi-commands-block-core.trace-events"
            qemu_log("qmp_enter_query_blockstats " "%s" "\n", json);
#line 299 "trace/trace-qapi_commands_block_core_trace_events.h"
        }
    }
}

#define TRACE_QMP_EXIT_QUERY_BLOCKSTATS_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_QMP_EXIT_QUERY_BLOCKSTATS) || \
    false)

static inline void trace_qmp_exit_query_blockstats(const char *result, bool succeeded)
{
    if (trace_event_get_state(TRACE_QMP_EXIT_QUERY_BLOCKSTATS)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 6 "qapi/qapi-commands-block-core.trace-events"
            qemu_log("qmp_exit_query_blockstats " "%s %d" "\n", result, succeeded);
#line 314 "trace/trace-qapi_commands_block_core_trace_events.h"
        }
    }
}

#define TRACE_QMP_ENTER_QUERY_BLOCK_JOBS_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_QMP_ENTER_QUERY_BLOCK_JOBS) || \
    false)

static inline void trace_qmp_enter_query_block_jobs(const char *json)
{
    if (trace_event_get_state(TRACE_QMP_ENTER_QUERY_BLOCK_JOBS)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 7 "qapi/qapi-commands-block-core.trace-events"
            qemu_log("qmp_enter_query_block_jobs " "%s" "\n", json);
#line 329 "trace/trace-qapi_commands_block_core_trace_events.h"
        }
    }
}

#define TRACE_QMP_EXIT_QUERY_BLOCK_JOBS_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_QMP_EXIT_QUERY_BLOCK_JOBS) || \
    false)

static inline void trace_qmp_exit_query_block_jobs(const char *result, bool succeeded)
{
    if (trace_event_get_state(TRACE_QMP_EXIT_QUERY_BLOCK_JOBS)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 8 "qapi/qapi-commands-block-core.trace-events"
            qemu_log("qmp_exit_query_block_jobs " "%s %d" "\n", result, succeeded);
#line 344 "trace/trace-qapi_commands_block_core_trace_events.h"
        }
    }
}

#define TRACE_QMP_ENTER_BLOCK_RESIZE_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_QMP_ENTER_BLOCK_RESIZE) || \
    false)

static inline void trace_qmp_enter_block_resize(const char *json)
{
    if (trace_event_get_state(TRACE_QMP_ENTER_BLOCK_RESIZE)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 9 "qapi/qapi-commands-block-core.trace-events"
            qemu_log("qmp_enter_block_resize " "%s" "\n", json);
#line 359 "trace/trace-qapi_commands_block_core_trace_events.h"
        }
    }
}

#define TRACE_QMP_EXIT_BLOCK_RESIZE_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_QMP_EXIT_BLOCK_RESIZE) || \
    false)

static inline void trace_qmp_exit_block_resize(const char *result, bool succeeded)
{
    if (trace_event_get_state(TRACE_QMP_EXIT_BLOCK_RESIZE)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 10 "qapi/qapi-commands-block-core.trace-events"
            qemu_log("qmp_exit_block_resize " "%s %d" "\n", result, succeeded);
#line 374 "trace/trace-qapi_commands_block_core_trace_events.h"
        }
    }
}

#define TRACE_QMP_ENTER_BLOCKDEV_SNAPSHOT_SYNC_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_QMP_ENTER_BLOCKDEV_SNAPSHOT_SYNC) || \
    false)

static inline void trace_qmp_enter_blockdev_snapshot_sync(const char *json)
{
    if (trace_event_get_state(TRACE_QMP_ENTER_BLOCKDEV_SNAPSHOT_SYNC)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 11 "qapi/qapi-commands-block-core.trace-events"
            qemu_log("qmp_enter_blockdev_snapshot_sync " "%s" "\n", json);
#line 389 "trace/trace-qapi_commands_block_core_trace_events.h"
        }
    }
}

#define TRACE_QMP_EXIT_BLOCKDEV_SNAPSHOT_SYNC_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_QMP_EXIT_BLOCKDEV_SNAPSHOT_SYNC) || \
    false)

static inline void trace_qmp_exit_blockdev_snapshot_sync(const char *result, bool succeeded)
{
    if (trace_event_get_state(TRACE_QMP_EXIT_BLOCKDEV_SNAPSHOT_SYNC)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 12 "qapi/qapi-commands-block-core.trace-events"
            qemu_log("qmp_exit_blockdev_snapshot_sync " "%s %d" "\n", result, succeeded);
#line 404 "trace/trace-qapi_commands_block_core_trace_events.h"
        }
    }
}

#define TRACE_QMP_ENTER_BLOCKDEV_SNAPSHOT_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_QMP_ENTER_BLOCKDEV_SNAPSHOT) || \
    false)

static inline void trace_qmp_enter_blockdev_snapshot(const char *json)
{
    if (trace_event_get_state(TRACE_QMP_ENTER_BLOCKDEV_SNAPSHOT)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 13 "qapi/qapi-commands-block-core.trace-events"
            qemu_log("qmp_enter_blockdev_snapshot " "%s" "\n", json);
#line 419 "trace/trace-qapi_commands_block_core_trace_events.h"
        }
    }
}

#define TRACE_QMP_EXIT_BLOCKDEV_SNAPSHOT_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_QMP_EXIT_BLOCKDEV_SNAPSHOT) || \
    false)

static inline void trace_qmp_exit_blockdev_snapshot(const char *result, bool succeeded)
{
    if (trace_event_get_state(TRACE_QMP_EXIT_BLOCKDEV_SNAPSHOT)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 14 "qapi/qapi-commands-block-core.trace-events"
            qemu_log("qmp_exit_blockdev_snapshot " "%s %d" "\n", result, succeeded);
#line 434 "trace/trace-qapi_commands_block_core_trace_events.h"
        }
    }
}

#define TRACE_QMP_ENTER_CHANGE_BACKING_FILE_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_QMP_ENTER_CHANGE_BACKING_FILE) || \
    false)

static inline void trace_qmp_enter_change_backing_file(const char *json)
{
    if (trace_event_get_state(TRACE_QMP_ENTER_CHANGE_BACKING_FILE)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 15 "qapi/qapi-commands-block-core.trace-events"
            qemu_log("qmp_enter_change_backing_file " "%s" "\n", json);
#line 449 "trace/trace-qapi_commands_block_core_trace_events.h"
        }
    }
}

#define TRACE_QMP_EXIT_CHANGE_BACKING_FILE_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_QMP_EXIT_CHANGE_BACKING_FILE) || \
    false)

static inline void trace_qmp_exit_change_backing_file(const char *result, bool succeeded)
{
    if (trace_event_get_state(TRACE_QMP_EXIT_CHANGE_BACKING_FILE)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 16 "qapi/qapi-commands-block-core.trace-events"
            qemu_log("qmp_exit_change_backing_file " "%s %d" "\n", result, succeeded);
#line 464 "trace/trace-qapi_commands_block_core_trace_events.h"
        }
    }
}

#define TRACE_QMP_ENTER_BLOCK_COMMIT_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_QMP_ENTER_BLOCK_COMMIT) || \
    false)

static inline void trace_qmp_enter_block_commit(const char *json)
{
    if (trace_event_get_state(TRACE_QMP_ENTER_BLOCK_COMMIT)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 17 "qapi/qapi-commands-block-core.trace-events"
            qemu_log("qmp_enter_block_commit " "%s" "\n", json);
#line 479 "trace/trace-qapi_commands_block_core_trace_events.h"
        }
    }
}

#define TRACE_QMP_EXIT_BLOCK_COMMIT_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_QMP_EXIT_BLOCK_COMMIT) || \
    false)

static inline void trace_qmp_exit_block_commit(const char *result, bool succeeded)
{
    if (trace_event_get_state(TRACE_QMP_EXIT_BLOCK_COMMIT)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 18 "qapi/qapi-commands-block-core.trace-events"
            qemu_log("qmp_exit_block_commit " "%s %d" "\n", result, succeeded);
#line 494 "trace/trace-qapi_commands_block_core_trace_events.h"
        }
    }
}

#define TRACE_QMP_ENTER_DRIVE_BACKUP_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_QMP_ENTER_DRIVE_BACKUP) || \
    false)

static inline void trace_qmp_enter_drive_backup(const char *json)
{
    if (trace_event_get_state(TRACE_QMP_ENTER_DRIVE_BACKUP)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 19 "qapi/qapi-commands-block-core.trace-events"
            qemu_log("qmp_enter_drive_backup " "%s" "\n", json);
#line 509 "trace/trace-qapi_commands_block_core_trace_events.h"
        }
    }
}

#define TRACE_QMP_EXIT_DRIVE_BACKUP_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_QMP_EXIT_DRIVE_BACKUP) || \
    false)

static inline void trace_qmp_exit_drive_backup(const char *result, bool succeeded)
{
    if (trace_event_get_state(TRACE_QMP_EXIT_DRIVE_BACKUP)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 20 "qapi/qapi-commands-block-core.trace-events"
            qemu_log("qmp_exit_drive_backup " "%s %d" "\n", result, succeeded);
#line 524 "trace/trace-qapi_commands_block_core_trace_events.h"
        }
    }
}

#define TRACE_QMP_ENTER_BLOCKDEV_BACKUP_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_QMP_ENTER_BLOCKDEV_BACKUP) || \
    false)

static inline void trace_qmp_enter_blockdev_backup(const char *json)
{
    if (trace_event_get_state(TRACE_QMP_ENTER_BLOCKDEV_BACKUP)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 21 "qapi/qapi-commands-block-core.trace-events"
            qemu_log("qmp_enter_blockdev_backup " "%s" "\n", json);
#line 539 "trace/trace-qapi_commands_block_core_trace_events.h"
        }
    }
}

#define TRACE_QMP_EXIT_BLOCKDEV_BACKUP_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_QMP_EXIT_BLOCKDEV_BACKUP) || \
    false)

static inline void trace_qmp_exit_blockdev_backup(const char *result, bool succeeded)
{
    if (trace_event_get_state(TRACE_QMP_EXIT_BLOCKDEV_BACKUP)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 22 "qapi/qapi-commands-block-core.trace-events"
            qemu_log("qmp_exit_blockdev_backup " "%s %d" "\n", result, succeeded);
#line 554 "trace/trace-qapi_commands_block_core_trace_events.h"
        }
    }
}

#define TRACE_QMP_ENTER_QUERY_NAMED_BLOCK_NODES_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_QMP_ENTER_QUERY_NAMED_BLOCK_NODES) || \
    false)

static inline void trace_qmp_enter_query_named_block_nodes(const char *json)
{
    if (trace_event_get_state(TRACE_QMP_ENTER_QUERY_NAMED_BLOCK_NODES)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 23 "qapi/qapi-commands-block-core.trace-events"
            qemu_log("qmp_enter_query_named_block_nodes " "%s" "\n", json);
#line 569 "trace/trace-qapi_commands_block_core_trace_events.h"
        }
    }
}

#define TRACE_QMP_EXIT_QUERY_NAMED_BLOCK_NODES_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_QMP_EXIT_QUERY_NAMED_BLOCK_NODES) || \
    false)

static inline void trace_qmp_exit_query_named_block_nodes(const char *result, bool succeeded)
{
    if (trace_event_get_state(TRACE_QMP_EXIT_QUERY_NAMED_BLOCK_NODES)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 24 "qapi/qapi-commands-block-core.trace-events"
            qemu_log("qmp_exit_query_named_block_nodes " "%s %d" "\n", result, succeeded);
#line 584 "trace/trace-qapi_commands_block_core_trace_events.h"
        }
    }
}

#define TRACE_QMP_ENTER_X_DEBUG_QUERY_BLOCK_GRAPH_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_QMP_ENTER_X_DEBUG_QUERY_BLOCK_GRAPH) || \
    false)

static inline void trace_qmp_enter_x_debug_query_block_graph(const char *json)
{
    if (trace_event_get_state(TRACE_QMP_ENTER_X_DEBUG_QUERY_BLOCK_GRAPH)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 25 "qapi/qapi-commands-block-core.trace-events"
            qemu_log("qmp_enter_x_debug_query_block_graph " "%s" "\n", json);
#line 599 "trace/trace-qapi_commands_block_core_trace_events.h"
        }
    }
}

#define TRACE_QMP_EXIT_X_DEBUG_QUERY_BLOCK_GRAPH_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_QMP_EXIT_X_DEBUG_QUERY_BLOCK_GRAPH) || \
    false)

static inline void trace_qmp_exit_x_debug_query_block_graph(const char *result, bool succeeded)
{
    if (trace_event_get_state(TRACE_QMP_EXIT_X_DEBUG_QUERY_BLOCK_GRAPH)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 26 "qapi/qapi-commands-block-core.trace-events"
            qemu_log("qmp_exit_x_debug_query_block_graph " "%s %d" "\n", result, succeeded);
#line 614 "trace/trace-qapi_commands_block_core_trace_events.h"
        }
    }
}

#define TRACE_QMP_ENTER_DRIVE_MIRROR_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_QMP_ENTER_DRIVE_MIRROR) || \
    false)

static inline void trace_qmp_enter_drive_mirror(const char *json)
{
    if (trace_event_get_state(TRACE_QMP_ENTER_DRIVE_MIRROR)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 27 "qapi/qapi-commands-block-core.trace-events"
            qemu_log("qmp_enter_drive_mirror " "%s" "\n", json);
#line 629 "trace/trace-qapi_commands_block_core_trace_events.h"
        }
    }
}

#define TRACE_QMP_EXIT_DRIVE_MIRROR_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_QMP_EXIT_DRIVE_MIRROR) || \
    false)

static inline void trace_qmp_exit_drive_mirror(const char *result, bool succeeded)
{
    if (trace_event_get_state(TRACE_QMP_EXIT_DRIVE_MIRROR)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 28 "qapi/qapi-commands-block-core.trace-events"
            qemu_log("qmp_exit_drive_mirror " "%s %d" "\n", result, succeeded);
#line 644 "trace/trace-qapi_commands_block_core_trace_events.h"
        }
    }
}

#define TRACE_QMP_ENTER_BLOCK_DIRTY_BITMAP_ADD_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_QMP_ENTER_BLOCK_DIRTY_BITMAP_ADD) || \
    false)

static inline void trace_qmp_enter_block_dirty_bitmap_add(const char *json)
{
    if (trace_event_get_state(TRACE_QMP_ENTER_BLOCK_DIRTY_BITMAP_ADD)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 29 "qapi/qapi-commands-block-core.trace-events"
            qemu_log("qmp_enter_block_dirty_bitmap_add " "%s" "\n", json);
#line 659 "trace/trace-qapi_commands_block_core_trace_events.h"
        }
    }
}

#define TRACE_QMP_EXIT_BLOCK_DIRTY_BITMAP_ADD_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_QMP_EXIT_BLOCK_DIRTY_BITMAP_ADD) || \
    false)

static inline void trace_qmp_exit_block_dirty_bitmap_add(const char *result, bool succeeded)
{
    if (trace_event_get_state(TRACE_QMP_EXIT_BLOCK_DIRTY_BITMAP_ADD)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 30 "qapi/qapi-commands-block-core.trace-events"
            qemu_log("qmp_exit_block_dirty_bitmap_add " "%s %d" "\n", result, succeeded);
#line 674 "trace/trace-qapi_commands_block_core_trace_events.h"
        }
    }
}

#define TRACE_QMP_ENTER_BLOCK_DIRTY_BITMAP_REMOVE_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_QMP_ENTER_BLOCK_DIRTY_BITMAP_REMOVE) || \
    false)

static inline void trace_qmp_enter_block_dirty_bitmap_remove(const char *json)
{
    if (trace_event_get_state(TRACE_QMP_ENTER_BLOCK_DIRTY_BITMAP_REMOVE)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 31 "qapi/qapi-commands-block-core.trace-events"
            qemu_log("qmp_enter_block_dirty_bitmap_remove " "%s" "\n", json);
#line 689 "trace/trace-qapi_commands_block_core_trace_events.h"
        }
    }
}

#define TRACE_QMP_EXIT_BLOCK_DIRTY_BITMAP_REMOVE_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_QMP_EXIT_BLOCK_DIRTY_BITMAP_REMOVE) || \
    false)

static inline void trace_qmp_exit_block_dirty_bitmap_remove(const char *result, bool succeeded)
{
    if (trace_event_get_state(TRACE_QMP_EXIT_BLOCK_DIRTY_BITMAP_REMOVE)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 32 "qapi/qapi-commands-block-core.trace-events"
            qemu_log("qmp_exit_block_dirty_bitmap_remove " "%s %d" "\n", result, succeeded);
#line 704 "trace/trace-qapi_commands_block_core_trace_events.h"
        }
    }
}

#define TRACE_QMP_ENTER_BLOCK_DIRTY_BITMAP_CLEAR_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_QMP_ENTER_BLOCK_DIRTY_BITMAP_CLEAR) || \
    false)

static inline void trace_qmp_enter_block_dirty_bitmap_clear(const char *json)
{
    if (trace_event_get_state(TRACE_QMP_ENTER_BLOCK_DIRTY_BITMAP_CLEAR)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 33 "qapi/qapi-commands-block-core.trace-events"
            qemu_log("qmp_enter_block_dirty_bitmap_clear " "%s" "\n", json);
#line 719 "trace/trace-qapi_commands_block_core_trace_events.h"
        }
    }
}

#define TRACE_QMP_EXIT_BLOCK_DIRTY_BITMAP_CLEAR_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_QMP_EXIT_BLOCK_DIRTY_BITMAP_CLEAR) || \
    false)

static inline void trace_qmp_exit_block_dirty_bitmap_clear(const char *result, bool succeeded)
{
    if (trace_event_get_state(TRACE_QMP_EXIT_BLOCK_DIRTY_BITMAP_CLEAR)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 34 "qapi/qapi-commands-block-core.trace-events"
            qemu_log("qmp_exit_block_dirty_bitmap_clear " "%s %d" "\n", result, succeeded);
#line 734 "trace/trace-qapi_commands_block_core_trace_events.h"
        }
    }
}

#define TRACE_QMP_ENTER_BLOCK_DIRTY_BITMAP_ENABLE_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_QMP_ENTER_BLOCK_DIRTY_BITMAP_ENABLE) || \
    false)

static inline void trace_qmp_enter_block_dirty_bitmap_enable(const char *json)
{
    if (trace_event_get_state(TRACE_QMP_ENTER_BLOCK_DIRTY_BITMAP_ENABLE)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 35 "qapi/qapi-commands-block-core.trace-events"
            qemu_log("qmp_enter_block_dirty_bitmap_enable " "%s" "\n", json);
#line 749 "trace/trace-qapi_commands_block_core_trace_events.h"
        }
    }
}

#define TRACE_QMP_EXIT_BLOCK_DIRTY_BITMAP_ENABLE_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_QMP_EXIT_BLOCK_DIRTY_BITMAP_ENABLE) || \
    false)

static inline void trace_qmp_exit_block_dirty_bitmap_enable(const char *result, bool succeeded)
{
    if (trace_event_get_state(TRACE_QMP_EXIT_BLOCK_DIRTY_BITMAP_ENABLE)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 36 "qapi/qapi-commands-block-core.trace-events"
            qemu_log("qmp_exit_block_dirty_bitmap_enable " "%s %d" "\n", result, succeeded);
#line 764 "trace/trace-qapi_commands_block_core_trace_events.h"
        }
    }
}

#define TRACE_QMP_ENTER_BLOCK_DIRTY_BITMAP_DISABLE_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_QMP_ENTER_BLOCK_DIRTY_BITMAP_DISABLE) || \
    false)

static inline void trace_qmp_enter_block_dirty_bitmap_disable(const char *json)
{
    if (trace_event_get_state(TRACE_QMP_ENTER_BLOCK_DIRTY_BITMAP_DISABLE)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 37 "qapi/qapi-commands-block-core.trace-events"
            qemu_log("qmp_enter_block_dirty_bitmap_disable " "%s" "\n", json);
#line 779 "trace/trace-qapi_commands_block_core_trace_events.h"
        }
    }
}

#define TRACE_QMP_EXIT_BLOCK_DIRTY_BITMAP_DISABLE_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_QMP_EXIT_BLOCK_DIRTY_BITMAP_DISABLE) || \
    false)

static inline void trace_qmp_exit_block_dirty_bitmap_disable(const char *result, bool succeeded)
{
    if (trace_event_get_state(TRACE_QMP_EXIT_BLOCK_DIRTY_BITMAP_DISABLE)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 38 "qapi/qapi-commands-block-core.trace-events"
            qemu_log("qmp_exit_block_dirty_bitmap_disable " "%s %d" "\n", result, succeeded);
#line 794 "trace/trace-qapi_commands_block_core_trace_events.h"
        }
    }
}

#define TRACE_QMP_ENTER_BLOCK_DIRTY_BITMAP_MERGE_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_QMP_ENTER_BLOCK_DIRTY_BITMAP_MERGE) || \
    false)

static inline void trace_qmp_enter_block_dirty_bitmap_merge(const char *json)
{
    if (trace_event_get_state(TRACE_QMP_ENTER_BLOCK_DIRTY_BITMAP_MERGE)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 39 "qapi/qapi-commands-block-core.trace-events"
            qemu_log("qmp_enter_block_dirty_bitmap_merge " "%s" "\n", json);
#line 809 "trace/trace-qapi_commands_block_core_trace_events.h"
        }
    }
}

#define TRACE_QMP_EXIT_BLOCK_DIRTY_BITMAP_MERGE_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_QMP_EXIT_BLOCK_DIRTY_BITMAP_MERGE) || \
    false)

static inline void trace_qmp_exit_block_dirty_bitmap_merge(const char *result, bool succeeded)
{
    if (trace_event_get_state(TRACE_QMP_EXIT_BLOCK_DIRTY_BITMAP_MERGE)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 40 "qapi/qapi-commands-block-core.trace-events"
            qemu_log("qmp_exit_block_dirty_bitmap_merge " "%s %d" "\n", result, succeeded);
#line 824 "trace/trace-qapi_commands_block_core_trace_events.h"
        }
    }
}

#define TRACE_QMP_ENTER_X_DEBUG_BLOCK_DIRTY_BITMAP_SHA256_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_QMP_ENTER_X_DEBUG_BLOCK_DIRTY_BITMAP_SHA256) || \
    false)

static inline void trace_qmp_enter_x_debug_block_dirty_bitmap_sha256(const char *json)
{
    if (trace_event_get_state(TRACE_QMP_ENTER_X_DEBUG_BLOCK_DIRTY_BITMAP_SHA256)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 41 "qapi/qapi-commands-block-core.trace-events"
            qemu_log("qmp_enter_x_debug_block_dirty_bitmap_sha256 " "%s" "\n", json);
#line 839 "trace/trace-qapi_commands_block_core_trace_events.h"
        }
    }
}

#define TRACE_QMP_EXIT_X_DEBUG_BLOCK_DIRTY_BITMAP_SHA256_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_QMP_EXIT_X_DEBUG_BLOCK_DIRTY_BITMAP_SHA256) || \
    false)

static inline void trace_qmp_exit_x_debug_block_dirty_bitmap_sha256(const char *result, bool succeeded)
{
    if (trace_event_get_state(TRACE_QMP_EXIT_X_DEBUG_BLOCK_DIRTY_BITMAP_SHA256)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 42 "qapi/qapi-commands-block-core.trace-events"
            qemu_log("qmp_exit_x_debug_block_dirty_bitmap_sha256 " "%s %d" "\n", result, succeeded);
#line 854 "trace/trace-qapi_commands_block_core_trace_events.h"
        }
    }
}

#define TRACE_QMP_ENTER_BLOCKDEV_MIRROR_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_QMP_ENTER_BLOCKDEV_MIRROR) || \
    false)

static inline void trace_qmp_enter_blockdev_mirror(const char *json)
{
    if (trace_event_get_state(TRACE_QMP_ENTER_BLOCKDEV_MIRROR)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 43 "qapi/qapi-commands-block-core.trace-events"
            qemu_log("qmp_enter_blockdev_mirror " "%s" "\n", json);
#line 869 "trace/trace-qapi_commands_block_core_trace_events.h"
        }
    }
}

#define TRACE_QMP_EXIT_BLOCKDEV_MIRROR_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_QMP_EXIT_BLOCKDEV_MIRROR) || \
    false)

static inline void trace_qmp_exit_blockdev_mirror(const char *result, bool succeeded)
{
    if (trace_event_get_state(TRACE_QMP_EXIT_BLOCKDEV_MIRROR)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 44 "qapi/qapi-commands-block-core.trace-events"
            qemu_log("qmp_exit_blockdev_mirror " "%s %d" "\n", result, succeeded);
#line 884 "trace/trace-qapi_commands_block_core_trace_events.h"
        }
    }
}

#define TRACE_QMP_ENTER_BLOCK_STREAM_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_QMP_ENTER_BLOCK_STREAM) || \
    false)

static inline void trace_qmp_enter_block_stream(const char *json)
{
    if (trace_event_get_state(TRACE_QMP_ENTER_BLOCK_STREAM)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 45 "qapi/qapi-commands-block-core.trace-events"
            qemu_log("qmp_enter_block_stream " "%s" "\n", json);
#line 899 "trace/trace-qapi_commands_block_core_trace_events.h"
        }
    }
}

#define TRACE_QMP_EXIT_BLOCK_STREAM_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_QMP_EXIT_BLOCK_STREAM) || \
    false)

static inline void trace_qmp_exit_block_stream(const char *result, bool succeeded)
{
    if (trace_event_get_state(TRACE_QMP_EXIT_BLOCK_STREAM)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 46 "qapi/qapi-commands-block-core.trace-events"
            qemu_log("qmp_exit_block_stream " "%s %d" "\n", result, succeeded);
#line 914 "trace/trace-qapi_commands_block_core_trace_events.h"
        }
    }
}

#define TRACE_QMP_ENTER_BLOCK_JOB_SET_SPEED_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_QMP_ENTER_BLOCK_JOB_SET_SPEED) || \
    false)

static inline void trace_qmp_enter_block_job_set_speed(const char *json)
{
    if (trace_event_get_state(TRACE_QMP_ENTER_BLOCK_JOB_SET_SPEED)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 47 "qapi/qapi-commands-block-core.trace-events"
            qemu_log("qmp_enter_block_job_set_speed " "%s" "\n", json);
#line 929 "trace/trace-qapi_commands_block_core_trace_events.h"
        }
    }
}

#define TRACE_QMP_EXIT_BLOCK_JOB_SET_SPEED_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_QMP_EXIT_BLOCK_JOB_SET_SPEED) || \
    false)

static inline void trace_qmp_exit_block_job_set_speed(const char *result, bool succeeded)
{
    if (trace_event_get_state(TRACE_QMP_EXIT_BLOCK_JOB_SET_SPEED)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 48 "qapi/qapi-commands-block-core.trace-events"
            qemu_log("qmp_exit_block_job_set_speed " "%s %d" "\n", result, succeeded);
#line 944 "trace/trace-qapi_commands_block_core_trace_events.h"
        }
    }
}

#define TRACE_QMP_ENTER_BLOCK_JOB_CANCEL_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_QMP_ENTER_BLOCK_JOB_CANCEL) || \
    false)

static inline void trace_qmp_enter_block_job_cancel(const char *json)
{
    if (trace_event_get_state(TRACE_QMP_ENTER_BLOCK_JOB_CANCEL)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 49 "qapi/qapi-commands-block-core.trace-events"
            qemu_log("qmp_enter_block_job_cancel " "%s" "\n", json);
#line 959 "trace/trace-qapi_commands_block_core_trace_events.h"
        }
    }
}

#define TRACE_QMP_EXIT_BLOCK_JOB_CANCEL_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_QMP_EXIT_BLOCK_JOB_CANCEL) || \
    false)

static inline void trace_qmp_exit_block_job_cancel(const char *result, bool succeeded)
{
    if (trace_event_get_state(TRACE_QMP_EXIT_BLOCK_JOB_CANCEL)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 50 "qapi/qapi-commands-block-core.trace-events"
            qemu_log("qmp_exit_block_job_cancel " "%s %d" "\n", result, succeeded);
#line 974 "trace/trace-qapi_commands_block_core_trace_events.h"
        }
    }
}

#define TRACE_QMP_ENTER_BLOCK_JOB_PAUSE_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_QMP_ENTER_BLOCK_JOB_PAUSE) || \
    false)

static inline void trace_qmp_enter_block_job_pause(const char *json)
{
    if (trace_event_get_state(TRACE_QMP_ENTER_BLOCK_JOB_PAUSE)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 51 "qapi/qapi-commands-block-core.trace-events"
            qemu_log("qmp_enter_block_job_pause " "%s" "\n", json);
#line 989 "trace/trace-qapi_commands_block_core_trace_events.h"
        }
    }
}

#define TRACE_QMP_EXIT_BLOCK_JOB_PAUSE_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_QMP_EXIT_BLOCK_JOB_PAUSE) || \
    false)

static inline void trace_qmp_exit_block_job_pause(const char *result, bool succeeded)
{
    if (trace_event_get_state(TRACE_QMP_EXIT_BLOCK_JOB_PAUSE)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 52 "qapi/qapi-commands-block-core.trace-events"
            qemu_log("qmp_exit_block_job_pause " "%s %d" "\n", result, succeeded);
#line 1004 "trace/trace-qapi_commands_block_core_trace_events.h"
        }
    }
}

#define TRACE_QMP_ENTER_BLOCK_JOB_RESUME_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_QMP_ENTER_BLOCK_JOB_RESUME) || \
    false)

static inline void trace_qmp_enter_block_job_resume(const char *json)
{
    if (trace_event_get_state(TRACE_QMP_ENTER_BLOCK_JOB_RESUME)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 53 "qapi/qapi-commands-block-core.trace-events"
            qemu_log("qmp_enter_block_job_resume " "%s" "\n", json);
#line 1019 "trace/trace-qapi_commands_block_core_trace_events.h"
        }
    }
}

#define TRACE_QMP_EXIT_BLOCK_JOB_RESUME_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_QMP_EXIT_BLOCK_JOB_RESUME) || \
    false)

static inline void trace_qmp_exit_block_job_resume(const char *result, bool succeeded)
{
    if (trace_event_get_state(TRACE_QMP_EXIT_BLOCK_JOB_RESUME)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 54 "qapi/qapi-commands-block-core.trace-events"
            qemu_log("qmp_exit_block_job_resume " "%s %d" "\n", result, succeeded);
#line 1034 "trace/trace-qapi_commands_block_core_trace_events.h"
        }
    }
}

#define TRACE_QMP_ENTER_BLOCK_JOB_COMPLETE_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_QMP_ENTER_BLOCK_JOB_COMPLETE) || \
    false)

static inline void trace_qmp_enter_block_job_complete(const char *json)
{
    if (trace_event_get_state(TRACE_QMP_ENTER_BLOCK_JOB_COMPLETE)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 55 "qapi/qapi-commands-block-core.trace-events"
            qemu_log("qmp_enter_block_job_complete " "%s" "\n", json);
#line 1049 "trace/trace-qapi_commands_block_core_trace_events.h"
        }
    }
}

#define TRACE_QMP_EXIT_BLOCK_JOB_COMPLETE_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_QMP_EXIT_BLOCK_JOB_COMPLETE) || \
    false)

static inline void trace_qmp_exit_block_job_complete(const char *result, bool succeeded)
{
    if (trace_event_get_state(TRACE_QMP_EXIT_BLOCK_JOB_COMPLETE)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 56 "qapi/qapi-commands-block-core.trace-events"
            qemu_log("qmp_exit_block_job_complete " "%s %d" "\n", result, succeeded);
#line 1064 "trace/trace-qapi_commands_block_core_trace_events.h"
        }
    }
}

#define TRACE_QMP_ENTER_BLOCK_JOB_DISMISS_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_QMP_ENTER_BLOCK_JOB_DISMISS) || \
    false)

static inline void trace_qmp_enter_block_job_dismiss(const char *json)
{
    if (trace_event_get_state(TRACE_QMP_ENTER_BLOCK_JOB_DISMISS)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 57 "qapi/qapi-commands-block-core.trace-events"
            qemu_log("qmp_enter_block_job_dismiss " "%s" "\n", json);
#line 1079 "trace/trace-qapi_commands_block_core_trace_events.h"
        }
    }
}

#define TRACE_QMP_EXIT_BLOCK_JOB_DISMISS_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_QMP_EXIT_BLOCK_JOB_DISMISS) || \
    false)

static inline void trace_qmp_exit_block_job_dismiss(const char *result, bool succeeded)
{
    if (trace_event_get_state(TRACE_QMP_EXIT_BLOCK_JOB_DISMISS)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 58 "qapi/qapi-commands-block-core.trace-events"
            qemu_log("qmp_exit_block_job_dismiss " "%s %d" "\n", result, succeeded);
#line 1094 "trace/trace-qapi_commands_block_core_trace_events.h"
        }
    }
}

#define TRACE_QMP_ENTER_BLOCK_JOB_FINALIZE_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_QMP_ENTER_BLOCK_JOB_FINALIZE) || \
    false)

static inline void trace_qmp_enter_block_job_finalize(const char *json)
{
    if (trace_event_get_state(TRACE_QMP_ENTER_BLOCK_JOB_FINALIZE)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 59 "qapi/qapi-commands-block-core.trace-events"
            qemu_log("qmp_enter_block_job_finalize " "%s" "\n", json);
#line 1109 "trace/trace-qapi_commands_block_core_trace_events.h"
        }
    }
}

#define TRACE_QMP_EXIT_BLOCK_JOB_FINALIZE_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_QMP_EXIT_BLOCK_JOB_FINALIZE) || \
    false)

static inline void trace_qmp_exit_block_job_finalize(const char *result, bool succeeded)
{
    if (trace_event_get_state(TRACE_QMP_EXIT_BLOCK_JOB_FINALIZE)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 60 "qapi/qapi-commands-block-core.trace-events"
            qemu_log("qmp_exit_block_job_finalize " "%s %d" "\n", result, succeeded);
#line 1124 "trace/trace-qapi_commands_block_core_trace_events.h"
        }
    }
}

#define TRACE_QMP_ENTER_BLOCK_JOB_CHANGE_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_QMP_ENTER_BLOCK_JOB_CHANGE) || \
    false)

static inline void trace_qmp_enter_block_job_change(const char *json)
{
    if (trace_event_get_state(TRACE_QMP_ENTER_BLOCK_JOB_CHANGE)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 61 "qapi/qapi-commands-block-core.trace-events"
            qemu_log("qmp_enter_block_job_change " "%s" "\n", json);
#line 1139 "trace/trace-qapi_commands_block_core_trace_events.h"
        }
    }
}

#define TRACE_QMP_EXIT_BLOCK_JOB_CHANGE_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_QMP_EXIT_BLOCK_JOB_CHANGE) || \
    false)

static inline void trace_qmp_exit_block_job_change(const char *result, bool succeeded)
{
    if (trace_event_get_state(TRACE_QMP_EXIT_BLOCK_JOB_CHANGE)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 62 "qapi/qapi-commands-block-core.trace-events"
            qemu_log("qmp_exit_block_job_change " "%s %d" "\n", result, succeeded);
#line 1154 "trace/trace-qapi_commands_block_core_trace_events.h"
        }
    }
}

#define TRACE_QMP_ENTER_BLOCKDEV_ADD_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_QMP_ENTER_BLOCKDEV_ADD) || \
    false)

static inline void trace_qmp_enter_blockdev_add(const char *json)
{
    if (trace_event_get_state(TRACE_QMP_ENTER_BLOCKDEV_ADD)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 63 "qapi/qapi-commands-block-core.trace-events"
            qemu_log("qmp_enter_blockdev_add " "%s" "\n", json);
#line 1169 "trace/trace-qapi_commands_block_core_trace_events.h"
        }
    }
}

#define TRACE_QMP_EXIT_BLOCKDEV_ADD_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_QMP_EXIT_BLOCKDEV_ADD) || \
    false)

static inline void trace_qmp_exit_blockdev_add(const char *result, bool succeeded)
{
    if (trace_event_get_state(TRACE_QMP_EXIT_BLOCKDEV_ADD)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 64 "qapi/qapi-commands-block-core.trace-events"
            qemu_log("qmp_exit_blockdev_add " "%s %d" "\n", result, succeeded);
#line 1184 "trace/trace-qapi_commands_block_core_trace_events.h"
        }
    }
}

#define TRACE_QMP_ENTER_BLOCKDEV_REOPEN_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_QMP_ENTER_BLOCKDEV_REOPEN) || \
    false)

static inline void trace_qmp_enter_blockdev_reopen(const char *json)
{
    if (trace_event_get_state(TRACE_QMP_ENTER_BLOCKDEV_REOPEN)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 65 "qapi/qapi-commands-block-core.trace-events"
            qemu_log("qmp_enter_blockdev_reopen " "%s" "\n", json);
#line 1199 "trace/trace-qapi_commands_block_core_trace_events.h"
        }
    }
}

#define TRACE_QMP_EXIT_BLOCKDEV_REOPEN_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_QMP_EXIT_BLOCKDEV_REOPEN) || \
    false)

static inline void trace_qmp_exit_blockdev_reopen(const char *result, bool succeeded)
{
    if (trace_event_get_state(TRACE_QMP_EXIT_BLOCKDEV_REOPEN)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 66 "qapi/qapi-commands-block-core.trace-events"
            qemu_log("qmp_exit_blockdev_reopen " "%s %d" "\n", result, succeeded);
#line 1214 "trace/trace-qapi_commands_block_core_trace_events.h"
        }
    }
}

#define TRACE_QMP_ENTER_BLOCKDEV_DEL_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_QMP_ENTER_BLOCKDEV_DEL) || \
    false)

static inline void trace_qmp_enter_blockdev_del(const char *json)
{
    if (trace_event_get_state(TRACE_QMP_ENTER_BLOCKDEV_DEL)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 67 "qapi/qapi-commands-block-core.trace-events"
            qemu_log("qmp_enter_blockdev_del " "%s" "\n", json);
#line 1229 "trace/trace-qapi_commands_block_core_trace_events.h"
        }
    }
}

#define TRACE_QMP_EXIT_BLOCKDEV_DEL_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_QMP_EXIT_BLOCKDEV_DEL) || \
    false)

static inline void trace_qmp_exit_blockdev_del(const char *result, bool succeeded)
{
    if (trace_event_get_state(TRACE_QMP_EXIT_BLOCKDEV_DEL)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 68 "qapi/qapi-commands-block-core.trace-events"
            qemu_log("qmp_exit_blockdev_del " "%s %d" "\n", result, succeeded);
#line 1244 "trace/trace-qapi_commands_block_core_trace_events.h"
        }
    }
}

#define TRACE_QMP_ENTER_BLOCKDEV_SET_ACTIVE_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_QMP_ENTER_BLOCKDEV_SET_ACTIVE) || \
    false)

static inline void trace_qmp_enter_blockdev_set_active(const char *json)
{
    if (trace_event_get_state(TRACE_QMP_ENTER_BLOCKDEV_SET_ACTIVE)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 69 "qapi/qapi-commands-block-core.trace-events"
            qemu_log("qmp_enter_blockdev_set_active " "%s" "\n", json);
#line 1259 "trace/trace-qapi_commands_block_core_trace_events.h"
        }
    }
}

#define TRACE_QMP_EXIT_BLOCKDEV_SET_ACTIVE_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_QMP_EXIT_BLOCKDEV_SET_ACTIVE) || \
    false)

static inline void trace_qmp_exit_blockdev_set_active(const char *result, bool succeeded)
{
    if (trace_event_get_state(TRACE_QMP_EXIT_BLOCKDEV_SET_ACTIVE)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 70 "qapi/qapi-commands-block-core.trace-events"
            qemu_log("qmp_exit_blockdev_set_active " "%s %d" "\n", result, succeeded);
#line 1274 "trace/trace-qapi_commands_block_core_trace_events.h"
        }
    }
}

#define TRACE_QMP_ENTER_BLOCKDEV_CREATE_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_QMP_ENTER_BLOCKDEV_CREATE) || \
    false)

static inline void trace_qmp_enter_blockdev_create(const char *json)
{
    if (trace_event_get_state(TRACE_QMP_ENTER_BLOCKDEV_CREATE)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 71 "qapi/qapi-commands-block-core.trace-events"
            qemu_log("qmp_enter_blockdev_create " "%s" "\n", json);
#line 1289 "trace/trace-qapi_commands_block_core_trace_events.h"
        }
    }
}

#define TRACE_QMP_EXIT_BLOCKDEV_CREATE_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_QMP_EXIT_BLOCKDEV_CREATE) || \
    false)

static inline void trace_qmp_exit_blockdev_create(const char *result, bool succeeded)
{
    if (trace_event_get_state(TRACE_QMP_EXIT_BLOCKDEV_CREATE)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 72 "qapi/qapi-commands-block-core.trace-events"
            qemu_log("qmp_exit_blockdev_create " "%s %d" "\n", result, succeeded);
#line 1304 "trace/trace-qapi_commands_block_core_trace_events.h"
        }
    }
}

#define TRACE_QMP_ENTER_X_BLOCKDEV_AMEND_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_QMP_ENTER_X_BLOCKDEV_AMEND) || \
    false)

static inline void trace_qmp_enter_x_blockdev_amend(const char *json)
{
    if (trace_event_get_state(TRACE_QMP_ENTER_X_BLOCKDEV_AMEND)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 73 "qapi/qapi-commands-block-core.trace-events"
            qemu_log("qmp_enter_x_blockdev_amend " "%s" "\n", json);
#line 1319 "trace/trace-qapi_commands_block_core_trace_events.h"
        }
    }
}

#define TRACE_QMP_EXIT_X_BLOCKDEV_AMEND_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_QMP_EXIT_X_BLOCKDEV_AMEND) || \
    false)

static inline void trace_qmp_exit_x_blockdev_amend(const char *result, bool succeeded)
{
    if (trace_event_get_state(TRACE_QMP_EXIT_X_BLOCKDEV_AMEND)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 74 "qapi/qapi-commands-block-core.trace-events"
            qemu_log("qmp_exit_x_blockdev_amend " "%s %d" "\n", result, succeeded);
#line 1334 "trace/trace-qapi_commands_block_core_trace_events.h"
        }
    }
}

#define TRACE_QMP_ENTER_BLOCK_SET_WRITE_THRESHOLD_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_QMP_ENTER_BLOCK_SET_WRITE_THRESHOLD) || \
    false)

static inline void trace_qmp_enter_block_set_write_threshold(const char *json)
{
    if (trace_event_get_state(TRACE_QMP_ENTER_BLOCK_SET_WRITE_THRESHOLD)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 75 "qapi/qapi-commands-block-core.trace-events"
            qemu_log("qmp_enter_block_set_write_threshold " "%s" "\n", json);
#line 1349 "trace/trace-qapi_commands_block_core_trace_events.h"
        }
    }
}

#define TRACE_QMP_EXIT_BLOCK_SET_WRITE_THRESHOLD_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_QMP_EXIT_BLOCK_SET_WRITE_THRESHOLD) || \
    false)

static inline void trace_qmp_exit_block_set_write_threshold(const char *result, bool succeeded)
{
    if (trace_event_get_state(TRACE_QMP_EXIT_BLOCK_SET_WRITE_THRESHOLD)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 76 "qapi/qapi-commands-block-core.trace-events"
            qemu_log("qmp_exit_block_set_write_threshold " "%s %d" "\n", result, succeeded);
#line 1364 "trace/trace-qapi_commands_block_core_trace_events.h"
        }
    }
}

#define TRACE_QMP_ENTER_X_BLOCKDEV_CHANGE_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_QMP_ENTER_X_BLOCKDEV_CHANGE) || \
    false)

static inline void trace_qmp_enter_x_blockdev_change(const char *json)
{
    if (trace_event_get_state(TRACE_QMP_ENTER_X_BLOCKDEV_CHANGE)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 77 "qapi/qapi-commands-block-core.trace-events"
            qemu_log("qmp_enter_x_blockdev_change " "%s" "\n", json);
#line 1379 "trace/trace-qapi_commands_block_core_trace_events.h"
        }
    }
}

#define TRACE_QMP_EXIT_X_BLOCKDEV_CHANGE_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_QMP_EXIT_X_BLOCKDEV_CHANGE) || \
    false)

static inline void trace_qmp_exit_x_blockdev_change(const char *result, bool succeeded)
{
    if (trace_event_get_state(TRACE_QMP_EXIT_X_BLOCKDEV_CHANGE)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 78 "qapi/qapi-commands-block-core.trace-events"
            qemu_log("qmp_exit_x_blockdev_change " "%s %d" "\n", result, succeeded);
#line 1394 "trace/trace-qapi_commands_block_core_trace_events.h"
        }
    }
}

#define TRACE_QMP_ENTER_X_BLOCKDEV_SET_IOTHREAD_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_QMP_ENTER_X_BLOCKDEV_SET_IOTHREAD) || \
    false)

static inline void trace_qmp_enter_x_blockdev_set_iothread(const char *json)
{
    if (trace_event_get_state(TRACE_QMP_ENTER_X_BLOCKDEV_SET_IOTHREAD)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 79 "qapi/qapi-commands-block-core.trace-events"
            qemu_log("qmp_enter_x_blockdev_set_iothread " "%s" "\n", json);
#line 1409 "trace/trace-qapi_commands_block_core_trace_events.h"
        }
    }
}

#define TRACE_QMP_EXIT_X_BLOCKDEV_SET_IOTHREAD_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_QMP_EXIT_X_BLOCKDEV_SET_IOTHREAD) || \
    false)

static inline void trace_qmp_exit_x_blockdev_set_iothread(const char *result, bool succeeded)
{
    if (trace_event_get_state(TRACE_QMP_EXIT_X_BLOCKDEV_SET_IOTHREAD)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 80 "qapi/qapi-commands-block-core.trace-events"
            qemu_log("qmp_exit_x_blockdev_set_iothread " "%s %d" "\n", result, succeeded);
#line 1424 "trace/trace-qapi_commands_block_core_trace_events.h"
        }
    }
}

#define TRACE_QMP_ENTER_BLOCKDEV_SNAPSHOT_INTERNAL_SYNC_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_QMP_ENTER_BLOCKDEV_SNAPSHOT_INTERNAL_SYNC) || \
    false)

static inline void trace_qmp_enter_blockdev_snapshot_internal_sync(const char *json)
{
    if (trace_event_get_state(TRACE_QMP_ENTER_BLOCKDEV_SNAPSHOT_INTERNAL_SYNC)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 81 "qapi/qapi-commands-block-core.trace-events"
            qemu_log("qmp_enter_blockdev_snapshot_internal_sync " "%s" "\n", json);
#line 1439 "trace/trace-qapi_commands_block_core_trace_events.h"
        }
    }
}

#define TRACE_QMP_EXIT_BLOCKDEV_SNAPSHOT_INTERNAL_SYNC_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_QMP_EXIT_BLOCKDEV_SNAPSHOT_INTERNAL_SYNC) || \
    false)

static inline void trace_qmp_exit_blockdev_snapshot_internal_sync(const char *result, bool succeeded)
{
    if (trace_event_get_state(TRACE_QMP_EXIT_BLOCKDEV_SNAPSHOT_INTERNAL_SYNC)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 82 "qapi/qapi-commands-block-core.trace-events"
            qemu_log("qmp_exit_blockdev_snapshot_internal_sync " "%s %d" "\n", result, succeeded);
#line 1454 "trace/trace-qapi_commands_block_core_trace_events.h"
        }
    }
}

#define TRACE_QMP_ENTER_BLOCKDEV_SNAPSHOT_DELETE_INTERNAL_SYNC_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_QMP_ENTER_BLOCKDEV_SNAPSHOT_DELETE_INTERNAL_SYNC) || \
    false)

static inline void trace_qmp_enter_blockdev_snapshot_delete_internal_sync(const char *json)
{
    if (trace_event_get_state(TRACE_QMP_ENTER_BLOCKDEV_SNAPSHOT_DELETE_INTERNAL_SYNC)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 83 "qapi/qapi-commands-block-core.trace-events"
            qemu_log("qmp_enter_blockdev_snapshot_delete_internal_sync " "%s" "\n", json);
#line 1469 "trace/trace-qapi_commands_block_core_trace_events.h"
        }
    }
}

#define TRACE_QMP_EXIT_BLOCKDEV_SNAPSHOT_DELETE_INTERNAL_SYNC_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_QMP_EXIT_BLOCKDEV_SNAPSHOT_DELETE_INTERNAL_SYNC) || \
    false)

static inline void trace_qmp_exit_blockdev_snapshot_delete_internal_sync(const char *result, bool succeeded)
{
    if (trace_event_get_state(TRACE_QMP_EXIT_BLOCKDEV_SNAPSHOT_DELETE_INTERNAL_SYNC)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 84 "qapi/qapi-commands-block-core.trace-events"
            qemu_log("qmp_exit_blockdev_snapshot_delete_internal_sync " "%s %d" "\n", result, succeeded);
#line 1484 "trace/trace-qapi_commands_block_core_trace_events.h"
        }
    }
}
#endif /* TRACE_QAPI_COMMANDS_BLOCK_CORE_TRACE_EVENTS_GENERATED_TRACERS_H */
