/* This file is autogenerated by tracetool, do not edit. */

#ifndef TRACE_QAPI_COMMANDS_MISC_TARGET_TRACE_EVENTS_GENERATED_TRACERS_H
#define TRACE_QAPI_COMMANDS_MISC_TARGET_TRACE_EVENTS_GENERATED_TRACERS_H

#include "trace/control.h"

extern TraceEvent _TRACE_QMP_ENTER_RTC_RESET_REINJECTION_EVENT;
extern TraceEvent _TRACE_QMP_EXIT_RTC_RESET_REINJECTION_EVENT;
extern TraceEvent _TRACE_QMP_ENTER_QUERY_SEV_EVENT;
extern TraceEvent _TRACE_QMP_EXIT_QUERY_SEV_EVENT;
extern TraceEvent _TRACE_QMP_ENTER_QUERY_SEV_LAUNCH_MEASURE_EVENT;
extern TraceEvent _TRACE_QMP_EXIT_QUERY_SEV_LAUNCH_MEASURE_EVENT;
extern TraceEvent _TRACE_QMP_ENTER_QUERY_SEV_CAPABILITIES_EVENT;
extern TraceEvent _TRACE_QMP_EXIT_QUERY_SEV_CAPABILITIES_EVENT;
extern TraceEvent _TRACE_QMP_ENTER_SEV_INJECT_LAUNCH_SECRET_EVENT;
extern TraceEvent _TRACE_QMP_EXIT_SEV_INJECT_LAUNCH_SECRET_EVENT;
extern TraceEvent _TRACE_QMP_ENTER_QUERY_SEV_ATTESTATION_REPORT_EVENT;
extern TraceEvent _TRACE_QMP_EXIT_QUERY_SEV_ATTESTATION_REPORT_EVENT;
extern TraceEvent _TRACE_QMP_ENTER_DUMP_SKEYS_EVENT;
extern TraceEvent _TRACE_QMP_EXIT_DUMP_SKEYS_EVENT;
extern TraceEvent _TRACE_QMP_ENTER_QUERY_GIC_CAPABILITIES_EVENT;
extern TraceEvent _TRACE_QMP_EXIT_QUERY_GIC_CAPABILITIES_EVENT;
extern TraceEvent _TRACE_QMP_ENTER_QUERY_SGX_EVENT;
extern TraceEvent _TRACE_QMP_EXIT_QUERY_SGX_EVENT;
extern TraceEvent _TRACE_QMP_ENTER_QUERY_SGX_CAPABILITIES_EVENT;
extern TraceEvent _TRACE_QMP_EXIT_QUERY_SGX_CAPABILITIES_EVENT;
extern TraceEvent _TRACE_QMP_ENTER_XEN_EVENT_LIST_EVENT;
extern TraceEvent _TRACE_QMP_EXIT_XEN_EVENT_LIST_EVENT;
extern TraceEvent _TRACE_QMP_ENTER_XEN_EVENT_INJECT_EVENT;
extern TraceEvent _TRACE_QMP_EXIT_XEN_EVENT_INJECT_EVENT;
extern uint16_t _TRACE_QMP_ENTER_RTC_RESET_REINJECTION_DSTATE;
extern uint16_t _TRACE_QMP_EXIT_RTC_RESET_REINJECTION_DSTATE;
extern uint16_t _TRACE_QMP_ENTER_QUERY_SEV_DSTATE;
extern uint16_t _TRACE_QMP_EXIT_QUERY_SEV_DSTATE;
extern uint16_t _TRACE_QMP_ENTER_QUERY_SEV_LAUNCH_MEASURE_DSTATE;
extern uint16_t _TRACE_QMP_EXIT_QUERY_SEV_LAUNCH_MEASURE_DSTATE;
extern uint16_t _TRACE_QMP_ENTER_QUERY_SEV_CAPABILITIES_DSTATE;
extern uint16_t _TRACE_QMP_EXIT_QUERY_SEV_CAPABILITIES_DSTATE;
extern uint16_t _TRACE_QMP_ENTER_SEV_INJECT_LAUNCH_SECRET_DSTATE;
extern uint16_t _TRACE_QMP_EXIT_SEV_INJECT_LAUNCH_SECRET_DSTATE;
extern uint16_t _TRACE_QMP_ENTER_QUERY_SEV_ATTESTATION_REPORT_DSTATE;
extern uint16_t _TRACE_QMP_EXIT_QUERY_SEV_ATTESTATION_REPORT_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_GIC_CAPABILITIES_DSTATE;
extern uint16_t _TRACE_QMP_EXIT_QUERY_GIC_CAPABILITIES_DSTATE;
extern uint16_t _TRACE_QMP_ENTER_QUERY_SGX_DSTATE;
extern uint16_t _TRACE_QMP_EXIT_QUERY_SGX_DSTATE;
extern uint16_t _TRACE_QMP_ENTER_QUERY_SGX_CAPABILITIES_DSTATE;
extern uint16_t _TRACE_QMP_EXIT_QUERY_SGX_CAPABILITIES_DSTATE;
extern uint16_t _TRACE_QMP_ENTER_XEN_EVENT_LIST_DSTATE;
extern uint16_t _TRACE_QMP_EXIT_XEN_EVENT_LIST_DSTATE;
extern uint16_t _TRACE_QMP_ENTER_XEN_EVENT_INJECT_DSTATE;
extern uint16_t _TRACE_QMP_EXIT_XEN_EVENT_INJECT_DSTATE;
#define TRACE_QMP_ENTER_RTC_RESET_REINJECTION_ENABLED 1
#define TRACE_QMP_EXIT_RTC_RESET_REINJECTION_ENABLED 1
#define TRACE_QMP_ENTER_QUERY_SEV_ENABLED 1
#define TRACE_QMP_EXIT_QUERY_SEV_ENABLED 1
#define TRACE_QMP_ENTER_QUERY_SEV_LAUNCH_MEASURE_ENABLED 1
#define TRACE_QMP_EXIT_QUERY_SEV_LAUNCH_MEASURE_ENABLED 1
#define TRACE_QMP_ENTER_QUERY_SEV_CAPABILITIES_ENABLED 1
#define TRACE_QMP_EXIT_QUERY_SEV_CAPABILITIES_ENABLED 1
#define TRACE_QMP_ENTER_SEV_INJECT_LAUNCH_SECRET_ENABLED 1
#define TRACE_QMP_EXIT_SEV_INJECT_LAUNCH_SECRET_ENABLED 1
#define TRACE_QMP_ENTER_QUERY_SEV_ATTESTATION_REPORT_ENABLED 1
#define TRACE_QMP_EXIT_QUERY_SEV_ATTESTATION_REPORT_ENABLED 1
#define TRACE_QMP_ENTER_DUMP_SKEYS_ENABLED 1
#define TRACE_QMP_EXIT_DUMP_SKEYS_ENABLED 1
#define TRACE_QMP_ENTER_QUERY_GIC_CAPABILITIES_ENABLED 1
#define TRACE_QMP_EXIT_QUERY_GIC_CAPABILITIES_ENABLED 1
#define TRACE_QMP_ENTER_QUERY_SGX_ENABLED 1
#define TRACE_QMP_EXIT_QUERY_SGX_ENABLED 1
#define TRACE_QMP_ENTER_QUERY_SGX_CAPABILITIES_ENABLED 1
#define TRACE_QMP_EXIT_QUERY_SGX_CAPABILITIES_ENABLED 1
#define TRACE_QMP_ENTER_XEN_EVENT_LIST_ENABLED 1
#define TRACE_QMP_EXIT_XEN_EVENT_LIST_ENABLED 1
#define TRACE_QMP_ENTER_XEN_EVENT_INJECT_ENABLED 1
#define TRACE_QMP_EXIT_XEN_EVENT_INJECT_ENABLED 1
#include "qemu/log-for-trace.h"
#include "qemu/error-report.h"


#define TRACE_QMP_ENTER_RTC_RESET_REINJECTION_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_QMP_ENTER_RTC_RESET_REINJECTION) || \
    false)

static inline void _nocheck__trace_qmp_enter_rtc_reset_reinjection(const char * json)
{
    if (trace_event_get_state(TRACE_QMP_ENTER_RTC_RESET_REINJECTION) && qemu_loglevel_mask(LOG_TRACE)) {
        if (message_with_timestamp) {
            struct timeval _now;
            gettimeofday(&_now, NULL);
#line 3 "qapi/qapi-commands-misc-target.trace-events"
            qemu_log("%d@%zu.%06zu:qmp_enter_rtc_reset_reinjection " "%s" "\n",
                     qemu_get_thread_id(),
                     (size_t)_now.tv_sec, (size_t)_now.tv_usec
                     , json);
#line 100 "trace/trace-qapi_commands_misc_target_trace_events.h"
        } else {
#line 3 "qapi/qapi-commands-misc-target.trace-events"
            qemu_log("qmp_enter_rtc_reset_reinjection " "%s" "\n", json);
#line 104 "trace/trace-qapi_commands_misc_target_trace_events.h"
        }
    }
}

static inline void trace_qmp_enter_rtc_reset_reinjection(const char * json)
{
    if (true) {
        _nocheck__trace_qmp_enter_rtc_reset_reinjection(json);
    }
}

#define TRACE_QMP_EXIT_RTC_RESET_REINJECTION_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_QMP_EXIT_RTC_RESET_REINJECTION) || \
    false)

static inline void _nocheck__trace_qmp_exit_rtc_reset_reinjection(const char * result, bool succeeded)
{
    if (trace_event_get_state(TRACE_QMP_EXIT_RTC_RESET_REINJECTION) && qemu_loglevel_mask(LOG_TRACE)) {
        if (message_with_timestamp) {
            struct timeval _now;
            gettimeofday(&_now, NULL);
#line 4 "qapi/qapi-commands-misc-target.trace-events"
            qemu_log("%d@%zu.%06zu:qmp_exit_rtc_reset_reinjection " "%s %d" "\n",
                     qemu_get_thread_id(),
                     (size_t)_now.tv_sec, (size_t)_now.tv_usec
                     , result, succeeded);
#line 131 "trace/trace-qapi_commands_misc_target_trace_events.h"
        } else {
#line 4 "qapi/qapi-commands-misc-target.trace-events"
            qemu_log("qmp_exit_rtc_reset_reinjection " "%s %d" "\n", result, succeeded);
#line 135 "trace/trace-qapi_commands_misc_target_trace_events.h"
        }
    }
}

static inline void trace_qmp_exit_rtc_reset_reinjection(const char * result, bool succeeded)
{
    if (true) {
        _nocheck__trace_qmp_exit_rtc_reset_reinjection(result, succeeded);
    }
}

#define TRACE_QMP_ENTER_QUERY_SEV_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_QMP_ENTER_QUERY_SEV) || \
    false)

static inline void _nocheck__trace_qmp_enter_query_sev(const char * json)
{
    if (trace_event_get_state(TRACE_QMP_ENTER_QUERY_SEV) && qemu_loglevel_mask(LOG_TRACE)) {
        if (message_with_timestamp) {
            struct timeval _now;
            gettimeofday(&_now, NULL);
#line 5 "qapi/qapi-commands-misc-target.trace-events"
            qemu_log("%d@%zu.%06zu:qmp_enter_query_sev " "%s" "\n",
                     qemu_get_thread_id(),
                     (size_t)_now.tv_sec, (size_t)_now.tv_usec
                     , json);
#line 162 "trace/trace-qapi_commands_misc_target_trace_events.h"
        } else {
#line 5 "qapi/qapi-commands-misc-target.trace-events"
            qemu_log("qmp_enter_query_sev " "%s" "\n", json);
#line 166 "trace/trace-qapi_commands_misc_target_trace_events.h"
        }
    }
}

static inline void trace_qmp_enter_query_sev(const char * json)
{
    if (true) {
        _nocheck__trace_qmp_enter_query_sev(json);
    }
}

#define TRACE_QMP_EXIT_QUERY_SEV_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_QMP_EXIT_QUERY_SEV) || \
    false)

static inline void _nocheck__trace_qmp_exit_query_sev(const char * result, bool succeeded)
{
    if (trace_event_get_state(TRACE_QMP_EXIT_QUERY_SEV) && qemu_loglevel_mask(LOG_TRACE)) {
        if (message_with_timestamp) {
            struct timeval _now;
            gettimeofday(&_now, NULL);
#line 6 "qapi/qapi-commands-misc-target.trace-events"
            qemu_log("%d@%zu.%06zu:qmp_exit_query_sev " "%s %d" "\n",
                     qemu_get_thread_id(),
                     (size_t)_now.tv_sec, (size_t)_now.tv_usec
                     , result, succeeded);
#line 193 "trace/trace-qapi_commands_misc_target_trace_events.h"
        } else {
#line 6 "qapi/qapi-commands-misc-target.trace-events"
            qemu_log("qmp_exit_query_sev " "%s %d" "\n", result, succeeded);
#line 197 "trace/trace-qapi_commands_misc_target_trace_events.h"
        }
    }
}

static inline void trace_qmp_exit_query_sev(const char * result, bool succeeded)
{
    if (true) {
        _nocheck__trace_qmp_exit_query_sev(result, succeeded);
    }
}

#define TRACE_QMP_ENTER_QUERY_SEV_LAUNCH_MEASURE_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_QMP_ENTER_QUERY_SEV_LAUNCH_MEASURE) || \
    false)

static inline void _nocheck__trace_qmp_enter_query_sev_launch_measure(const char * json)
{
    if (trace_event_get_state(TRACE_QMP_ENTER_QUERY_SEV_LAUNCH_MEASURE) && qemu_loglevel_mask(LOG_TRACE)) {
        if (message_with_timestamp) {
            struct timeval _now;
            gettimeofday(&_now, NULL);
#line 7 "qapi/qapi-commands-misc-target.trace-events"
            qemu_log("%d@%zu.%06zu:qmp_enter_query_sev_launch_measure " "%s" "\n",
                     qemu_get_thread_id(),
                     (size_t)_now.tv_sec, (size_t)_now.tv_usec
                     , json);
#line 224 "trace/trace-qapi_commands_misc_target_trace_events.h"
        } else {
#line 7 "qapi/qapi-commands-misc-target.trace-events"
            qemu_log("qmp_enter_query_sev_launch_measure " "%s" "\n", json);
#line 228 "trace/trace-qapi_commands_misc_target_trace_events.h"
        }
    }
}

static inline void trace_qmp_enter_query_sev_launch_measure(const char * json)
{
    if (true) {
        _nocheck__trace_qmp_enter_query_sev_launch_measure(json);
    }
}

#define TRACE_QMP_EXIT_QUERY_SEV_LAUNCH_MEASURE_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_QMP_EXIT_QUERY_SEV_LAUNCH_MEASURE) || \
    false)

static inline void _nocheck__trace_qmp_exit_query_sev_launch_measure(const char * result, bool succeeded)
{
    if (trace_event_get_state(TRACE_QMP_EXIT_QUERY_SEV_LAUNCH_MEASURE) && qemu_loglevel_mask(LOG_TRACE)) {
        if (message_with_timestamp) {
            struct timeval _now;
            gettimeofday(&_now, NULL);
#line 8 "qapi/qapi-commands-misc-target.trace-events"
            qemu_log("%d@%zu.%06zu:qmp_exit_query_sev_launch_measure " "%s %d" "\n",
                     qemu_get_thread_id(),
                     (size_t)_now.tv_sec, (size_t)_now.tv_usec
                     , result, succeeded);
#line 255 "trace/trace-qapi_commands_misc_target_trace_events.h"
        } else {
#line 8 "qapi/qapi-commands-misc-target.trace-events"
            qemu_log("qmp_exit_query_sev_launch_measure " "%s %d" "\n", result, succeeded);
#line 259 "trace/trace-qapi_commands_misc_target_trace_events.h"
        }
    }
}

static inline void trace_qmp_exit_query_sev_launch_measure(const char * result, bool succeeded)
{
    if (true) {
        _nocheck__trace_qmp_exit_query_sev_launch_measure(result, succeeded);
    }
}

#define TRACE_QMP_ENTER_QUERY_SEV_CAPABILITIES_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_QMP_ENTER_QUERY_SEV_CAPABILITIES) || \
    false)

static inline void _nocheck__trace_qmp_enter_query_sev_capabilities(const char * json)
{
    if (trace_event_get_state(TRACE_QMP_ENTER_QUERY_SEV_CAPABILITIES) && qemu_loglevel_mask(LOG_TRACE)) {
        if (message_with_timestamp) {
            struct timeval _now;
            gettimeofday(&_now, NULL);
#line 9 "qapi/qapi-commands-misc-target.trace-events"
            qemu_log("%d@%zu.%06zu:qmp_enter_query_sev_capabilities " "%s" "\n",
                     qemu_get_thread_id(),
                     (size_t)_now.tv_sec, (size_t)_now.tv_usec
                     , json);
#line 286 "trace/trace-qapi_commands_misc_target_trace_events.h"
        } else {
#line 9 "qapi/qapi-commands-misc-target.trace-events"
            qemu_log("qmp_enter_query_sev_capabilities " "%s" "\n", json);
#line 290 "trace/trace-qapi_commands_misc_target_trace_events.h"
        }
    }
}

static inline void trace_qmp_enter_query_sev_capabilities(const char * json)
{
    if (true) {
        _nocheck__trace_qmp_enter_query_sev_capabilities(json);
    }
}

#define TRACE_QMP_EXIT_QUERY_SEV_CAPABILITIES_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_QMP_EXIT_QUERY_SEV_CAPABILITIES) || \
    false)

static inline void _nocheck__trace_qmp_exit_query_sev_capabilities(const char * result, bool succeeded)
{
    if (trace_event_get_state(TRACE_QMP_EXIT_QUERY_SEV_CAPABILITIES) && qemu_loglevel_mask(LOG_TRACE)) {
        if (message_with_timestamp) {
            struct timeval _now;
            gettimeofday(&_now, NULL);
#line 10 "qapi/qapi-commands-misc-target.trace-events"
            qemu_log("%d@%zu.%06zu:qmp_exit_query_sev_capabilities " "%s %d" "\n",
                     qemu_get_thread_id(),
                     (size_t)_now.tv_sec, (size_t)_now.tv_usec
                     , result, succeeded);
#line 317 "trace/trace-qapi_commands_misc_target_trace_events.h"
        } else {
#line 10 "qapi/qapi-commands-misc-target.trace-events"
            qemu_log("qmp_exit_query_sev_capabilities " "%s %d" "\n", result, succeeded);
#line 321 "trace/trace-qapi_commands_misc_target_trace_events.h"
        }
    }
}

static inline void trace_qmp_exit_query_sev_capabilities(const char * result, bool succeeded)
{
    if (true) {
        _nocheck__trace_qmp_exit_query_sev_capabilities(result, succeeded);
    }
}

#define TRACE_QMP_ENTER_SEV_INJECT_LAUNCH_SECRET_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_QMP_ENTER_SEV_INJECT_LAUNCH_SECRET) || \
    false)

static inline void _nocheck__trace_qmp_enter_sev_inject_launch_secret(const char * json)
{
    if (trace_event_get_state(TRACE_QMP_ENTER_SEV_INJECT_LAUNCH_SECRET) && qemu_loglevel_mask(LOG_TRACE)) {
        if (message_with_timestamp) {
            struct timeval _now;
            gettimeofday(&_now, NULL);
#line 11 "qapi/qapi-commands-misc-target.trace-events"
            qemu_log("%d@%zu.%06zu:qmp_enter_sev_inject_launch_secret " "%s" "\n",
                     qemu_get_thread_id(),
                     (size_t)_now.tv_sec, (size_t)_now.tv_usec
                     , json);
#line 348 "trace/trace-qapi_commands_misc_target_trace_events.h"
        } else {
#line 11 "qapi/qapi-commands-misc-target.trace-events"
            qemu_log("qmp_enter_sev_inject_launch_secret " "%s" "\n", json);
#line 352 "trace/trace-qapi_commands_misc_target_trace_events.h"
        }
    }
}

static inline void trace_qmp_enter_sev_inject_launch_secret(const char * json)
{
    if (true) {
        _nocheck__trace_qmp_enter_sev_inject_launch_secret(json);
    }
}

#define TRACE_QMP_EXIT_SEV_INJECT_LAUNCH_SECRET_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_QMP_EXIT_SEV_INJECT_LAUNCH_SECRET) || \
    false)

static inline void _nocheck__trace_qmp_exit_sev_inject_launch_secret(const char * result, bool succeeded)
{
    if (trace_event_get_state(TRACE_QMP_EXIT_SEV_INJECT_LAUNCH_SECRET) && qemu_loglevel_mask(LOG_TRACE)) {
        if (message_with_timestamp) {
            struct timeval _now;
            gettimeofday(&_now, NULL);
#line 12 "qapi/qapi-commands-misc-target.trace-events"
            qemu_log("%d@%zu.%06zu:qmp_exit_sev_inject_launch_secret " "%s %d" "\n",
                     qemu_get_thread_id(),
                     (size_t)_now.tv_sec, (size_t)_now.tv_usec
                     , result, succeeded);
#line 379 "trace/trace-qapi_commands_misc_target_trace_events.h"
        } else {
#line 12 "qapi/qapi-commands-misc-target.trace-events"
            qemu_log("qmp_exit_sev_inject_launch_secret " "%s %d" "\n", result, succeeded);
#line 383 "trace/trace-qapi_commands_misc_target_trace_events.h"
        }
    }
}

static inline void trace_qmp_exit_sev_inject_launch_secret(const char * result, bool succeeded)
{
    if (true) {
        _nocheck__trace_qmp_exit_sev_inject_launch_secret(result, succeeded);
    }
}

#define TRACE_QMP_ENTER_QUERY_SEV_ATTESTATION_REPORT_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_QMP_ENTER_QUERY_SEV_ATTESTATION_REPORT) || \
    false)

static inline void _nocheck__trace_qmp_enter_query_sev_attestation_report(const char * json)
{
    if (trace_event_get_state(TRACE_QMP_ENTER_QUERY_SEV_ATTESTATION_REPORT) && qemu_loglevel_mask(LOG_TRACE)) {
        if (message_with_timestamp) {
            struct timeval _now;
            gettimeofday(&_now, NULL);
#line 13 "qapi/qapi-commands-misc-target.trace-events"
            qemu_log("%d@%zu.%06zu:qmp_enter_query_sev_attestation_report " "%s" "\n",
                     qemu_get_thread_id(),
                     (size_t)_now.tv_sec, (size_t)_now.tv_usec
                     , json);
#line 410 "trace/trace-qapi_commands_misc_target_trace_events.h"
        } else {
#line 13 "qapi/qapi-commands-misc-target.trace-events"
            qemu_log("qmp_enter_query_sev_attestation_report " "%s" "\n", json);
#line 414 "trace/trace-qapi_commands_misc_target_trace_events.h"
        }
    }
}

static inline void trace_qmp_enter_query_sev_attestation_report(const char * json)
{
    if (true) {
        _nocheck__trace_qmp_enter_query_sev_attestation_report(json);
    }
}

#define TRACE_QMP_EXIT_QUERY_SEV_ATTESTATION_REPORT_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_QMP_EXIT_QUERY_SEV_ATTESTATION_REPORT) || \
    false)

static inline void _nocheck__trace_qmp_exit_query_sev_attestation_report(const char * result, bool succeeded)
{
    if (trace_event_get_state(TRACE_QMP_EXIT_QUERY_SEV_ATTESTATION_REPORT) && qemu_loglevel_mask(LOG_TRACE)) {
        if (message_with_timestamp) {
            struct timeval _now;
            gettimeofday(&_now, NULL);
#line 14 "qapi/qapi-commands-misc-target.trace-events"
            qemu_log("%d@%zu.%06zu:qmp_exit_query_sev_attestation_report " "%s %d" "\n",
                     qemu_get_thread_id(),
                     (size_t)_now.tv_sec, (size_t)_now.tv_usec
                     , result, succeeded);
#line 441 "trace/trace-qapi_commands_misc_target_trace_events.h"
        } else {
#line 14 "qapi/qapi-commands-misc-target.trace-events"
            qemu_log("qmp_exit_query_sev_attestation_report " "%s %d" "\n", result, succeeded);
#line 445 "trace/trace-qapi_commands_misc_target_trace_events.h"
        }
    }
}

static inline void trace_qmp_exit_query_sev_attestation_report(const char * result, bool succeeded)
{
    if (true) {
        _nocheck__trace_qmp_exit_query_sev_attestation_report(result, succeeded);
    }
}

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

static inline void _nocheck__trace_qmp_enter_dump_skeys(const char * json)
{
    if (trace_event_get_state(TRACE_QMP_ENTER_DUMP_SKEYS) && qemu_loglevel_mask(LOG_TRACE)) {
        if (message_with_timestamp) {
            struct timeval _now;
            gettimeofday(&_now, NULL);
#line 15 "qapi/qapi-commands-misc-target.trace-events"
            qemu_log("%d@%zu.%06zu:qmp_enter_dump_skeys " "%s" "\n",
                     qemu_get_thread_id(),
                     (size_t)_now.tv_sec, (size_t)_now.tv_usec
                     , json);
#line 472 "trace/trace-qapi_commands_misc_target_trace_events.h"
        } else {
#line 15 "qapi/qapi-commands-misc-target.trace-events"
            qemu_log("qmp_enter_dump_skeys " "%s" "\n", json);
#line 476 "trace/trace-qapi_commands_misc_target_trace_events.h"
        }
    }
}

static inline void trace_qmp_enter_dump_skeys(const char * json)
{
    if (true) {
        _nocheck__trace_qmp_enter_dump_skeys(json);
    }
}

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

static inline void _nocheck__trace_qmp_exit_dump_skeys(const char * result, bool succeeded)
{
    if (trace_event_get_state(TRACE_QMP_EXIT_DUMP_SKEYS) && qemu_loglevel_mask(LOG_TRACE)) {
        if (message_with_timestamp) {
            struct timeval _now;
            gettimeofday(&_now, NULL);
#line 16 "qapi/qapi-commands-misc-target.trace-events"
            qemu_log("%d@%zu.%06zu:qmp_exit_dump_skeys " "%s %d" "\n",
                     qemu_get_thread_id(),
                     (size_t)_now.tv_sec, (size_t)_now.tv_usec
                     , result, succeeded);
#line 503 "trace/trace-qapi_commands_misc_target_trace_events.h"
        } else {
#line 16 "qapi/qapi-commands-misc-target.trace-events"
            qemu_log("qmp_exit_dump_skeys " "%s %d" "\n", result, succeeded);
#line 507 "trace/trace-qapi_commands_misc_target_trace_events.h"
        }
    }
}

static inline void trace_qmp_exit_dump_skeys(const char * result, bool succeeded)
{
    if (true) {
        _nocheck__trace_qmp_exit_dump_skeys(result, succeeded);
    }
}

#define TRACE_QMP_ENTER_QUERY_GIC_CAPABILITIES_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_QMP_ENTER_QUERY_GIC_CAPABILITIES) || \
    false)

static inline void _nocheck__trace_qmp_enter_query_gic_capabilities(const char * json)
{
    if (trace_event_get_state(TRACE_QMP_ENTER_QUERY_GIC_CAPABILITIES) && qemu_loglevel_mask(LOG_TRACE)) {
        if (message_with_timestamp) {
            struct timeval _now;
            gettimeofday(&_now, NULL);
#line 17 "qapi/qapi-commands-misc-target.trace-events"
            qemu_log("%d@%zu.%06zu:qmp_enter_query_gic_capabilities " "%s" "\n",
                     qemu_get_thread_id(),
                     (size_t)_now.tv_sec, (size_t)_now.tv_usec
                     , json);
#line 534 "trace/trace-qapi_commands_misc_target_trace_events.h"
        } else {
#line 17 "qapi/qapi-commands-misc-target.trace-events"
            qemu_log("qmp_enter_query_gic_capabilities " "%s" "\n", json);
#line 538 "trace/trace-qapi_commands_misc_target_trace_events.h"
        }
    }
}

static inline void trace_qmp_enter_query_gic_capabilities(const char * json)
{
    if (true) {
        _nocheck__trace_qmp_enter_query_gic_capabilities(json);
    }
}

#define TRACE_QMP_EXIT_QUERY_GIC_CAPABILITIES_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_QMP_EXIT_QUERY_GIC_CAPABILITIES) || \
    false)

static inline void _nocheck__trace_qmp_exit_query_gic_capabilities(const char * result, bool succeeded)
{
    if (trace_event_get_state(TRACE_QMP_EXIT_QUERY_GIC_CAPABILITIES) && qemu_loglevel_mask(LOG_TRACE)) {
        if (message_with_timestamp) {
            struct timeval _now;
            gettimeofday(&_now, NULL);
#line 18 "qapi/qapi-commands-misc-target.trace-events"
            qemu_log("%d@%zu.%06zu:qmp_exit_query_gic_capabilities " "%s %d" "\n",
                     qemu_get_thread_id(),
                     (size_t)_now.tv_sec, (size_t)_now.tv_usec
                     , result, succeeded);
#line 565 "trace/trace-qapi_commands_misc_target_trace_events.h"
        } else {
#line 18 "qapi/qapi-commands-misc-target.trace-events"
            qemu_log("qmp_exit_query_gic_capabilities " "%s %d" "\n", result, succeeded);
#line 569 "trace/trace-qapi_commands_misc_target_trace_events.h"
        }
    }
}

static inline void trace_qmp_exit_query_gic_capabilities(const char * result, bool succeeded)
{
    if (true) {
        _nocheck__trace_qmp_exit_query_gic_capabilities(result, succeeded);
    }
}

#define TRACE_QMP_ENTER_QUERY_SGX_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_QMP_ENTER_QUERY_SGX) || \
    false)

static inline void _nocheck__trace_qmp_enter_query_sgx(const char * json)
{
    if (trace_event_get_state(TRACE_QMP_ENTER_QUERY_SGX) && qemu_loglevel_mask(LOG_TRACE)) {
        if (message_with_timestamp) {
            struct timeval _now;
            gettimeofday(&_now, NULL);
#line 19 "qapi/qapi-commands-misc-target.trace-events"
            qemu_log("%d@%zu.%06zu:qmp_enter_query_sgx " "%s" "\n",
                     qemu_get_thread_id(),
                     (size_t)_now.tv_sec, (size_t)_now.tv_usec
                     , json);
#line 596 "trace/trace-qapi_commands_misc_target_trace_events.h"
        } else {
#line 19 "qapi/qapi-commands-misc-target.trace-events"
            qemu_log("qmp_enter_query_sgx " "%s" "\n", json);
#line 600 "trace/trace-qapi_commands_misc_target_trace_events.h"
        }
    }
}

static inline void trace_qmp_enter_query_sgx(const char * json)
{
    if (true) {
        _nocheck__trace_qmp_enter_query_sgx(json);
    }
}

#define TRACE_QMP_EXIT_QUERY_SGX_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_QMP_EXIT_QUERY_SGX) || \
    false)

static inline void _nocheck__trace_qmp_exit_query_sgx(const char * result, bool succeeded)
{
    if (trace_event_get_state(TRACE_QMP_EXIT_QUERY_SGX) && qemu_loglevel_mask(LOG_TRACE)) {
        if (message_with_timestamp) {
            struct timeval _now;
            gettimeofday(&_now, NULL);
#line 20 "qapi/qapi-commands-misc-target.trace-events"
            qemu_log("%d@%zu.%06zu:qmp_exit_query_sgx " "%s %d" "\n",
                     qemu_get_thread_id(),
                     (size_t)_now.tv_sec, (size_t)_now.tv_usec
                     , result, succeeded);
#line 627 "trace/trace-qapi_commands_misc_target_trace_events.h"
        } else {
#line 20 "qapi/qapi-commands-misc-target.trace-events"
            qemu_log("qmp_exit_query_sgx " "%s %d" "\n", result, succeeded);
#line 631 "trace/trace-qapi_commands_misc_target_trace_events.h"
        }
    }
}

static inline void trace_qmp_exit_query_sgx(const char * result, bool succeeded)
{
    if (true) {
        _nocheck__trace_qmp_exit_query_sgx(result, succeeded);
    }
}

#define TRACE_QMP_ENTER_QUERY_SGX_CAPABILITIES_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_QMP_ENTER_QUERY_SGX_CAPABILITIES) || \
    false)

static inline void _nocheck__trace_qmp_enter_query_sgx_capabilities(const char * json)
{
    if (trace_event_get_state(TRACE_QMP_ENTER_QUERY_SGX_CAPABILITIES) && qemu_loglevel_mask(LOG_TRACE)) {
        if (message_with_timestamp) {
            struct timeval _now;
            gettimeofday(&_now, NULL);
#line 21 "qapi/qapi-commands-misc-target.trace-events"
            qemu_log("%d@%zu.%06zu:qmp_enter_query_sgx_capabilities " "%s" "\n",
                     qemu_get_thread_id(),
                     (size_t)_now.tv_sec, (size_t)_now.tv_usec
                     , json);
#line 658 "trace/trace-qapi_commands_misc_target_trace_events.h"
        } else {
#line 21 "qapi/qapi-commands-misc-target.trace-events"
            qemu_log("qmp_enter_query_sgx_capabilities " "%s" "\n", json);
#line 662 "trace/trace-qapi_commands_misc_target_trace_events.h"
        }
    }
}

static inline void trace_qmp_enter_query_sgx_capabilities(const char * json)
{
    if (true) {
        _nocheck__trace_qmp_enter_query_sgx_capabilities(json);
    }
}

#define TRACE_QMP_EXIT_QUERY_SGX_CAPABILITIES_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_QMP_EXIT_QUERY_SGX_CAPABILITIES) || \
    false)

static inline void _nocheck__trace_qmp_exit_query_sgx_capabilities(const char * result, bool succeeded)
{
    if (trace_event_get_state(TRACE_QMP_EXIT_QUERY_SGX_CAPABILITIES) && qemu_loglevel_mask(LOG_TRACE)) {
        if (message_with_timestamp) {
            struct timeval _now;
            gettimeofday(&_now, NULL);
#line 22 "qapi/qapi-commands-misc-target.trace-events"
            qemu_log("%d@%zu.%06zu:qmp_exit_query_sgx_capabilities " "%s %d" "\n",
                     qemu_get_thread_id(),
                     (size_t)_now.tv_sec, (size_t)_now.tv_usec
                     , result, succeeded);
#line 689 "trace/trace-qapi_commands_misc_target_trace_events.h"
        } else {
#line 22 "qapi/qapi-commands-misc-target.trace-events"
            qemu_log("qmp_exit_query_sgx_capabilities " "%s %d" "\n", result, succeeded);
#line 693 "trace/trace-qapi_commands_misc_target_trace_events.h"
        }
    }
}

static inline void trace_qmp_exit_query_sgx_capabilities(const char * result, bool succeeded)
{
    if (true) {
        _nocheck__trace_qmp_exit_query_sgx_capabilities(result, succeeded);
    }
}

#define TRACE_QMP_ENTER_XEN_EVENT_LIST_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_QMP_ENTER_XEN_EVENT_LIST) || \
    false)

static inline void _nocheck__trace_qmp_enter_xen_event_list(const char * json)
{
    if (trace_event_get_state(TRACE_QMP_ENTER_XEN_EVENT_LIST) && qemu_loglevel_mask(LOG_TRACE)) {
        if (message_with_timestamp) {
            struct timeval _now;
            gettimeofday(&_now, NULL);
#line 23 "qapi/qapi-commands-misc-target.trace-events"
            qemu_log("%d@%zu.%06zu:qmp_enter_xen_event_list " "%s" "\n",
                     qemu_get_thread_id(),
                     (size_t)_now.tv_sec, (size_t)_now.tv_usec
                     , json);
#line 720 "trace/trace-qapi_commands_misc_target_trace_events.h"
        } else {
#line 23 "qapi/qapi-commands-misc-target.trace-events"
            qemu_log("qmp_enter_xen_event_list " "%s" "\n", json);
#line 724 "trace/trace-qapi_commands_misc_target_trace_events.h"
        }
    }
}

static inline void trace_qmp_enter_xen_event_list(const char * json)
{
    if (true) {
        _nocheck__trace_qmp_enter_xen_event_list(json);
    }
}

#define TRACE_QMP_EXIT_XEN_EVENT_LIST_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_QMP_EXIT_XEN_EVENT_LIST) || \
    false)

static inline void _nocheck__trace_qmp_exit_xen_event_list(const char * result, bool succeeded)
{
    if (trace_event_get_state(TRACE_QMP_EXIT_XEN_EVENT_LIST) && qemu_loglevel_mask(LOG_TRACE)) {
        if (message_with_timestamp) {
            struct timeval _now;
            gettimeofday(&_now, NULL);
#line 24 "qapi/qapi-commands-misc-target.trace-events"
            qemu_log("%d@%zu.%06zu:qmp_exit_xen_event_list " "%s %d" "\n",
                     qemu_get_thread_id(),
                     (size_t)_now.tv_sec, (size_t)_now.tv_usec
                     , result, succeeded);
#line 751 "trace/trace-qapi_commands_misc_target_trace_events.h"
        } else {
#line 24 "qapi/qapi-commands-misc-target.trace-events"
            qemu_log("qmp_exit_xen_event_list " "%s %d" "\n", result, succeeded);
#line 755 "trace/trace-qapi_commands_misc_target_trace_events.h"
        }
    }
}

static inline void trace_qmp_exit_xen_event_list(const char * result, bool succeeded)
{
    if (true) {
        _nocheck__trace_qmp_exit_xen_event_list(result, succeeded);
    }
}

#define TRACE_QMP_ENTER_XEN_EVENT_INJECT_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_QMP_ENTER_XEN_EVENT_INJECT) || \
    false)

static inline void _nocheck__trace_qmp_enter_xen_event_inject(const char * json)
{
    if (trace_event_get_state(TRACE_QMP_ENTER_XEN_EVENT_INJECT) && qemu_loglevel_mask(LOG_TRACE)) {
        if (message_with_timestamp) {
            struct timeval _now;
            gettimeofday(&_now, NULL);
#line 25 "qapi/qapi-commands-misc-target.trace-events"
            qemu_log("%d@%zu.%06zu:qmp_enter_xen_event_inject " "%s" "\n",
                     qemu_get_thread_id(),
                     (size_t)_now.tv_sec, (size_t)_now.tv_usec
                     , json);
#line 782 "trace/trace-qapi_commands_misc_target_trace_events.h"
        } else {
#line 25 "qapi/qapi-commands-misc-target.trace-events"
            qemu_log("qmp_enter_xen_event_inject " "%s" "\n", json);
#line 786 "trace/trace-qapi_commands_misc_target_trace_events.h"
        }
    }
}

static inline void trace_qmp_enter_xen_event_inject(const char * json)
{
    if (true) {
        _nocheck__trace_qmp_enter_xen_event_inject(json);
    }
}

#define TRACE_QMP_EXIT_XEN_EVENT_INJECT_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_QMP_EXIT_XEN_EVENT_INJECT) || \
    false)

static inline void _nocheck__trace_qmp_exit_xen_event_inject(const char * result, bool succeeded)
{
    if (trace_event_get_state(TRACE_QMP_EXIT_XEN_EVENT_INJECT) && qemu_loglevel_mask(LOG_TRACE)) {
        if (message_with_timestamp) {
            struct timeval _now;
            gettimeofday(&_now, NULL);
#line 26 "qapi/qapi-commands-misc-target.trace-events"
            qemu_log("%d@%zu.%06zu:qmp_exit_xen_event_inject " "%s %d" "\n",
                     qemu_get_thread_id(),
                     (size_t)_now.tv_sec, (size_t)_now.tv_usec
                     , result, succeeded);
#line 813 "trace/trace-qapi_commands_misc_target_trace_events.h"
        } else {
#line 26 "qapi/qapi-commands-misc-target.trace-events"
            qemu_log("qmp_exit_xen_event_inject " "%s %d" "\n", result, succeeded);
#line 817 "trace/trace-qapi_commands_misc_target_trace_events.h"
        }
    }
}

static inline void trace_qmp_exit_xen_event_inject(const char * result, bool succeeded)
{
    if (true) {
        _nocheck__trace_qmp_exit_xen_event_inject(result, succeeded);
    }
}
#endif /* TRACE_QAPI_COMMANDS_MISC_TARGET_TRACE_EVENTS_GENERATED_TRACERS_H */
