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

#ifndef TRACE_QAPI_COMMANDS_MACHINE_TRACE_EVENTS_GENERATED_TRACERS_H
#define TRACE_QAPI_COMMANDS_MACHINE_TRACE_EVENTS_GENERATED_TRACERS_H

#include "trace/control.h"

extern TraceEvent _TRACE_QMP_ENTER_QUERY_CPUS_FAST_EVENT;
extern TraceEvent _TRACE_QMP_EXIT_QUERY_CPUS_FAST_EVENT;
extern TraceEvent _TRACE_QMP_ENTER_QUERY_MACHINES_EVENT;
extern TraceEvent _TRACE_QMP_EXIT_QUERY_MACHINES_EVENT;
extern TraceEvent _TRACE_QMP_ENTER_QUERY_CURRENT_MACHINE_EVENT;
extern TraceEvent _TRACE_QMP_EXIT_QUERY_CURRENT_MACHINE_EVENT;
extern TraceEvent _TRACE_QMP_ENTER_QUERY_TARGET_EVENT;
extern TraceEvent _TRACE_QMP_EXIT_QUERY_TARGET_EVENT;
extern TraceEvent _TRACE_QMP_ENTER_QUERY_UUID_EVENT;
extern TraceEvent _TRACE_QMP_EXIT_QUERY_UUID_EVENT;
extern TraceEvent _TRACE_QMP_ENTER_QUERY_VM_GENERATION_ID_EVENT;
extern TraceEvent _TRACE_QMP_EXIT_QUERY_VM_GENERATION_ID_EVENT;
extern TraceEvent _TRACE_QMP_ENTER_SYSTEM_RESET_EVENT;
extern TraceEvent _TRACE_QMP_EXIT_SYSTEM_RESET_EVENT;
extern TraceEvent _TRACE_QMP_ENTER_SYSTEM_POWERDOWN_EVENT;
extern TraceEvent _TRACE_QMP_EXIT_SYSTEM_POWERDOWN_EVENT;
extern TraceEvent _TRACE_QMP_ENTER_SYSTEM_WAKEUP_EVENT;
extern TraceEvent _TRACE_QMP_EXIT_SYSTEM_WAKEUP_EVENT;
extern TraceEvent _TRACE_QMP_ENTER_INJECT_NMI_EVENT;
extern TraceEvent _TRACE_QMP_EXIT_INJECT_NMI_EVENT;
extern TraceEvent _TRACE_QMP_ENTER_MEMSAVE_EVENT;
extern TraceEvent _TRACE_QMP_EXIT_MEMSAVE_EVENT;
extern TraceEvent _TRACE_QMP_ENTER_PMEMSAVE_EVENT;
extern TraceEvent _TRACE_QMP_EXIT_PMEMSAVE_EVENT;
extern TraceEvent _TRACE_QMP_ENTER_QUERY_MEMDEV_EVENT;
extern TraceEvent _TRACE_QMP_EXIT_QUERY_MEMDEV_EVENT;
extern TraceEvent _TRACE_QMP_ENTER_QUERY_HOTPLUGGABLE_CPUS_EVENT;
extern TraceEvent _TRACE_QMP_EXIT_QUERY_HOTPLUGGABLE_CPUS_EVENT;
extern TraceEvent _TRACE_QMP_ENTER_SET_NUMA_NODE_EVENT;
extern TraceEvent _TRACE_QMP_EXIT_SET_NUMA_NODE_EVENT;
extern TraceEvent _TRACE_QMP_ENTER_BALLOON_EVENT;
extern TraceEvent _TRACE_QMP_EXIT_BALLOON_EVENT;
extern TraceEvent _TRACE_QMP_ENTER_QUERY_BALLOON_EVENT;
extern TraceEvent _TRACE_QMP_EXIT_QUERY_BALLOON_EVENT;
extern TraceEvent _TRACE_QMP_ENTER_QUERY_HV_BALLOON_STATUS_REPORT_EVENT;
extern TraceEvent _TRACE_QMP_EXIT_QUERY_HV_BALLOON_STATUS_REPORT_EVENT;
extern TraceEvent _TRACE_QMP_ENTER_QUERY_MEMORY_SIZE_SUMMARY_EVENT;
extern TraceEvent _TRACE_QMP_EXIT_QUERY_MEMORY_SIZE_SUMMARY_EVENT;
extern TraceEvent _TRACE_QMP_ENTER_QUERY_MEMORY_DEVICES_EVENT;
extern TraceEvent _TRACE_QMP_EXIT_QUERY_MEMORY_DEVICES_EVENT;
extern TraceEvent _TRACE_QMP_ENTER_X_QUERY_IRQ_EVENT;
extern TraceEvent _TRACE_QMP_EXIT_X_QUERY_IRQ_EVENT;
extern TraceEvent _TRACE_QMP_ENTER_X_QUERY_JIT_EVENT;
extern TraceEvent _TRACE_QMP_EXIT_X_QUERY_JIT_EVENT;
extern TraceEvent _TRACE_QMP_ENTER_X_QUERY_NUMA_EVENT;
extern TraceEvent _TRACE_QMP_EXIT_X_QUERY_NUMA_EVENT;
extern TraceEvent _TRACE_QMP_ENTER_X_QUERY_RAMBLOCK_EVENT;
extern TraceEvent _TRACE_QMP_EXIT_X_QUERY_RAMBLOCK_EVENT;
extern TraceEvent _TRACE_QMP_ENTER_X_QUERY_ROMS_EVENT;
extern TraceEvent _TRACE_QMP_EXIT_X_QUERY_ROMS_EVENT;
extern TraceEvent _TRACE_QMP_ENTER_X_QUERY_USB_EVENT;
extern TraceEvent _TRACE_QMP_EXIT_X_QUERY_USB_EVENT;
extern TraceEvent _TRACE_QMP_ENTER_DUMPDTB_EVENT;
extern TraceEvent _TRACE_QMP_EXIT_DUMPDTB_EVENT;
extern TraceEvent _TRACE_QMP_ENTER_X_QUERY_INTERRUPT_CONTROLLERS_EVENT;
extern TraceEvent _TRACE_QMP_EXIT_X_QUERY_INTERRUPT_CONTROLLERS_EVENT;
extern TraceEvent _TRACE_QMP_ENTER_QUERY_FIRMWARE_LOG_EVENT;
extern TraceEvent _TRACE_QMP_EXIT_QUERY_FIRMWARE_LOG_EVENT;
extern TraceEvent _TRACE_QMP_ENTER_DUMP_SKEYS_EVENT;
extern TraceEvent _TRACE_QMP_EXIT_DUMP_SKEYS_EVENT;
extern TraceEvent _TRACE_QMP_ENTER_QUERY_CPU_MODEL_COMPARISON_EVENT;
extern TraceEvent _TRACE_QMP_EXIT_QUERY_CPU_MODEL_COMPARISON_EVENT;
extern TraceEvent _TRACE_QMP_ENTER_QUERY_CPU_MODEL_BASELINE_EVENT;
extern TraceEvent _TRACE_QMP_EXIT_QUERY_CPU_MODEL_BASELINE_EVENT;
extern TraceEvent _TRACE_QMP_ENTER_QUERY_CPU_MODEL_EXPANSION_EVENT;
extern TraceEvent _TRACE_QMP_EXIT_QUERY_CPU_MODEL_EXPANSION_EVENT;
extern TraceEvent _TRACE_QMP_ENTER_QUERY_CPU_DEFINITIONS_EVENT;
extern TraceEvent _TRACE_QMP_EXIT_QUERY_CPU_DEFINITIONS_EVENT;
extern uint16_t _TRACE_QMP_ENTER_QUERY_CPUS_FAST_DSTATE;
extern uint16_t _TRACE_QMP_EXIT_QUERY_CPUS_FAST_DSTATE;
extern uint16_t _TRACE_QMP_ENTER_QUERY_MACHINES_DSTATE;
extern uint16_t _TRACE_QMP_EXIT_QUERY_MACHINES_DSTATE;
extern uint16_t _TRACE_QMP_ENTER_QUERY_CURRENT_MACHINE_DSTATE;
extern uint16_t _TRACE_QMP_EXIT_QUERY_CURRENT_MACHINE_DSTATE;
extern uint16_t _TRACE_QMP_ENTER_QUERY_TARGET_DSTATE;
extern uint16_t _TRACE_QMP_EXIT_QUERY_TARGET_DSTATE;
extern uint16_t _TRACE_QMP_ENTER_QUERY_UUID_DSTATE;
extern uint16_t _TRACE_QMP_EXIT_QUERY_UUID_DSTATE;
extern uint16_t _TRACE_QMP_ENTER_QUERY_VM_GENERATION_ID_DSTATE;
extern uint16_t _TRACE_QMP_EXIT_QUERY_VM_GENERATION_ID_DSTATE;
extern uint16_t _TRACE_QMP_ENTER_SYSTEM_RESET_DSTATE;
extern uint16_t _TRACE_QMP_EXIT_SYSTEM_RESET_DSTATE;
extern uint16_t _TRACE_QMP_ENTER_SYSTEM_POWERDOWN_DSTATE;
extern uint16_t _TRACE_QMP_EXIT_SYSTEM_POWERDOWN_DSTATE;
extern uint16_t _TRACE_QMP_ENTER_SYSTEM_WAKEUP_DSTATE;
extern uint16_t _TRACE_QMP_EXIT_SYSTEM_WAKEUP_DSTATE;
extern uint16_t _TRACE_QMP_ENTER_INJECT_NMI_DSTATE;
extern uint16_t _TRACE_QMP_EXIT_INJECT_NMI_DSTATE;
extern uint16_t _TRACE_QMP_ENTER_MEMSAVE_DSTATE;
extern uint16_t _TRACE_QMP_EXIT_MEMSAVE_DSTATE;
extern uint16_t _TRACE_QMP_ENTER_PMEMSAVE_DSTATE;
extern uint16_t _TRACE_QMP_EXIT_PMEMSAVE_DSTATE;
extern uint16_t _TRACE_QMP_ENTER_QUERY_MEMDEV_DSTATE;
extern uint16_t _TRACE_QMP_EXIT_QUERY_MEMDEV_DSTATE;
extern uint16_t _TRACE_QMP_ENTER_QUERY_HOTPLUGGABLE_CPUS_DSTATE;
extern uint16_t _TRACE_QMP_EXIT_QUERY_HOTPLUGGABLE_CPUS_DSTATE;
extern uint16_t _TRACE_QMP_ENTER_SET_NUMA_NODE_DSTATE;
extern uint16_t _TRACE_QMP_EXIT_SET_NUMA_NODE_DSTATE;
extern uint16_t _TRACE_QMP_ENTER_BALLOON_DSTATE;
extern uint16_t _TRACE_QMP_EXIT_BALLOON_DSTATE;
extern uint16_t _TRACE_QMP_ENTER_QUERY_BALLOON_DSTATE;
extern uint16_t _TRACE_QMP_EXIT_QUERY_BALLOON_DSTATE;
extern uint16_t _TRACE_QMP_ENTER_QUERY_HV_BALLOON_STATUS_REPORT_DSTATE;
extern uint16_t _TRACE_QMP_EXIT_QUERY_HV_BALLOON_STATUS_REPORT_DSTATE;
extern uint16_t _TRACE_QMP_ENTER_QUERY_MEMORY_SIZE_SUMMARY_DSTATE;
extern uint16_t _TRACE_QMP_EXIT_QUERY_MEMORY_SIZE_SUMMARY_DSTATE;
extern uint16_t _TRACE_QMP_ENTER_QUERY_MEMORY_DEVICES_DSTATE;
extern uint16_t _TRACE_QMP_EXIT_QUERY_MEMORY_DEVICES_DSTATE;
extern uint16_t _TRACE_QMP_ENTER_X_QUERY_IRQ_DSTATE;
extern uint16_t _TRACE_QMP_EXIT_X_QUERY_IRQ_DSTATE;
extern uint16_t _TRACE_QMP_ENTER_X_QUERY_JIT_DSTATE;
extern uint16_t _TRACE_QMP_EXIT_X_QUERY_JIT_DSTATE;
extern uint16_t _TRACE_QMP_ENTER_X_QUERY_NUMA_DSTATE;
extern uint16_t _TRACE_QMP_EXIT_X_QUERY_NUMA_DSTATE;
extern uint16_t _TRACE_QMP_ENTER_X_QUERY_RAMBLOCK_DSTATE;
extern uint16_t _TRACE_QMP_EXIT_X_QUERY_RAMBLOCK_DSTATE;
extern uint16_t _TRACE_QMP_ENTER_X_QUERY_ROMS_DSTATE;
extern uint16_t _TRACE_QMP_EXIT_X_QUERY_ROMS_DSTATE;
extern uint16_t _TRACE_QMP_ENTER_X_QUERY_USB_DSTATE;
extern uint16_t _TRACE_QMP_EXIT_X_QUERY_USB_DSTATE;
extern uint16_t _TRACE_QMP_ENTER_DUMPDTB_DSTATE;
extern uint16_t _TRACE_QMP_EXIT_DUMPDTB_DSTATE;
extern uint16_t _TRACE_QMP_ENTER_X_QUERY_INTERRUPT_CONTROLLERS_DSTATE;
extern uint16_t _TRACE_QMP_EXIT_X_QUERY_INTERRUPT_CONTROLLERS_DSTATE;
extern uint16_t _TRACE_QMP_ENTER_QUERY_FIRMWARE_LOG_DSTATE;
extern uint16_t _TRACE_QMP_EXIT_QUERY_FIRMWARE_LOG_DSTATE;
extern uint16_t _TRACE_QMP_ENTER_DUMP_SKEYS_DSTATE;
extern uint16_t _TRACE_QMP_EXIT_DUMP_SKEYS_DSTATE;
extern uint16_t _TRACE_QMP_ENTER_QUERY_CPU_MODEL_COMPARISON_DSTATE;
extern uint16_t _TRACE_QMP_EXIT_QUERY_CPU_MODEL_COMPARISON_DSTATE;
extern uint16_t _TRACE_QMP_ENTER_QUERY_CPU_MODEL_BASELINE_DSTATE;
extern uint16_t _TRACE_QMP_EXIT_QUERY_CPU_MODEL_BASELINE_DSTATE;
extern uint16_t _TRACE_QMP_ENTER_QUERY_CPU_MODEL_EXPANSION_DSTATE;
extern uint16_t _TRACE_QMP_EXIT_QUERY_CPU_MODEL_EXPANSION_DSTATE;
extern uint16_t _TRACE_QMP_ENTER_QUERY_CPU_DEFINITIONS_DSTATE;
extern uint16_t _TRACE_QMP_EXIT_QUERY_CPU_DEFINITIONS_DSTATE;
#define TRACE_QMP_ENTER_QUERY_CPUS_FAST_ENABLED 1
#define TRACE_QMP_EXIT_QUERY_CPUS_FAST_ENABLED 1
#define TRACE_QMP_ENTER_QUERY_MACHINES_ENABLED 1
#define TRACE_QMP_EXIT_QUERY_MACHINES_ENABLED 1
#define TRACE_QMP_ENTER_QUERY_CURRENT_MACHINE_ENABLED 1
#define TRACE_QMP_EXIT_QUERY_CURRENT_MACHINE_ENABLED 1
#define TRACE_QMP_ENTER_QUERY_TARGET_ENABLED 1
#define TRACE_QMP_EXIT_QUERY_TARGET_ENABLED 1
#define TRACE_QMP_ENTER_QUERY_UUID_ENABLED 1
#define TRACE_QMP_EXIT_QUERY_UUID_ENABLED 1
#define TRACE_QMP_ENTER_QUERY_VM_GENERATION_ID_ENABLED 1
#define TRACE_QMP_EXIT_QUERY_VM_GENERATION_ID_ENABLED 1
#define TRACE_QMP_ENTER_SYSTEM_RESET_ENABLED 1
#define TRACE_QMP_EXIT_SYSTEM_RESET_ENABLED 1
#define TRACE_QMP_ENTER_SYSTEM_POWERDOWN_ENABLED 1
#define TRACE_QMP_EXIT_SYSTEM_POWERDOWN_ENABLED 1
#define TRACE_QMP_ENTER_SYSTEM_WAKEUP_ENABLED 1
#define TRACE_QMP_EXIT_SYSTEM_WAKEUP_ENABLED 1
#define TRACE_QMP_ENTER_INJECT_NMI_ENABLED 1
#define TRACE_QMP_EXIT_INJECT_NMI_ENABLED 1
#define TRACE_QMP_ENTER_MEMSAVE_ENABLED 1
#define TRACE_QMP_EXIT_MEMSAVE_ENABLED 1
#define TRACE_QMP_ENTER_PMEMSAVE_ENABLED 1
#define TRACE_QMP_EXIT_PMEMSAVE_ENABLED 1
#define TRACE_QMP_ENTER_QUERY_MEMDEV_ENABLED 1
#define TRACE_QMP_EXIT_QUERY_MEMDEV_ENABLED 1
#define TRACE_QMP_ENTER_QUERY_HOTPLUGGABLE_CPUS_ENABLED 1
#define TRACE_QMP_EXIT_QUERY_HOTPLUGGABLE_CPUS_ENABLED 1
#define TRACE_QMP_ENTER_SET_NUMA_NODE_ENABLED 1
#define TRACE_QMP_EXIT_SET_NUMA_NODE_ENABLED 1
#define TRACE_QMP_ENTER_BALLOON_ENABLED 1
#define TRACE_QMP_EXIT_BALLOON_ENABLED 1
#define TRACE_QMP_ENTER_QUERY_BALLOON_ENABLED 1
#define TRACE_QMP_EXIT_QUERY_BALLOON_ENABLED 1
#define TRACE_QMP_ENTER_QUERY_HV_BALLOON_STATUS_REPORT_ENABLED 1
#define TRACE_QMP_EXIT_QUERY_HV_BALLOON_STATUS_REPORT_ENABLED 1
#define TRACE_QMP_ENTER_QUERY_MEMORY_SIZE_SUMMARY_ENABLED 1
#define TRACE_QMP_EXIT_QUERY_MEMORY_SIZE_SUMMARY_ENABLED 1
#define TRACE_QMP_ENTER_QUERY_MEMORY_DEVICES_ENABLED 1
#define TRACE_QMP_EXIT_QUERY_MEMORY_DEVICES_ENABLED 1
#define TRACE_QMP_ENTER_X_QUERY_IRQ_ENABLED 1
#define TRACE_QMP_EXIT_X_QUERY_IRQ_ENABLED 1
#define TRACE_QMP_ENTER_X_QUERY_JIT_ENABLED 1
#define TRACE_QMP_EXIT_X_QUERY_JIT_ENABLED 1
#define TRACE_QMP_ENTER_X_QUERY_NUMA_ENABLED 1
#define TRACE_QMP_EXIT_X_QUERY_NUMA_ENABLED 1
#define TRACE_QMP_ENTER_X_QUERY_RAMBLOCK_ENABLED 1
#define TRACE_QMP_EXIT_X_QUERY_RAMBLOCK_ENABLED 1
#define TRACE_QMP_ENTER_X_QUERY_ROMS_ENABLED 1
#define TRACE_QMP_EXIT_X_QUERY_ROMS_ENABLED 1
#define TRACE_QMP_ENTER_X_QUERY_USB_ENABLED 1
#define TRACE_QMP_EXIT_X_QUERY_USB_ENABLED 1
#define TRACE_QMP_ENTER_DUMPDTB_ENABLED 1
#define TRACE_QMP_EXIT_DUMPDTB_ENABLED 1
#define TRACE_QMP_ENTER_X_QUERY_INTERRUPT_CONTROLLERS_ENABLED 1
#define TRACE_QMP_EXIT_X_QUERY_INTERRUPT_CONTROLLERS_ENABLED 1
#define TRACE_QMP_ENTER_QUERY_FIRMWARE_LOG_ENABLED 1
#define TRACE_QMP_EXIT_QUERY_FIRMWARE_LOG_ENABLED 1
#define TRACE_QMP_ENTER_DUMP_SKEYS_ENABLED 1
#define TRACE_QMP_EXIT_DUMP_SKEYS_ENABLED 1
#define TRACE_QMP_ENTER_QUERY_CPU_MODEL_COMPARISON_ENABLED 1
#define TRACE_QMP_EXIT_QUERY_CPU_MODEL_COMPARISON_ENABLED 1
#define TRACE_QMP_ENTER_QUERY_CPU_MODEL_BASELINE_ENABLED 1
#define TRACE_QMP_EXIT_QUERY_CPU_MODEL_BASELINE_ENABLED 1
#define TRACE_QMP_ENTER_QUERY_CPU_MODEL_EXPANSION_ENABLED 1
#define TRACE_QMP_EXIT_QUERY_CPU_MODEL_EXPANSION_ENABLED 1
#define TRACE_QMP_ENTER_QUERY_CPU_DEFINITIONS_ENABLED 1
#define TRACE_QMP_EXIT_QUERY_CPU_DEFINITIONS_ENABLED 1
#include "qemu/log-for-trace.h"


#define TRACE_QMP_ENTER_QUERY_CPUS_FAST_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_QMP_ENTER_QUERY_CPUS_FAST) || \
    false)

static inline void trace_qmp_enter_query_cpus_fast(const char *json)
{
    if (trace_event_get_state(TRACE_QMP_ENTER_QUERY_CPUS_FAST)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 3 "qapi/qapi-commands-machine.trace-events"
            qemu_log("qmp_enter_query_cpus_fast " "%s" "\n", json);
#line 227 "trace/trace-qapi_commands_machine_trace_events.h"
        }
    }
}

#define TRACE_QMP_EXIT_QUERY_CPUS_FAST_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_QMP_EXIT_QUERY_CPUS_FAST) || \
    false)

static inline void trace_qmp_exit_query_cpus_fast(const char *result, bool succeeded)
{
    if (trace_event_get_state(TRACE_QMP_EXIT_QUERY_CPUS_FAST)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 4 "qapi/qapi-commands-machine.trace-events"
            qemu_log("qmp_exit_query_cpus_fast " "%s %d" "\n", result, succeeded);
#line 242 "trace/trace-qapi_commands_machine_trace_events.h"
        }
    }
}

#define TRACE_QMP_ENTER_QUERY_MACHINES_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_QMP_ENTER_QUERY_MACHINES) || \
    false)

static inline void trace_qmp_enter_query_machines(const char *json)
{
    if (trace_event_get_state(TRACE_QMP_ENTER_QUERY_MACHINES)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 5 "qapi/qapi-commands-machine.trace-events"
            qemu_log("qmp_enter_query_machines " "%s" "\n", json);
#line 257 "trace/trace-qapi_commands_machine_trace_events.h"
        }
    }
}

#define TRACE_QMP_EXIT_QUERY_MACHINES_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_QMP_EXIT_QUERY_MACHINES) || \
    false)

static inline void trace_qmp_exit_query_machines(const char *result, bool succeeded)
{
    if (trace_event_get_state(TRACE_QMP_EXIT_QUERY_MACHINES)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 6 "qapi/qapi-commands-machine.trace-events"
            qemu_log("qmp_exit_query_machines " "%s %d" "\n", result, succeeded);
#line 272 "trace/trace-qapi_commands_machine_trace_events.h"
        }
    }
}

#define TRACE_QMP_ENTER_QUERY_CURRENT_MACHINE_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_QMP_ENTER_QUERY_CURRENT_MACHINE) || \
    false)

static inline void trace_qmp_enter_query_current_machine(const char *json)
{
    if (trace_event_get_state(TRACE_QMP_ENTER_QUERY_CURRENT_MACHINE)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 7 "qapi/qapi-commands-machine.trace-events"
            qemu_log("qmp_enter_query_current_machine " "%s" "\n", json);
#line 287 "trace/trace-qapi_commands_machine_trace_events.h"
        }
    }
}

#define TRACE_QMP_EXIT_QUERY_CURRENT_MACHINE_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_QMP_EXIT_QUERY_CURRENT_MACHINE) || \
    false)

static inline void trace_qmp_exit_query_current_machine(const char *result, bool succeeded)
{
    if (trace_event_get_state(TRACE_QMP_EXIT_QUERY_CURRENT_MACHINE)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 8 "qapi/qapi-commands-machine.trace-events"
            qemu_log("qmp_exit_query_current_machine " "%s %d" "\n", result, succeeded);
#line 302 "trace/trace-qapi_commands_machine_trace_events.h"
        }
    }
}

#define TRACE_QMP_ENTER_QUERY_TARGET_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_QMP_ENTER_QUERY_TARGET) || \
    false)

static inline void trace_qmp_enter_query_target(const char *json)
{
    if (trace_event_get_state(TRACE_QMP_ENTER_QUERY_TARGET)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 9 "qapi/qapi-commands-machine.trace-events"
            qemu_log("qmp_enter_query_target " "%s" "\n", json);
#line 317 "trace/trace-qapi_commands_machine_trace_events.h"
        }
    }
}

#define TRACE_QMP_EXIT_QUERY_TARGET_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_QMP_EXIT_QUERY_TARGET) || \
    false)

static inline void trace_qmp_exit_query_target(const char *result, bool succeeded)
{
    if (trace_event_get_state(TRACE_QMP_EXIT_QUERY_TARGET)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 10 "qapi/qapi-commands-machine.trace-events"
            qemu_log("qmp_exit_query_target " "%s %d" "\n", result, succeeded);
#line 332 "trace/trace-qapi_commands_machine_trace_events.h"
        }
    }
}

#define TRACE_QMP_ENTER_QUERY_UUID_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_QMP_ENTER_QUERY_UUID) || \
    false)

static inline void trace_qmp_enter_query_uuid(const char *json)
{
    if (trace_event_get_state(TRACE_QMP_ENTER_QUERY_UUID)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 11 "qapi/qapi-commands-machine.trace-events"
            qemu_log("qmp_enter_query_uuid " "%s" "\n", json);
#line 347 "trace/trace-qapi_commands_machine_trace_events.h"
        }
    }
}

#define TRACE_QMP_EXIT_QUERY_UUID_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_QMP_EXIT_QUERY_UUID) || \
    false)

static inline void trace_qmp_exit_query_uuid(const char *result, bool succeeded)
{
    if (trace_event_get_state(TRACE_QMP_EXIT_QUERY_UUID)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 12 "qapi/qapi-commands-machine.trace-events"
            qemu_log("qmp_exit_query_uuid " "%s %d" "\n", result, succeeded);
#line 362 "trace/trace-qapi_commands_machine_trace_events.h"
        }
    }
}

#define TRACE_QMP_ENTER_QUERY_VM_GENERATION_ID_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_QMP_ENTER_QUERY_VM_GENERATION_ID) || \
    false)

static inline void trace_qmp_enter_query_vm_generation_id(const char *json)
{
    if (trace_event_get_state(TRACE_QMP_ENTER_QUERY_VM_GENERATION_ID)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 13 "qapi/qapi-commands-machine.trace-events"
            qemu_log("qmp_enter_query_vm_generation_id " "%s" "\n", json);
#line 377 "trace/trace-qapi_commands_machine_trace_events.h"
        }
    }
}

#define TRACE_QMP_EXIT_QUERY_VM_GENERATION_ID_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_QMP_EXIT_QUERY_VM_GENERATION_ID) || \
    false)

static inline void trace_qmp_exit_query_vm_generation_id(const char *result, bool succeeded)
{
    if (trace_event_get_state(TRACE_QMP_EXIT_QUERY_VM_GENERATION_ID)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 14 "qapi/qapi-commands-machine.trace-events"
            qemu_log("qmp_exit_query_vm_generation_id " "%s %d" "\n", result, succeeded);
#line 392 "trace/trace-qapi_commands_machine_trace_events.h"
        }
    }
}

#define TRACE_QMP_ENTER_SYSTEM_RESET_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_QMP_ENTER_SYSTEM_RESET) || \
    false)

static inline void trace_qmp_enter_system_reset(const char *json)
{
    if (trace_event_get_state(TRACE_QMP_ENTER_SYSTEM_RESET)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 15 "qapi/qapi-commands-machine.trace-events"
            qemu_log("qmp_enter_system_reset " "%s" "\n", json);
#line 407 "trace/trace-qapi_commands_machine_trace_events.h"
        }
    }
}

#define TRACE_QMP_EXIT_SYSTEM_RESET_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_QMP_EXIT_SYSTEM_RESET) || \
    false)

static inline void trace_qmp_exit_system_reset(const char *result, bool succeeded)
{
    if (trace_event_get_state(TRACE_QMP_EXIT_SYSTEM_RESET)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 16 "qapi/qapi-commands-machine.trace-events"
            qemu_log("qmp_exit_system_reset " "%s %d" "\n", result, succeeded);
#line 422 "trace/trace-qapi_commands_machine_trace_events.h"
        }
    }
}

#define TRACE_QMP_ENTER_SYSTEM_POWERDOWN_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_QMP_ENTER_SYSTEM_POWERDOWN) || \
    false)

static inline void trace_qmp_enter_system_powerdown(const char *json)
{
    if (trace_event_get_state(TRACE_QMP_ENTER_SYSTEM_POWERDOWN)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 17 "qapi/qapi-commands-machine.trace-events"
            qemu_log("qmp_enter_system_powerdown " "%s" "\n", json);
#line 437 "trace/trace-qapi_commands_machine_trace_events.h"
        }
    }
}

#define TRACE_QMP_EXIT_SYSTEM_POWERDOWN_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_QMP_EXIT_SYSTEM_POWERDOWN) || \
    false)

static inline void trace_qmp_exit_system_powerdown(const char *result, bool succeeded)
{
    if (trace_event_get_state(TRACE_QMP_EXIT_SYSTEM_POWERDOWN)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 18 "qapi/qapi-commands-machine.trace-events"
            qemu_log("qmp_exit_system_powerdown " "%s %d" "\n", result, succeeded);
#line 452 "trace/trace-qapi_commands_machine_trace_events.h"
        }
    }
}

#define TRACE_QMP_ENTER_SYSTEM_WAKEUP_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_QMP_ENTER_SYSTEM_WAKEUP) || \
    false)

static inline void trace_qmp_enter_system_wakeup(const char *json)
{
    if (trace_event_get_state(TRACE_QMP_ENTER_SYSTEM_WAKEUP)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 19 "qapi/qapi-commands-machine.trace-events"
            qemu_log("qmp_enter_system_wakeup " "%s" "\n", json);
#line 467 "trace/trace-qapi_commands_machine_trace_events.h"
        }
    }
}

#define TRACE_QMP_EXIT_SYSTEM_WAKEUP_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_QMP_EXIT_SYSTEM_WAKEUP) || \
    false)

static inline void trace_qmp_exit_system_wakeup(const char *result, bool succeeded)
{
    if (trace_event_get_state(TRACE_QMP_EXIT_SYSTEM_WAKEUP)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 20 "qapi/qapi-commands-machine.trace-events"
            qemu_log("qmp_exit_system_wakeup " "%s %d" "\n", result, succeeded);
#line 482 "trace/trace-qapi_commands_machine_trace_events.h"
        }
    }
}

#define TRACE_QMP_ENTER_INJECT_NMI_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_QMP_ENTER_INJECT_NMI) || \
    false)

static inline void trace_qmp_enter_inject_nmi(const char *json)
{
    if (trace_event_get_state(TRACE_QMP_ENTER_INJECT_NMI)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 21 "qapi/qapi-commands-machine.trace-events"
            qemu_log("qmp_enter_inject_nmi " "%s" "\n", json);
#line 497 "trace/trace-qapi_commands_machine_trace_events.h"
        }
    }
}

#define TRACE_QMP_EXIT_INJECT_NMI_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_QMP_EXIT_INJECT_NMI) || \
    false)

static inline void trace_qmp_exit_inject_nmi(const char *result, bool succeeded)
{
    if (trace_event_get_state(TRACE_QMP_EXIT_INJECT_NMI)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 22 "qapi/qapi-commands-machine.trace-events"
            qemu_log("qmp_exit_inject_nmi " "%s %d" "\n", result, succeeded);
#line 512 "trace/trace-qapi_commands_machine_trace_events.h"
        }
    }
}

#define TRACE_QMP_ENTER_MEMSAVE_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_QMP_ENTER_MEMSAVE) || \
    false)

static inline void trace_qmp_enter_memsave(const char *json)
{
    if (trace_event_get_state(TRACE_QMP_ENTER_MEMSAVE)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 23 "qapi/qapi-commands-machine.trace-events"
            qemu_log("qmp_enter_memsave " "%s" "\n", json);
#line 527 "trace/trace-qapi_commands_machine_trace_events.h"
        }
    }
}

#define TRACE_QMP_EXIT_MEMSAVE_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_QMP_EXIT_MEMSAVE) || \
    false)

static inline void trace_qmp_exit_memsave(const char *result, bool succeeded)
{
    if (trace_event_get_state(TRACE_QMP_EXIT_MEMSAVE)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 24 "qapi/qapi-commands-machine.trace-events"
            qemu_log("qmp_exit_memsave " "%s %d" "\n", result, succeeded);
#line 542 "trace/trace-qapi_commands_machine_trace_events.h"
        }
    }
}

#define TRACE_QMP_ENTER_PMEMSAVE_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_QMP_ENTER_PMEMSAVE) || \
    false)

static inline void trace_qmp_enter_pmemsave(const char *json)
{
    if (trace_event_get_state(TRACE_QMP_ENTER_PMEMSAVE)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 25 "qapi/qapi-commands-machine.trace-events"
            qemu_log("qmp_enter_pmemsave " "%s" "\n", json);
#line 557 "trace/trace-qapi_commands_machine_trace_events.h"
        }
    }
}

#define TRACE_QMP_EXIT_PMEMSAVE_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_QMP_EXIT_PMEMSAVE) || \
    false)

static inline void trace_qmp_exit_pmemsave(const char *result, bool succeeded)
{
    if (trace_event_get_state(TRACE_QMP_EXIT_PMEMSAVE)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 26 "qapi/qapi-commands-machine.trace-events"
            qemu_log("qmp_exit_pmemsave " "%s %d" "\n", result, succeeded);
#line 572 "trace/trace-qapi_commands_machine_trace_events.h"
        }
    }
}

#define TRACE_QMP_ENTER_QUERY_MEMDEV_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_QMP_ENTER_QUERY_MEMDEV) || \
    false)

static inline void trace_qmp_enter_query_memdev(const char *json)
{
    if (trace_event_get_state(TRACE_QMP_ENTER_QUERY_MEMDEV)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 27 "qapi/qapi-commands-machine.trace-events"
            qemu_log("qmp_enter_query_memdev " "%s" "\n", json);
#line 587 "trace/trace-qapi_commands_machine_trace_events.h"
        }
    }
}

#define TRACE_QMP_EXIT_QUERY_MEMDEV_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_QMP_EXIT_QUERY_MEMDEV) || \
    false)

static inline void trace_qmp_exit_query_memdev(const char *result, bool succeeded)
{
    if (trace_event_get_state(TRACE_QMP_EXIT_QUERY_MEMDEV)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 28 "qapi/qapi-commands-machine.trace-events"
            qemu_log("qmp_exit_query_memdev " "%s %d" "\n", result, succeeded);
#line 602 "trace/trace-qapi_commands_machine_trace_events.h"
        }
    }
}

#define TRACE_QMP_ENTER_QUERY_HOTPLUGGABLE_CPUS_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_QMP_ENTER_QUERY_HOTPLUGGABLE_CPUS) || \
    false)

static inline void trace_qmp_enter_query_hotpluggable_cpus(const char *json)
{
    if (trace_event_get_state(TRACE_QMP_ENTER_QUERY_HOTPLUGGABLE_CPUS)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 29 "qapi/qapi-commands-machine.trace-events"
            qemu_log("qmp_enter_query_hotpluggable_cpus " "%s" "\n", json);
#line 617 "trace/trace-qapi_commands_machine_trace_events.h"
        }
    }
}

#define TRACE_QMP_EXIT_QUERY_HOTPLUGGABLE_CPUS_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_QMP_EXIT_QUERY_HOTPLUGGABLE_CPUS) || \
    false)

static inline void trace_qmp_exit_query_hotpluggable_cpus(const char *result, bool succeeded)
{
    if (trace_event_get_state(TRACE_QMP_EXIT_QUERY_HOTPLUGGABLE_CPUS)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 30 "qapi/qapi-commands-machine.trace-events"
            qemu_log("qmp_exit_query_hotpluggable_cpus " "%s %d" "\n", result, succeeded);
#line 632 "trace/trace-qapi_commands_machine_trace_events.h"
        }
    }
}

#define TRACE_QMP_ENTER_SET_NUMA_NODE_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_QMP_ENTER_SET_NUMA_NODE) || \
    false)

static inline void trace_qmp_enter_set_numa_node(const char *json)
{
    if (trace_event_get_state(TRACE_QMP_ENTER_SET_NUMA_NODE)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 31 "qapi/qapi-commands-machine.trace-events"
            qemu_log("qmp_enter_set_numa_node " "%s" "\n", json);
#line 647 "trace/trace-qapi_commands_machine_trace_events.h"
        }
    }
}

#define TRACE_QMP_EXIT_SET_NUMA_NODE_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_QMP_EXIT_SET_NUMA_NODE) || \
    false)

static inline void trace_qmp_exit_set_numa_node(const char *result, bool succeeded)
{
    if (trace_event_get_state(TRACE_QMP_EXIT_SET_NUMA_NODE)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 32 "qapi/qapi-commands-machine.trace-events"
            qemu_log("qmp_exit_set_numa_node " "%s %d" "\n", result, succeeded);
#line 662 "trace/trace-qapi_commands_machine_trace_events.h"
        }
    }
}

#define TRACE_QMP_ENTER_BALLOON_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_QMP_ENTER_BALLOON) || \
    false)

static inline void trace_qmp_enter_balloon(const char *json)
{
    if (trace_event_get_state(TRACE_QMP_ENTER_BALLOON)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 33 "qapi/qapi-commands-machine.trace-events"
            qemu_log("qmp_enter_balloon " "%s" "\n", json);
#line 677 "trace/trace-qapi_commands_machine_trace_events.h"
        }
    }
}

#define TRACE_QMP_EXIT_BALLOON_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_QMP_EXIT_BALLOON) || \
    false)

static inline void trace_qmp_exit_balloon(const char *result, bool succeeded)
{
    if (trace_event_get_state(TRACE_QMP_EXIT_BALLOON)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 34 "qapi/qapi-commands-machine.trace-events"
            qemu_log("qmp_exit_balloon " "%s %d" "\n", result, succeeded);
#line 692 "trace/trace-qapi_commands_machine_trace_events.h"
        }
    }
}

#define TRACE_QMP_ENTER_QUERY_BALLOON_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_QMP_ENTER_QUERY_BALLOON) || \
    false)

static inline void trace_qmp_enter_query_balloon(const char *json)
{
    if (trace_event_get_state(TRACE_QMP_ENTER_QUERY_BALLOON)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 35 "qapi/qapi-commands-machine.trace-events"
            qemu_log("qmp_enter_query_balloon " "%s" "\n", json);
#line 707 "trace/trace-qapi_commands_machine_trace_events.h"
        }
    }
}

#define TRACE_QMP_EXIT_QUERY_BALLOON_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_QMP_EXIT_QUERY_BALLOON) || \
    false)

static inline void trace_qmp_exit_query_balloon(const char *result, bool succeeded)
{
    if (trace_event_get_state(TRACE_QMP_EXIT_QUERY_BALLOON)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 36 "qapi/qapi-commands-machine.trace-events"
            qemu_log("qmp_exit_query_balloon " "%s %d" "\n", result, succeeded);
#line 722 "trace/trace-qapi_commands_machine_trace_events.h"
        }
    }
}

#define TRACE_QMP_ENTER_QUERY_HV_BALLOON_STATUS_REPORT_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_QMP_ENTER_QUERY_HV_BALLOON_STATUS_REPORT) || \
    false)

static inline void trace_qmp_enter_query_hv_balloon_status_report(const char *json)
{
    if (trace_event_get_state(TRACE_QMP_ENTER_QUERY_HV_BALLOON_STATUS_REPORT)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 37 "qapi/qapi-commands-machine.trace-events"
            qemu_log("qmp_enter_query_hv_balloon_status_report " "%s" "\n", json);
#line 737 "trace/trace-qapi_commands_machine_trace_events.h"
        }
    }
}

#define TRACE_QMP_EXIT_QUERY_HV_BALLOON_STATUS_REPORT_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_QMP_EXIT_QUERY_HV_BALLOON_STATUS_REPORT) || \
    false)

static inline void trace_qmp_exit_query_hv_balloon_status_report(const char *result, bool succeeded)
{
    if (trace_event_get_state(TRACE_QMP_EXIT_QUERY_HV_BALLOON_STATUS_REPORT)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 38 "qapi/qapi-commands-machine.trace-events"
            qemu_log("qmp_exit_query_hv_balloon_status_report " "%s %d" "\n", result, succeeded);
#line 752 "trace/trace-qapi_commands_machine_trace_events.h"
        }
    }
}

#define TRACE_QMP_ENTER_QUERY_MEMORY_SIZE_SUMMARY_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_QMP_ENTER_QUERY_MEMORY_SIZE_SUMMARY) || \
    false)

static inline void trace_qmp_enter_query_memory_size_summary(const char *json)
{
    if (trace_event_get_state(TRACE_QMP_ENTER_QUERY_MEMORY_SIZE_SUMMARY)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 39 "qapi/qapi-commands-machine.trace-events"
            qemu_log("qmp_enter_query_memory_size_summary " "%s" "\n", json);
#line 767 "trace/trace-qapi_commands_machine_trace_events.h"
        }
    }
}

#define TRACE_QMP_EXIT_QUERY_MEMORY_SIZE_SUMMARY_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_QMP_EXIT_QUERY_MEMORY_SIZE_SUMMARY) || \
    false)

static inline void trace_qmp_exit_query_memory_size_summary(const char *result, bool succeeded)
{
    if (trace_event_get_state(TRACE_QMP_EXIT_QUERY_MEMORY_SIZE_SUMMARY)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 40 "qapi/qapi-commands-machine.trace-events"
            qemu_log("qmp_exit_query_memory_size_summary " "%s %d" "\n", result, succeeded);
#line 782 "trace/trace-qapi_commands_machine_trace_events.h"
        }
    }
}

#define TRACE_QMP_ENTER_QUERY_MEMORY_DEVICES_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_QMP_ENTER_QUERY_MEMORY_DEVICES) || \
    false)

static inline void trace_qmp_enter_query_memory_devices(const char *json)
{
    if (trace_event_get_state(TRACE_QMP_ENTER_QUERY_MEMORY_DEVICES)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 41 "qapi/qapi-commands-machine.trace-events"
            qemu_log("qmp_enter_query_memory_devices " "%s" "\n", json);
#line 797 "trace/trace-qapi_commands_machine_trace_events.h"
        }
    }
}

#define TRACE_QMP_EXIT_QUERY_MEMORY_DEVICES_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_QMP_EXIT_QUERY_MEMORY_DEVICES) || \
    false)

static inline void trace_qmp_exit_query_memory_devices(const char *result, bool succeeded)
{
    if (trace_event_get_state(TRACE_QMP_EXIT_QUERY_MEMORY_DEVICES)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 42 "qapi/qapi-commands-machine.trace-events"
            qemu_log("qmp_exit_query_memory_devices " "%s %d" "\n", result, succeeded);
#line 812 "trace/trace-qapi_commands_machine_trace_events.h"
        }
    }
}

#define TRACE_QMP_ENTER_X_QUERY_IRQ_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_QMP_ENTER_X_QUERY_IRQ) || \
    false)

static inline void trace_qmp_enter_x_query_irq(const char *json)
{
    if (trace_event_get_state(TRACE_QMP_ENTER_X_QUERY_IRQ)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 43 "qapi/qapi-commands-machine.trace-events"
            qemu_log("qmp_enter_x_query_irq " "%s" "\n", json);
#line 827 "trace/trace-qapi_commands_machine_trace_events.h"
        }
    }
}

#define TRACE_QMP_EXIT_X_QUERY_IRQ_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_QMP_EXIT_X_QUERY_IRQ) || \
    false)

static inline void trace_qmp_exit_x_query_irq(const char *result, bool succeeded)
{
    if (trace_event_get_state(TRACE_QMP_EXIT_X_QUERY_IRQ)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 44 "qapi/qapi-commands-machine.trace-events"
            qemu_log("qmp_exit_x_query_irq " "%s %d" "\n", result, succeeded);
#line 842 "trace/trace-qapi_commands_machine_trace_events.h"
        }
    }
}

#define TRACE_QMP_ENTER_X_QUERY_JIT_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_QMP_ENTER_X_QUERY_JIT) || \
    false)

static inline void trace_qmp_enter_x_query_jit(const char *json)
{
    if (trace_event_get_state(TRACE_QMP_ENTER_X_QUERY_JIT)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 45 "qapi/qapi-commands-machine.trace-events"
            qemu_log("qmp_enter_x_query_jit " "%s" "\n", json);
#line 857 "trace/trace-qapi_commands_machine_trace_events.h"
        }
    }
}

#define TRACE_QMP_EXIT_X_QUERY_JIT_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_QMP_EXIT_X_QUERY_JIT) || \
    false)

static inline void trace_qmp_exit_x_query_jit(const char *result, bool succeeded)
{
    if (trace_event_get_state(TRACE_QMP_EXIT_X_QUERY_JIT)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 46 "qapi/qapi-commands-machine.trace-events"
            qemu_log("qmp_exit_x_query_jit " "%s %d" "\n", result, succeeded);
#line 872 "trace/trace-qapi_commands_machine_trace_events.h"
        }
    }
}

#define TRACE_QMP_ENTER_X_QUERY_NUMA_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_QMP_ENTER_X_QUERY_NUMA) || \
    false)

static inline void trace_qmp_enter_x_query_numa(const char *json)
{
    if (trace_event_get_state(TRACE_QMP_ENTER_X_QUERY_NUMA)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 47 "qapi/qapi-commands-machine.trace-events"
            qemu_log("qmp_enter_x_query_numa " "%s" "\n", json);
#line 887 "trace/trace-qapi_commands_machine_trace_events.h"
        }
    }
}

#define TRACE_QMP_EXIT_X_QUERY_NUMA_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_QMP_EXIT_X_QUERY_NUMA) || \
    false)

static inline void trace_qmp_exit_x_query_numa(const char *result, bool succeeded)
{
    if (trace_event_get_state(TRACE_QMP_EXIT_X_QUERY_NUMA)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 48 "qapi/qapi-commands-machine.trace-events"
            qemu_log("qmp_exit_x_query_numa " "%s %d" "\n", result, succeeded);
#line 902 "trace/trace-qapi_commands_machine_trace_events.h"
        }
    }
}

#define TRACE_QMP_ENTER_X_QUERY_RAMBLOCK_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_QMP_ENTER_X_QUERY_RAMBLOCK) || \
    false)

static inline void trace_qmp_enter_x_query_ramblock(const char *json)
{
    if (trace_event_get_state(TRACE_QMP_ENTER_X_QUERY_RAMBLOCK)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 49 "qapi/qapi-commands-machine.trace-events"
            qemu_log("qmp_enter_x_query_ramblock " "%s" "\n", json);
#line 917 "trace/trace-qapi_commands_machine_trace_events.h"
        }
    }
}

#define TRACE_QMP_EXIT_X_QUERY_RAMBLOCK_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_QMP_EXIT_X_QUERY_RAMBLOCK) || \
    false)

static inline void trace_qmp_exit_x_query_ramblock(const char *result, bool succeeded)
{
    if (trace_event_get_state(TRACE_QMP_EXIT_X_QUERY_RAMBLOCK)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 50 "qapi/qapi-commands-machine.trace-events"
            qemu_log("qmp_exit_x_query_ramblock " "%s %d" "\n", result, succeeded);
#line 932 "trace/trace-qapi_commands_machine_trace_events.h"
        }
    }
}

#define TRACE_QMP_ENTER_X_QUERY_ROMS_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_QMP_ENTER_X_QUERY_ROMS) || \
    false)

static inline void trace_qmp_enter_x_query_roms(const char *json)
{
    if (trace_event_get_state(TRACE_QMP_ENTER_X_QUERY_ROMS)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 51 "qapi/qapi-commands-machine.trace-events"
            qemu_log("qmp_enter_x_query_roms " "%s" "\n", json);
#line 947 "trace/trace-qapi_commands_machine_trace_events.h"
        }
    }
}

#define TRACE_QMP_EXIT_X_QUERY_ROMS_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_QMP_EXIT_X_QUERY_ROMS) || \
    false)

static inline void trace_qmp_exit_x_query_roms(const char *result, bool succeeded)
{
    if (trace_event_get_state(TRACE_QMP_EXIT_X_QUERY_ROMS)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 52 "qapi/qapi-commands-machine.trace-events"
            qemu_log("qmp_exit_x_query_roms " "%s %d" "\n", result, succeeded);
#line 962 "trace/trace-qapi_commands_machine_trace_events.h"
        }
    }
}

#define TRACE_QMP_ENTER_X_QUERY_USB_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_QMP_ENTER_X_QUERY_USB) || \
    false)

static inline void trace_qmp_enter_x_query_usb(const char *json)
{
    if (trace_event_get_state(TRACE_QMP_ENTER_X_QUERY_USB)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 53 "qapi/qapi-commands-machine.trace-events"
            qemu_log("qmp_enter_x_query_usb " "%s" "\n", json);
#line 977 "trace/trace-qapi_commands_machine_trace_events.h"
        }
    }
}

#define TRACE_QMP_EXIT_X_QUERY_USB_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_QMP_EXIT_X_QUERY_USB) || \
    false)

static inline void trace_qmp_exit_x_query_usb(const char *result, bool succeeded)
{
    if (trace_event_get_state(TRACE_QMP_EXIT_X_QUERY_USB)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 54 "qapi/qapi-commands-machine.trace-events"
            qemu_log("qmp_exit_x_query_usb " "%s %d" "\n", result, succeeded);
#line 992 "trace/trace-qapi_commands_machine_trace_events.h"
        }
    }
}

#define TRACE_QMP_ENTER_DUMPDTB_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_QMP_ENTER_DUMPDTB) || \
    false)

static inline void trace_qmp_enter_dumpdtb(const char *json)
{
    if (trace_event_get_state(TRACE_QMP_ENTER_DUMPDTB)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 55 "qapi/qapi-commands-machine.trace-events"
            qemu_log("qmp_enter_dumpdtb " "%s" "\n", json);
#line 1007 "trace/trace-qapi_commands_machine_trace_events.h"
        }
    }
}

#define TRACE_QMP_EXIT_DUMPDTB_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_QMP_EXIT_DUMPDTB) || \
    false)

static inline void trace_qmp_exit_dumpdtb(const char *result, bool succeeded)
{
    if (trace_event_get_state(TRACE_QMP_EXIT_DUMPDTB)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 56 "qapi/qapi-commands-machine.trace-events"
            qemu_log("qmp_exit_dumpdtb " "%s %d" "\n", result, succeeded);
#line 1022 "trace/trace-qapi_commands_machine_trace_events.h"
        }
    }
}

#define TRACE_QMP_ENTER_X_QUERY_INTERRUPT_CONTROLLERS_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_QMP_ENTER_X_QUERY_INTERRUPT_CONTROLLERS) || \
    false)

static inline void trace_qmp_enter_x_query_interrupt_controllers(const char *json)
{
    if (trace_event_get_state(TRACE_QMP_ENTER_X_QUERY_INTERRUPT_CONTROLLERS)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 57 "qapi/qapi-commands-machine.trace-events"
            qemu_log("qmp_enter_x_query_interrupt_controllers " "%s" "\n", json);
#line 1037 "trace/trace-qapi_commands_machine_trace_events.h"
        }
    }
}

#define TRACE_QMP_EXIT_X_QUERY_INTERRUPT_CONTROLLERS_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_QMP_EXIT_X_QUERY_INTERRUPT_CONTROLLERS) || \
    false)

static inline void trace_qmp_exit_x_query_interrupt_controllers(const char *result, bool succeeded)
{
    if (trace_event_get_state(TRACE_QMP_EXIT_X_QUERY_INTERRUPT_CONTROLLERS)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 58 "qapi/qapi-commands-machine.trace-events"
            qemu_log("qmp_exit_x_query_interrupt_controllers " "%s %d" "\n", result, succeeded);
#line 1052 "trace/trace-qapi_commands_machine_trace_events.h"
        }
    }
}

#define TRACE_QMP_ENTER_QUERY_FIRMWARE_LOG_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_QMP_ENTER_QUERY_FIRMWARE_LOG) || \
    false)

static inline void trace_qmp_enter_query_firmware_log(const char *json)
{
    if (trace_event_get_state(TRACE_QMP_ENTER_QUERY_FIRMWARE_LOG)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 59 "qapi/qapi-commands-machine.trace-events"
            qemu_log("qmp_enter_query_firmware_log " "%s" "\n", json);
#line 1067 "trace/trace-qapi_commands_machine_trace_events.h"
        }
    }
}

#define TRACE_QMP_EXIT_QUERY_FIRMWARE_LOG_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_QMP_EXIT_QUERY_FIRMWARE_LOG) || \
    false)

static inline void trace_qmp_exit_query_firmware_log(const char *result, bool succeeded)
{
    if (trace_event_get_state(TRACE_QMP_EXIT_QUERY_FIRMWARE_LOG)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 60 "qapi/qapi-commands-machine.trace-events"
            qemu_log("qmp_exit_query_firmware_log " "%s %d" "\n", result, succeeded);
#line 1082 "trace/trace-qapi_commands_machine_trace_events.h"
        }
    }
}

#define TRACE_QMP_ENTER_DUMP_SKEYS_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_QMP_ENTER_DUMP_SKEYS) || \
    false)

static inline void trace_qmp_enter_dump_skeys(const char *json)
{
    if (trace_event_get_state(TRACE_QMP_ENTER_DUMP_SKEYS)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 61 "qapi/qapi-commands-machine.trace-events"
            qemu_log("qmp_enter_dump_skeys " "%s" "\n", json);
#line 1097 "trace/trace-qapi_commands_machine_trace_events.h"
        }
    }
}

#define TRACE_QMP_EXIT_DUMP_SKEYS_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_QMP_EXIT_DUMP_SKEYS) || \
    false)

static inline void trace_qmp_exit_dump_skeys(const char *result, bool succeeded)
{
    if (trace_event_get_state(TRACE_QMP_EXIT_DUMP_SKEYS)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 62 "qapi/qapi-commands-machine.trace-events"
            qemu_log("qmp_exit_dump_skeys " "%s %d" "\n", result, succeeded);
#line 1112 "trace/trace-qapi_commands_machine_trace_events.h"
        }
    }
}

#define TRACE_QMP_ENTER_QUERY_CPU_MODEL_COMPARISON_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_QMP_ENTER_QUERY_CPU_MODEL_COMPARISON) || \
    false)

static inline void trace_qmp_enter_query_cpu_model_comparison(const char *json)
{
    if (trace_event_get_state(TRACE_QMP_ENTER_QUERY_CPU_MODEL_COMPARISON)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 63 "qapi/qapi-commands-machine.trace-events"
            qemu_log("qmp_enter_query_cpu_model_comparison " "%s" "\n", json);
#line 1127 "trace/trace-qapi_commands_machine_trace_events.h"
        }
    }
}

#define TRACE_QMP_EXIT_QUERY_CPU_MODEL_COMPARISON_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_QMP_EXIT_QUERY_CPU_MODEL_COMPARISON) || \
    false)

static inline void trace_qmp_exit_query_cpu_model_comparison(const char *result, bool succeeded)
{
    if (trace_event_get_state(TRACE_QMP_EXIT_QUERY_CPU_MODEL_COMPARISON)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 64 "qapi/qapi-commands-machine.trace-events"
            qemu_log("qmp_exit_query_cpu_model_comparison " "%s %d" "\n", result, succeeded);
#line 1142 "trace/trace-qapi_commands_machine_trace_events.h"
        }
    }
}

#define TRACE_QMP_ENTER_QUERY_CPU_MODEL_BASELINE_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_QMP_ENTER_QUERY_CPU_MODEL_BASELINE) || \
    false)

static inline void trace_qmp_enter_query_cpu_model_baseline(const char *json)
{
    if (trace_event_get_state(TRACE_QMP_ENTER_QUERY_CPU_MODEL_BASELINE)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 65 "qapi/qapi-commands-machine.trace-events"
            qemu_log("qmp_enter_query_cpu_model_baseline " "%s" "\n", json);
#line 1157 "trace/trace-qapi_commands_machine_trace_events.h"
        }
    }
}

#define TRACE_QMP_EXIT_QUERY_CPU_MODEL_BASELINE_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_QMP_EXIT_QUERY_CPU_MODEL_BASELINE) || \
    false)

static inline void trace_qmp_exit_query_cpu_model_baseline(const char *result, bool succeeded)
{
    if (trace_event_get_state(TRACE_QMP_EXIT_QUERY_CPU_MODEL_BASELINE)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 66 "qapi/qapi-commands-machine.trace-events"
            qemu_log("qmp_exit_query_cpu_model_baseline " "%s %d" "\n", result, succeeded);
#line 1172 "trace/trace-qapi_commands_machine_trace_events.h"
        }
    }
}

#define TRACE_QMP_ENTER_QUERY_CPU_MODEL_EXPANSION_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_QMP_ENTER_QUERY_CPU_MODEL_EXPANSION) || \
    false)

static inline void trace_qmp_enter_query_cpu_model_expansion(const char *json)
{
    if (trace_event_get_state(TRACE_QMP_ENTER_QUERY_CPU_MODEL_EXPANSION)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 67 "qapi/qapi-commands-machine.trace-events"
            qemu_log("qmp_enter_query_cpu_model_expansion " "%s" "\n", json);
#line 1187 "trace/trace-qapi_commands_machine_trace_events.h"
        }
    }
}

#define TRACE_QMP_EXIT_QUERY_CPU_MODEL_EXPANSION_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_QMP_EXIT_QUERY_CPU_MODEL_EXPANSION) || \
    false)

static inline void trace_qmp_exit_query_cpu_model_expansion(const char *result, bool succeeded)
{
    if (trace_event_get_state(TRACE_QMP_EXIT_QUERY_CPU_MODEL_EXPANSION)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 68 "qapi/qapi-commands-machine.trace-events"
            qemu_log("qmp_exit_query_cpu_model_expansion " "%s %d" "\n", result, succeeded);
#line 1202 "trace/trace-qapi_commands_machine_trace_events.h"
        }
    }
}

#define TRACE_QMP_ENTER_QUERY_CPU_DEFINITIONS_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_QMP_ENTER_QUERY_CPU_DEFINITIONS) || \
    false)

static inline void trace_qmp_enter_query_cpu_definitions(const char *json)
{
    if (trace_event_get_state(TRACE_QMP_ENTER_QUERY_CPU_DEFINITIONS)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 69 "qapi/qapi-commands-machine.trace-events"
            qemu_log("qmp_enter_query_cpu_definitions " "%s" "\n", json);
#line 1217 "trace/trace-qapi_commands_machine_trace_events.h"
        }
    }
}

#define TRACE_QMP_EXIT_QUERY_CPU_DEFINITIONS_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_QMP_EXIT_QUERY_CPU_DEFINITIONS) || \
    false)

static inline void trace_qmp_exit_query_cpu_definitions(const char *result, bool succeeded)
{
    if (trace_event_get_state(TRACE_QMP_EXIT_QUERY_CPU_DEFINITIONS)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 70 "qapi/qapi-commands-machine.trace-events"
            qemu_log("qmp_exit_query_cpu_definitions " "%s %d" "\n", result, succeeded);
#line 1232 "trace/trace-qapi_commands_machine_trace_events.h"
        }
    }
}
#endif /* TRACE_QAPI_COMMANDS_MACHINE_TRACE_EVENTS_GENERATED_TRACERS_H */
