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

#ifndef TRACE_IO_GENERATED_TRACERS_H
#define TRACE_IO_GENERATED_TRACERS_H

#include "trace/control.h"

extern TraceEvent _TRACE_QIO_TASK_NEW_EVENT;
extern TraceEvent _TRACE_QIO_TASK_COMPLETE_EVENT;
extern TraceEvent _TRACE_QIO_TASK_THREAD_START_EVENT;
extern TraceEvent _TRACE_QIO_TASK_THREAD_RUN_EVENT;
extern TraceEvent _TRACE_QIO_TASK_THREAD_EXIT_EVENT;
extern TraceEvent _TRACE_QIO_TASK_THREAD_RESULT_EVENT;
extern TraceEvent _TRACE_QIO_TASK_THREAD_SOURCE_ATTACH_EVENT;
extern TraceEvent _TRACE_QIO_TASK_THREAD_SOURCE_CANCEL_EVENT;
extern TraceEvent _TRACE_QIO_CHANNEL_NULL_NEW_EVENT;
extern TraceEvent _TRACE_QIO_CHANNEL_SOCKET_NEW_EVENT;
extern TraceEvent _TRACE_QIO_CHANNEL_SOCKET_NEW_FD_EVENT;
extern TraceEvent _TRACE_QIO_CHANNEL_SOCKET_CONNECT_SYNC_EVENT;
extern TraceEvent _TRACE_QIO_CHANNEL_SOCKET_CONNECT_ASYNC_EVENT;
extern TraceEvent _TRACE_QIO_CHANNEL_SOCKET_CONNECT_FAIL_EVENT;
extern TraceEvent _TRACE_QIO_CHANNEL_SOCKET_CONNECT_COMPLETE_EVENT;
extern TraceEvent _TRACE_QIO_CHANNEL_SOCKET_LISTEN_SYNC_EVENT;
extern TraceEvent _TRACE_QIO_CHANNEL_SOCKET_LISTEN_ASYNC_EVENT;
extern TraceEvent _TRACE_QIO_CHANNEL_SOCKET_LISTEN_FAIL_EVENT;
extern TraceEvent _TRACE_QIO_CHANNEL_SOCKET_LISTEN_COMPLETE_EVENT;
extern TraceEvent _TRACE_QIO_CHANNEL_SOCKET_DGRAM_SYNC_EVENT;
extern TraceEvent _TRACE_QIO_CHANNEL_SOCKET_DGRAM_ASYNC_EVENT;
extern TraceEvent _TRACE_QIO_CHANNEL_SOCKET_DGRAM_FAIL_EVENT;
extern TraceEvent _TRACE_QIO_CHANNEL_SOCKET_DGRAM_COMPLETE_EVENT;
extern TraceEvent _TRACE_QIO_CHANNEL_SOCKET_ACCEPT_EVENT;
extern TraceEvent _TRACE_QIO_CHANNEL_SOCKET_ACCEPT_FAIL_EVENT;
extern TraceEvent _TRACE_QIO_CHANNEL_SOCKET_ACCEPT_COMPLETE_EVENT;
extern TraceEvent _TRACE_QIO_CHANNEL_FILE_NEW_FD_EVENT;
extern TraceEvent _TRACE_QIO_CHANNEL_FILE_NEW_PATH_EVENT;
extern TraceEvent _TRACE_QIO_CHANNEL_TLS_NEW_CLIENT_EVENT;
extern TraceEvent _TRACE_QIO_CHANNEL_TLS_NEW_SERVER_EVENT;
extern TraceEvent _TRACE_QIO_CHANNEL_TLS_HANDSHAKE_START_EVENT;
extern TraceEvent _TRACE_QIO_CHANNEL_TLS_HANDSHAKE_PENDING_EVENT;
extern TraceEvent _TRACE_QIO_CHANNEL_TLS_HANDSHAKE_FAIL_EVENT;
extern TraceEvent _TRACE_QIO_CHANNEL_TLS_HANDSHAKE_COMPLETE_EVENT;
extern TraceEvent _TRACE_QIO_CHANNEL_TLS_HANDSHAKE_CANCEL_EVENT;
extern TraceEvent _TRACE_QIO_CHANNEL_TLS_BYE_START_EVENT;
extern TraceEvent _TRACE_QIO_CHANNEL_TLS_BYE_PENDING_EVENT;
extern TraceEvent _TRACE_QIO_CHANNEL_TLS_BYE_FAIL_EVENT;
extern TraceEvent _TRACE_QIO_CHANNEL_TLS_BYE_COMPLETE_EVENT;
extern TraceEvent _TRACE_QIO_CHANNEL_TLS_BYE_CANCEL_EVENT;
extern TraceEvent _TRACE_QIO_CHANNEL_TLS_CREDENTIALS_ALLOW_EVENT;
extern TraceEvent _TRACE_QIO_CHANNEL_TLS_CREDENTIALS_DENY_EVENT;
extern TraceEvent _TRACE_QIO_CHANNEL_WEBSOCK_NEW_SERVER_EVENT;
extern TraceEvent _TRACE_QIO_CHANNEL_WEBSOCK_HANDSHAKE_START_EVENT;
extern TraceEvent _TRACE_QIO_CHANNEL_WEBSOCK_HANDSHAKE_PENDING_EVENT;
extern TraceEvent _TRACE_QIO_CHANNEL_WEBSOCK_HANDSHAKE_REPLY_EVENT;
extern TraceEvent _TRACE_QIO_CHANNEL_WEBSOCK_HANDSHAKE_FAIL_EVENT;
extern TraceEvent _TRACE_QIO_CHANNEL_WEBSOCK_HANDSHAKE_COMPLETE_EVENT;
extern TraceEvent _TRACE_QIO_CHANNEL_WEBSOCK_HTTP_GREETING_EVENT;
extern TraceEvent _TRACE_QIO_CHANNEL_WEBSOCK_HTTP_REQUEST_EVENT;
extern TraceEvent _TRACE_QIO_CHANNEL_WEBSOCK_HEADER_PARTIAL_DECODE_EVENT;
extern TraceEvent _TRACE_QIO_CHANNEL_WEBSOCK_HEADER_FULL_DECODE_EVENT;
extern TraceEvent _TRACE_QIO_CHANNEL_WEBSOCK_PAYLOAD_DECODE_EVENT;
extern TraceEvent _TRACE_QIO_CHANNEL_WEBSOCK_ENCODE_EVENT;
extern TraceEvent _TRACE_QIO_CHANNEL_WEBSOCK_CLOSE_EVENT;
extern TraceEvent _TRACE_QIO_CHANNEL_COMMAND_NEW_PID_EVENT;
extern TraceEvent _TRACE_QIO_CHANNEL_COMMAND_NEW_SPAWN_EVENT;
extern TraceEvent _TRACE_QIO_CHANNEL_COMMAND_ABORT_EVENT;
extern TraceEvent _TRACE_QIO_CHANNEL_COMMAND_WAIT_EVENT;
extern TraceEvent _TRACE_QIO_NET_LISTENER_WATCH_EVENT;
extern TraceEvent _TRACE_QIO_NET_LISTENER_UNWATCH_EVENT;
extern TraceEvent _TRACE_QIO_NET_LISTENER_CALLBACK_EVENT;
extern uint16_t _TRACE_QIO_TASK_NEW_DSTATE;
extern uint16_t _TRACE_QIO_TASK_COMPLETE_DSTATE;
extern uint16_t _TRACE_QIO_TASK_THREAD_START_DSTATE;
extern uint16_t _TRACE_QIO_TASK_THREAD_RUN_DSTATE;
extern uint16_t _TRACE_QIO_TASK_THREAD_EXIT_DSTATE;
extern uint16_t _TRACE_QIO_TASK_THREAD_RESULT_DSTATE;
extern uint16_t _TRACE_QIO_TASK_THREAD_SOURCE_ATTACH_DSTATE;
extern uint16_t _TRACE_QIO_TASK_THREAD_SOURCE_CANCEL_DSTATE;
extern uint16_t _TRACE_QIO_CHANNEL_NULL_NEW_DSTATE;
extern uint16_t _TRACE_QIO_CHANNEL_SOCKET_NEW_DSTATE;
extern uint16_t _TRACE_QIO_CHANNEL_SOCKET_NEW_FD_DSTATE;
extern uint16_t _TRACE_QIO_CHANNEL_SOCKET_CONNECT_SYNC_DSTATE;
extern uint16_t _TRACE_QIO_CHANNEL_SOCKET_CONNECT_ASYNC_DSTATE;
extern uint16_t _TRACE_QIO_CHANNEL_SOCKET_CONNECT_FAIL_DSTATE;
extern uint16_t _TRACE_QIO_CHANNEL_SOCKET_CONNECT_COMPLETE_DSTATE;
extern uint16_t _TRACE_QIO_CHANNEL_SOCKET_LISTEN_SYNC_DSTATE;
extern uint16_t _TRACE_QIO_CHANNEL_SOCKET_LISTEN_ASYNC_DSTATE;
extern uint16_t _TRACE_QIO_CHANNEL_SOCKET_LISTEN_FAIL_DSTATE;
extern uint16_t _TRACE_QIO_CHANNEL_SOCKET_LISTEN_COMPLETE_DSTATE;
extern uint16_t _TRACE_QIO_CHANNEL_SOCKET_DGRAM_SYNC_DSTATE;
extern uint16_t _TRACE_QIO_CHANNEL_SOCKET_DGRAM_ASYNC_DSTATE;
extern uint16_t _TRACE_QIO_CHANNEL_SOCKET_DGRAM_FAIL_DSTATE;
extern uint16_t _TRACE_QIO_CHANNEL_SOCKET_DGRAM_COMPLETE_DSTATE;
extern uint16_t _TRACE_QIO_CHANNEL_SOCKET_ACCEPT_DSTATE;
extern uint16_t _TRACE_QIO_CHANNEL_SOCKET_ACCEPT_FAIL_DSTATE;
extern uint16_t _TRACE_QIO_CHANNEL_SOCKET_ACCEPT_COMPLETE_DSTATE;
extern uint16_t _TRACE_QIO_CHANNEL_FILE_NEW_FD_DSTATE;
extern uint16_t _TRACE_QIO_CHANNEL_FILE_NEW_PATH_DSTATE;
extern uint16_t _TRACE_QIO_CHANNEL_TLS_NEW_CLIENT_DSTATE;
extern uint16_t _TRACE_QIO_CHANNEL_TLS_NEW_SERVER_DSTATE;
extern uint16_t _TRACE_QIO_CHANNEL_TLS_HANDSHAKE_START_DSTATE;
extern uint16_t _TRACE_QIO_CHANNEL_TLS_HANDSHAKE_PENDING_DSTATE;
extern uint16_t _TRACE_QIO_CHANNEL_TLS_HANDSHAKE_FAIL_DSTATE;
extern uint16_t _TRACE_QIO_CHANNEL_TLS_HANDSHAKE_COMPLETE_DSTATE;
extern uint16_t _TRACE_QIO_CHANNEL_TLS_HANDSHAKE_CANCEL_DSTATE;
extern uint16_t _TRACE_QIO_CHANNEL_TLS_BYE_START_DSTATE;
extern uint16_t _TRACE_QIO_CHANNEL_TLS_BYE_PENDING_DSTATE;
extern uint16_t _TRACE_QIO_CHANNEL_TLS_BYE_FAIL_DSTATE;
extern uint16_t _TRACE_QIO_CHANNEL_TLS_BYE_COMPLETE_DSTATE;
extern uint16_t _TRACE_QIO_CHANNEL_TLS_BYE_CANCEL_DSTATE;
extern uint16_t _TRACE_QIO_CHANNEL_TLS_CREDENTIALS_ALLOW_DSTATE;
extern uint16_t _TRACE_QIO_CHANNEL_TLS_CREDENTIALS_DENY_DSTATE;
extern uint16_t _TRACE_QIO_CHANNEL_WEBSOCK_NEW_SERVER_DSTATE;
extern uint16_t _TRACE_QIO_CHANNEL_WEBSOCK_HANDSHAKE_START_DSTATE;
extern uint16_t _TRACE_QIO_CHANNEL_WEBSOCK_HANDSHAKE_PENDING_DSTATE;
extern uint16_t _TRACE_QIO_CHANNEL_WEBSOCK_HANDSHAKE_REPLY_DSTATE;
extern uint16_t _TRACE_QIO_CHANNEL_WEBSOCK_HANDSHAKE_FAIL_DSTATE;
extern uint16_t _TRACE_QIO_CHANNEL_WEBSOCK_HANDSHAKE_COMPLETE_DSTATE;
extern uint16_t _TRACE_QIO_CHANNEL_WEBSOCK_HTTP_GREETING_DSTATE;
extern uint16_t _TRACE_QIO_CHANNEL_WEBSOCK_HTTP_REQUEST_DSTATE;
extern uint16_t _TRACE_QIO_CHANNEL_WEBSOCK_HEADER_PARTIAL_DECODE_DSTATE;
extern uint16_t _TRACE_QIO_CHANNEL_WEBSOCK_HEADER_FULL_DECODE_DSTATE;
extern uint16_t _TRACE_QIO_CHANNEL_WEBSOCK_PAYLOAD_DECODE_DSTATE;
extern uint16_t _TRACE_QIO_CHANNEL_WEBSOCK_ENCODE_DSTATE;
extern uint16_t _TRACE_QIO_CHANNEL_WEBSOCK_CLOSE_DSTATE;
extern uint16_t _TRACE_QIO_CHANNEL_COMMAND_NEW_PID_DSTATE;
extern uint16_t _TRACE_QIO_CHANNEL_COMMAND_NEW_SPAWN_DSTATE;
extern uint16_t _TRACE_QIO_CHANNEL_COMMAND_ABORT_DSTATE;
extern uint16_t _TRACE_QIO_CHANNEL_COMMAND_WAIT_DSTATE;
extern uint16_t _TRACE_QIO_NET_LISTENER_WATCH_DSTATE;
extern uint16_t _TRACE_QIO_NET_LISTENER_UNWATCH_DSTATE;
extern uint16_t _TRACE_QIO_NET_LISTENER_CALLBACK_DSTATE;
#define TRACE_QIO_TASK_NEW_ENABLED 1
#define TRACE_QIO_TASK_COMPLETE_ENABLED 1
#define TRACE_QIO_TASK_THREAD_START_ENABLED 1
#define TRACE_QIO_TASK_THREAD_RUN_ENABLED 1
#define TRACE_QIO_TASK_THREAD_EXIT_ENABLED 1
#define TRACE_QIO_TASK_THREAD_RESULT_ENABLED 1
#define TRACE_QIO_TASK_THREAD_SOURCE_ATTACH_ENABLED 1
#define TRACE_QIO_TASK_THREAD_SOURCE_CANCEL_ENABLED 1
#define TRACE_QIO_CHANNEL_NULL_NEW_ENABLED 1
#define TRACE_QIO_CHANNEL_SOCKET_NEW_ENABLED 1
#define TRACE_QIO_CHANNEL_SOCKET_NEW_FD_ENABLED 1
#define TRACE_QIO_CHANNEL_SOCKET_CONNECT_SYNC_ENABLED 1
#define TRACE_QIO_CHANNEL_SOCKET_CONNECT_ASYNC_ENABLED 1
#define TRACE_QIO_CHANNEL_SOCKET_CONNECT_FAIL_ENABLED 1
#define TRACE_QIO_CHANNEL_SOCKET_CONNECT_COMPLETE_ENABLED 1
#define TRACE_QIO_CHANNEL_SOCKET_LISTEN_SYNC_ENABLED 1
#define TRACE_QIO_CHANNEL_SOCKET_LISTEN_ASYNC_ENABLED 1
#define TRACE_QIO_CHANNEL_SOCKET_LISTEN_FAIL_ENABLED 1
#define TRACE_QIO_CHANNEL_SOCKET_LISTEN_COMPLETE_ENABLED 1
#define TRACE_QIO_CHANNEL_SOCKET_DGRAM_SYNC_ENABLED 1
#define TRACE_QIO_CHANNEL_SOCKET_DGRAM_ASYNC_ENABLED 1
#define TRACE_QIO_CHANNEL_SOCKET_DGRAM_FAIL_ENABLED 1
#define TRACE_QIO_CHANNEL_SOCKET_DGRAM_COMPLETE_ENABLED 1
#define TRACE_QIO_CHANNEL_SOCKET_ACCEPT_ENABLED 1
#define TRACE_QIO_CHANNEL_SOCKET_ACCEPT_FAIL_ENABLED 1
#define TRACE_QIO_CHANNEL_SOCKET_ACCEPT_COMPLETE_ENABLED 1
#define TRACE_QIO_CHANNEL_FILE_NEW_FD_ENABLED 1
#define TRACE_QIO_CHANNEL_FILE_NEW_PATH_ENABLED 1
#define TRACE_QIO_CHANNEL_TLS_NEW_CLIENT_ENABLED 1
#define TRACE_QIO_CHANNEL_TLS_NEW_SERVER_ENABLED 1
#define TRACE_QIO_CHANNEL_TLS_HANDSHAKE_START_ENABLED 1
#define TRACE_QIO_CHANNEL_TLS_HANDSHAKE_PENDING_ENABLED 1
#define TRACE_QIO_CHANNEL_TLS_HANDSHAKE_FAIL_ENABLED 1
#define TRACE_QIO_CHANNEL_TLS_HANDSHAKE_COMPLETE_ENABLED 1
#define TRACE_QIO_CHANNEL_TLS_HANDSHAKE_CANCEL_ENABLED 1
#define TRACE_QIO_CHANNEL_TLS_BYE_START_ENABLED 1
#define TRACE_QIO_CHANNEL_TLS_BYE_PENDING_ENABLED 1
#define TRACE_QIO_CHANNEL_TLS_BYE_FAIL_ENABLED 1
#define TRACE_QIO_CHANNEL_TLS_BYE_COMPLETE_ENABLED 1
#define TRACE_QIO_CHANNEL_TLS_BYE_CANCEL_ENABLED 1
#define TRACE_QIO_CHANNEL_TLS_CREDENTIALS_ALLOW_ENABLED 1
#define TRACE_QIO_CHANNEL_TLS_CREDENTIALS_DENY_ENABLED 1
#define TRACE_QIO_CHANNEL_WEBSOCK_NEW_SERVER_ENABLED 1
#define TRACE_QIO_CHANNEL_WEBSOCK_HANDSHAKE_START_ENABLED 1
#define TRACE_QIO_CHANNEL_WEBSOCK_HANDSHAKE_PENDING_ENABLED 1
#define TRACE_QIO_CHANNEL_WEBSOCK_HANDSHAKE_REPLY_ENABLED 1
#define TRACE_QIO_CHANNEL_WEBSOCK_HANDSHAKE_FAIL_ENABLED 1
#define TRACE_QIO_CHANNEL_WEBSOCK_HANDSHAKE_COMPLETE_ENABLED 1
#define TRACE_QIO_CHANNEL_WEBSOCK_HTTP_GREETING_ENABLED 1
#define TRACE_QIO_CHANNEL_WEBSOCK_HTTP_REQUEST_ENABLED 1
#define TRACE_QIO_CHANNEL_WEBSOCK_HEADER_PARTIAL_DECODE_ENABLED 1
#define TRACE_QIO_CHANNEL_WEBSOCK_HEADER_FULL_DECODE_ENABLED 1
#define TRACE_QIO_CHANNEL_WEBSOCK_PAYLOAD_DECODE_ENABLED 1
#define TRACE_QIO_CHANNEL_WEBSOCK_ENCODE_ENABLED 1
#define TRACE_QIO_CHANNEL_WEBSOCK_CLOSE_ENABLED 1
#define TRACE_QIO_CHANNEL_COMMAND_NEW_PID_ENABLED 1
#define TRACE_QIO_CHANNEL_COMMAND_NEW_SPAWN_ENABLED 1
#define TRACE_QIO_CHANNEL_COMMAND_ABORT_ENABLED 1
#define TRACE_QIO_CHANNEL_COMMAND_WAIT_ENABLED 1
#define TRACE_QIO_NET_LISTENER_WATCH_ENABLED 1
#define TRACE_QIO_NET_LISTENER_UNWATCH_ENABLED 1
#define TRACE_QIO_NET_LISTENER_CALLBACK_ENABLED 1
#include "qemu/log-for-trace.h"


#define TRACE_QIO_TASK_NEW_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_QIO_TASK_NEW) || \
    false)

static inline void trace_qio_task_new(void *task, void *source, void *func, void *opaque)
{
    if (trace_event_get_state(TRACE_QIO_TASK_NEW)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 4 "../xemu/io/trace-events"
            qemu_log("qio_task_new " "Task new task=%p source=%p func=%p opaque=%p" "\n", task, source, func, opaque);
#line 209 "trace/trace-io.h"
        }
    }
}

#define TRACE_QIO_TASK_COMPLETE_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_QIO_TASK_COMPLETE) || \
    false)

static inline void trace_qio_task_complete(void *task)
{
    if (trace_event_get_state(TRACE_QIO_TASK_COMPLETE)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 5 "../xemu/io/trace-events"
            qemu_log("qio_task_complete " "Task complete task=%p" "\n", task);
#line 224 "trace/trace-io.h"
        }
    }
}

#define TRACE_QIO_TASK_THREAD_START_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_QIO_TASK_THREAD_START) || \
    false)

static inline void trace_qio_task_thread_start(void *task, void *worker, void *opaque)
{
    if (trace_event_get_state(TRACE_QIO_TASK_THREAD_START)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 6 "../xemu/io/trace-events"
            qemu_log("qio_task_thread_start " "Task thread start task=%p worker=%p opaque=%p" "\n", task, worker, opaque);
#line 239 "trace/trace-io.h"
        }
    }
}

#define TRACE_QIO_TASK_THREAD_RUN_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_QIO_TASK_THREAD_RUN) || \
    false)

static inline void trace_qio_task_thread_run(void *task)
{
    if (trace_event_get_state(TRACE_QIO_TASK_THREAD_RUN)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 7 "../xemu/io/trace-events"
            qemu_log("qio_task_thread_run " "Task thread run task=%p" "\n", task);
#line 254 "trace/trace-io.h"
        }
    }
}

#define TRACE_QIO_TASK_THREAD_EXIT_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_QIO_TASK_THREAD_EXIT) || \
    false)

static inline void trace_qio_task_thread_exit(void *task)
{
    if (trace_event_get_state(TRACE_QIO_TASK_THREAD_EXIT)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 8 "../xemu/io/trace-events"
            qemu_log("qio_task_thread_exit " "Task thread exit task=%p" "\n", task);
#line 269 "trace/trace-io.h"
        }
    }
}

#define TRACE_QIO_TASK_THREAD_RESULT_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_QIO_TASK_THREAD_RESULT) || \
    false)

static inline void trace_qio_task_thread_result(void *task)
{
    if (trace_event_get_state(TRACE_QIO_TASK_THREAD_RESULT)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 9 "../xemu/io/trace-events"
            qemu_log("qio_task_thread_result " "Task thread result task=%p" "\n", task);
#line 284 "trace/trace-io.h"
        }
    }
}

#define TRACE_QIO_TASK_THREAD_SOURCE_ATTACH_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_QIO_TASK_THREAD_SOURCE_ATTACH) || \
    false)

static inline void trace_qio_task_thread_source_attach(void *task, void *source)
{
    if (trace_event_get_state(TRACE_QIO_TASK_THREAD_SOURCE_ATTACH)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 10 "../xemu/io/trace-events"
            qemu_log("qio_task_thread_source_attach " "Task thread source attach task=%p source=%p" "\n", task, source);
#line 299 "trace/trace-io.h"
        }
    }
}

#define TRACE_QIO_TASK_THREAD_SOURCE_CANCEL_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_QIO_TASK_THREAD_SOURCE_CANCEL) || \
    false)

static inline void trace_qio_task_thread_source_cancel(void *task, void *source)
{
    if (trace_event_get_state(TRACE_QIO_TASK_THREAD_SOURCE_CANCEL)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 11 "../xemu/io/trace-events"
            qemu_log("qio_task_thread_source_cancel " "Task thread source cancel task=%p source=%p" "\n", task, source);
#line 314 "trace/trace-io.h"
        }
    }
}

#define TRACE_QIO_CHANNEL_NULL_NEW_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_QIO_CHANNEL_NULL_NEW) || \
    false)

static inline void trace_qio_channel_null_new(void *ioc)
{
    if (trace_event_get_state(TRACE_QIO_CHANNEL_NULL_NEW)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 14 "../xemu/io/trace-events"
            qemu_log("qio_channel_null_new " "Null new ioc=%p" "\n", ioc);
#line 329 "trace/trace-io.h"
        }
    }
}

#define TRACE_QIO_CHANNEL_SOCKET_NEW_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_QIO_CHANNEL_SOCKET_NEW) || \
    false)

static inline void trace_qio_channel_socket_new(void *ioc)
{
    if (trace_event_get_state(TRACE_QIO_CHANNEL_SOCKET_NEW)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 17 "../xemu/io/trace-events"
            qemu_log("qio_channel_socket_new " "Socket new ioc=%p" "\n", ioc);
#line 344 "trace/trace-io.h"
        }
    }
}

#define TRACE_QIO_CHANNEL_SOCKET_NEW_FD_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_QIO_CHANNEL_SOCKET_NEW_FD) || \
    false)

static inline void trace_qio_channel_socket_new_fd(void *ioc, int fd)
{
    if (trace_event_get_state(TRACE_QIO_CHANNEL_SOCKET_NEW_FD)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 18 "../xemu/io/trace-events"
            qemu_log("qio_channel_socket_new_fd " "Socket new ioc=%p fd=%d" "\n", ioc, fd);
#line 359 "trace/trace-io.h"
        }
    }
}

#define TRACE_QIO_CHANNEL_SOCKET_CONNECT_SYNC_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_QIO_CHANNEL_SOCKET_CONNECT_SYNC) || \
    false)

static inline void trace_qio_channel_socket_connect_sync(void *ioc, void *addr)
{
    if (trace_event_get_state(TRACE_QIO_CHANNEL_SOCKET_CONNECT_SYNC)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 19 "../xemu/io/trace-events"
            qemu_log("qio_channel_socket_connect_sync " "Socket connect sync ioc=%p addr=%p" "\n", ioc, addr);
#line 374 "trace/trace-io.h"
        }
    }
}

#define TRACE_QIO_CHANNEL_SOCKET_CONNECT_ASYNC_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_QIO_CHANNEL_SOCKET_CONNECT_ASYNC) || \
    false)

static inline void trace_qio_channel_socket_connect_async(void *ioc, void *addr)
{
    if (trace_event_get_state(TRACE_QIO_CHANNEL_SOCKET_CONNECT_ASYNC)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 20 "../xemu/io/trace-events"
            qemu_log("qio_channel_socket_connect_async " "Socket connect async ioc=%p addr=%p" "\n", ioc, addr);
#line 389 "trace/trace-io.h"
        }
    }
}

#define TRACE_QIO_CHANNEL_SOCKET_CONNECT_FAIL_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_QIO_CHANNEL_SOCKET_CONNECT_FAIL) || \
    false)

static inline void trace_qio_channel_socket_connect_fail(void *ioc)
{
    if (trace_event_get_state(TRACE_QIO_CHANNEL_SOCKET_CONNECT_FAIL)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 21 "../xemu/io/trace-events"
            qemu_log("qio_channel_socket_connect_fail " "Socket connect fail ioc=%p" "\n", ioc);
#line 404 "trace/trace-io.h"
        }
    }
}

#define TRACE_QIO_CHANNEL_SOCKET_CONNECT_COMPLETE_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_QIO_CHANNEL_SOCKET_CONNECT_COMPLETE) || \
    false)

static inline void trace_qio_channel_socket_connect_complete(void *ioc, int fd)
{
    if (trace_event_get_state(TRACE_QIO_CHANNEL_SOCKET_CONNECT_COMPLETE)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 22 "../xemu/io/trace-events"
            qemu_log("qio_channel_socket_connect_complete " "Socket connect complete ioc=%p fd=%d" "\n", ioc, fd);
#line 419 "trace/trace-io.h"
        }
    }
}

#define TRACE_QIO_CHANNEL_SOCKET_LISTEN_SYNC_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_QIO_CHANNEL_SOCKET_LISTEN_SYNC) || \
    false)

static inline void trace_qio_channel_socket_listen_sync(void *ioc, void *addr, int num)
{
    if (trace_event_get_state(TRACE_QIO_CHANNEL_SOCKET_LISTEN_SYNC)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 23 "../xemu/io/trace-events"
            qemu_log("qio_channel_socket_listen_sync " "Socket listen sync ioc=%p addr=%p num=%d" "\n", ioc, addr, num);
#line 434 "trace/trace-io.h"
        }
    }
}

#define TRACE_QIO_CHANNEL_SOCKET_LISTEN_ASYNC_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_QIO_CHANNEL_SOCKET_LISTEN_ASYNC) || \
    false)

static inline void trace_qio_channel_socket_listen_async(void *ioc, void *addr, int num)
{
    if (trace_event_get_state(TRACE_QIO_CHANNEL_SOCKET_LISTEN_ASYNC)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 24 "../xemu/io/trace-events"
            qemu_log("qio_channel_socket_listen_async " "Socket listen async ioc=%p addr=%p num=%d" "\n", ioc, addr, num);
#line 449 "trace/trace-io.h"
        }
    }
}

#define TRACE_QIO_CHANNEL_SOCKET_LISTEN_FAIL_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_QIO_CHANNEL_SOCKET_LISTEN_FAIL) || \
    false)

static inline void trace_qio_channel_socket_listen_fail(void *ioc)
{
    if (trace_event_get_state(TRACE_QIO_CHANNEL_SOCKET_LISTEN_FAIL)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 25 "../xemu/io/trace-events"
            qemu_log("qio_channel_socket_listen_fail " "Socket listen fail ioc=%p" "\n", ioc);
#line 464 "trace/trace-io.h"
        }
    }
}

#define TRACE_QIO_CHANNEL_SOCKET_LISTEN_COMPLETE_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_QIO_CHANNEL_SOCKET_LISTEN_COMPLETE) || \
    false)

static inline void trace_qio_channel_socket_listen_complete(void *ioc, int fd)
{
    if (trace_event_get_state(TRACE_QIO_CHANNEL_SOCKET_LISTEN_COMPLETE)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 26 "../xemu/io/trace-events"
            qemu_log("qio_channel_socket_listen_complete " "Socket listen complete ioc=%p fd=%d" "\n", ioc, fd);
#line 479 "trace/trace-io.h"
        }
    }
}

#define TRACE_QIO_CHANNEL_SOCKET_DGRAM_SYNC_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_QIO_CHANNEL_SOCKET_DGRAM_SYNC) || \
    false)

static inline void trace_qio_channel_socket_dgram_sync(void *ioc, void *localAddr, void *remoteAddr)
{
    if (trace_event_get_state(TRACE_QIO_CHANNEL_SOCKET_DGRAM_SYNC)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 27 "../xemu/io/trace-events"
            qemu_log("qio_channel_socket_dgram_sync " "Socket dgram sync ioc=%p localAddr=%p remoteAddr=%p" "\n", ioc, localAddr, remoteAddr);
#line 494 "trace/trace-io.h"
        }
    }
}

#define TRACE_QIO_CHANNEL_SOCKET_DGRAM_ASYNC_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_QIO_CHANNEL_SOCKET_DGRAM_ASYNC) || \
    false)

static inline void trace_qio_channel_socket_dgram_async(void *ioc, void *localAddr, void *remoteAddr)
{
    if (trace_event_get_state(TRACE_QIO_CHANNEL_SOCKET_DGRAM_ASYNC)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 28 "../xemu/io/trace-events"
            qemu_log("qio_channel_socket_dgram_async " "Socket dgram async ioc=%p localAddr=%p remoteAddr=%p" "\n", ioc, localAddr, remoteAddr);
#line 509 "trace/trace-io.h"
        }
    }
}

#define TRACE_QIO_CHANNEL_SOCKET_DGRAM_FAIL_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_QIO_CHANNEL_SOCKET_DGRAM_FAIL) || \
    false)

static inline void trace_qio_channel_socket_dgram_fail(void *ioc)
{
    if (trace_event_get_state(TRACE_QIO_CHANNEL_SOCKET_DGRAM_FAIL)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 29 "../xemu/io/trace-events"
            qemu_log("qio_channel_socket_dgram_fail " "Socket dgram fail ioc=%p" "\n", ioc);
#line 524 "trace/trace-io.h"
        }
    }
}

#define TRACE_QIO_CHANNEL_SOCKET_DGRAM_COMPLETE_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_QIO_CHANNEL_SOCKET_DGRAM_COMPLETE) || \
    false)

static inline void trace_qio_channel_socket_dgram_complete(void *ioc, int fd)
{
    if (trace_event_get_state(TRACE_QIO_CHANNEL_SOCKET_DGRAM_COMPLETE)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 30 "../xemu/io/trace-events"
            qemu_log("qio_channel_socket_dgram_complete " "Socket dgram complete ioc=%p fd=%d" "\n", ioc, fd);
#line 539 "trace/trace-io.h"
        }
    }
}

#define TRACE_QIO_CHANNEL_SOCKET_ACCEPT_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_QIO_CHANNEL_SOCKET_ACCEPT) || \
    false)

static inline void trace_qio_channel_socket_accept(void *ioc)
{
    if (trace_event_get_state(TRACE_QIO_CHANNEL_SOCKET_ACCEPT)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 31 "../xemu/io/trace-events"
            qemu_log("qio_channel_socket_accept " "Socket accept start ioc=%p" "\n", ioc);
#line 554 "trace/trace-io.h"
        }
    }
}

#define TRACE_QIO_CHANNEL_SOCKET_ACCEPT_FAIL_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_QIO_CHANNEL_SOCKET_ACCEPT_FAIL) || \
    false)

static inline void trace_qio_channel_socket_accept_fail(void *ioc)
{
    if (trace_event_get_state(TRACE_QIO_CHANNEL_SOCKET_ACCEPT_FAIL)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 32 "../xemu/io/trace-events"
            qemu_log("qio_channel_socket_accept_fail " "Socket accept fail ioc=%p" "\n", ioc);
#line 569 "trace/trace-io.h"
        }
    }
}

#define TRACE_QIO_CHANNEL_SOCKET_ACCEPT_COMPLETE_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_QIO_CHANNEL_SOCKET_ACCEPT_COMPLETE) || \
    false)

static inline void trace_qio_channel_socket_accept_complete(void *ioc, void *cioc, int fd)
{
    if (trace_event_get_state(TRACE_QIO_CHANNEL_SOCKET_ACCEPT_COMPLETE)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 33 "../xemu/io/trace-events"
            qemu_log("qio_channel_socket_accept_complete " "Socket accept complete ioc=%p cioc=%p fd=%d" "\n", ioc, cioc, fd);
#line 584 "trace/trace-io.h"
        }
    }
}

#define TRACE_QIO_CHANNEL_FILE_NEW_FD_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_QIO_CHANNEL_FILE_NEW_FD) || \
    false)

static inline void trace_qio_channel_file_new_fd(void *ioc, int fd)
{
    if (trace_event_get_state(TRACE_QIO_CHANNEL_FILE_NEW_FD)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 36 "../xemu/io/trace-events"
            qemu_log("qio_channel_file_new_fd " "File new fd ioc=%p fd=%d" "\n", ioc, fd);
#line 599 "trace/trace-io.h"
        }
    }
}

#define TRACE_QIO_CHANNEL_FILE_NEW_PATH_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_QIO_CHANNEL_FILE_NEW_PATH) || \
    false)

static inline void trace_qio_channel_file_new_path(void *ioc, const char *path, int flags, int mode, int fd)
{
    if (trace_event_get_state(TRACE_QIO_CHANNEL_FILE_NEW_PATH)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 37 "../xemu/io/trace-events"
            qemu_log("qio_channel_file_new_path " "File new fd ioc=%p path=%s flags=%d mode=%d fd=%d" "\n", ioc, path, flags, mode, fd);
#line 614 "trace/trace-io.h"
        }
    }
}

#define TRACE_QIO_CHANNEL_TLS_NEW_CLIENT_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_QIO_CHANNEL_TLS_NEW_CLIENT) || \
    false)

static inline void trace_qio_channel_tls_new_client(void *ioc, void *master, void *creds, const char *hostname)
{
    if (trace_event_get_state(TRACE_QIO_CHANNEL_TLS_NEW_CLIENT)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 40 "../xemu/io/trace-events"
            qemu_log("qio_channel_tls_new_client " "TLS new client ioc=%p master=%p creds=%p hostname=%s" "\n", ioc, master, creds, hostname);
#line 629 "trace/trace-io.h"
        }
    }
}

#define TRACE_QIO_CHANNEL_TLS_NEW_SERVER_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_QIO_CHANNEL_TLS_NEW_SERVER) || \
    false)

static inline void trace_qio_channel_tls_new_server(void *ioc, void *master, void *creds, const char *aclname)
{
    if (trace_event_get_state(TRACE_QIO_CHANNEL_TLS_NEW_SERVER)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 41 "../xemu/io/trace-events"
            qemu_log("qio_channel_tls_new_server " "TLS new client ioc=%p master=%p creds=%p acltname=%s" "\n", ioc, master, creds, aclname);
#line 644 "trace/trace-io.h"
        }
    }
}

#define TRACE_QIO_CHANNEL_TLS_HANDSHAKE_START_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_QIO_CHANNEL_TLS_HANDSHAKE_START) || \
    false)

static inline void trace_qio_channel_tls_handshake_start(void *ioc)
{
    if (trace_event_get_state(TRACE_QIO_CHANNEL_TLS_HANDSHAKE_START)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 42 "../xemu/io/trace-events"
            qemu_log("qio_channel_tls_handshake_start " "TLS handshake start ioc=%p" "\n", ioc);
#line 659 "trace/trace-io.h"
        }
    }
}

#define TRACE_QIO_CHANNEL_TLS_HANDSHAKE_PENDING_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_QIO_CHANNEL_TLS_HANDSHAKE_PENDING) || \
    false)

static inline void trace_qio_channel_tls_handshake_pending(void *ioc, int status)
{
    if (trace_event_get_state(TRACE_QIO_CHANNEL_TLS_HANDSHAKE_PENDING)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 43 "../xemu/io/trace-events"
            qemu_log("qio_channel_tls_handshake_pending " "TLS handshake pending ioc=%p status=%d" "\n", ioc, status);
#line 674 "trace/trace-io.h"
        }
    }
}

#define TRACE_QIO_CHANNEL_TLS_HANDSHAKE_FAIL_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_QIO_CHANNEL_TLS_HANDSHAKE_FAIL) || \
    false)

static inline void trace_qio_channel_tls_handshake_fail(void *ioc)
{
    if (trace_event_get_state(TRACE_QIO_CHANNEL_TLS_HANDSHAKE_FAIL)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 44 "../xemu/io/trace-events"
            qemu_log("qio_channel_tls_handshake_fail " "TLS handshake fail ioc=%p" "\n", ioc);
#line 689 "trace/trace-io.h"
        }
    }
}

#define TRACE_QIO_CHANNEL_TLS_HANDSHAKE_COMPLETE_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_QIO_CHANNEL_TLS_HANDSHAKE_COMPLETE) || \
    false)

static inline void trace_qio_channel_tls_handshake_complete(void *ioc)
{
    if (trace_event_get_state(TRACE_QIO_CHANNEL_TLS_HANDSHAKE_COMPLETE)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 45 "../xemu/io/trace-events"
            qemu_log("qio_channel_tls_handshake_complete " "TLS handshake complete ioc=%p" "\n", ioc);
#line 704 "trace/trace-io.h"
        }
    }
}

#define TRACE_QIO_CHANNEL_TLS_HANDSHAKE_CANCEL_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_QIO_CHANNEL_TLS_HANDSHAKE_CANCEL) || \
    false)

static inline void trace_qio_channel_tls_handshake_cancel(void *ioc)
{
    if (trace_event_get_state(TRACE_QIO_CHANNEL_TLS_HANDSHAKE_CANCEL)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 46 "../xemu/io/trace-events"
            qemu_log("qio_channel_tls_handshake_cancel " "TLS handshake cancel ioc=%p" "\n", ioc);
#line 719 "trace/trace-io.h"
        }
    }
}

#define TRACE_QIO_CHANNEL_TLS_BYE_START_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_QIO_CHANNEL_TLS_BYE_START) || \
    false)

static inline void trace_qio_channel_tls_bye_start(void *ioc)
{
    if (trace_event_get_state(TRACE_QIO_CHANNEL_TLS_BYE_START)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 47 "../xemu/io/trace-events"
            qemu_log("qio_channel_tls_bye_start " "TLS termination start ioc=%p" "\n", ioc);
#line 734 "trace/trace-io.h"
        }
    }
}

#define TRACE_QIO_CHANNEL_TLS_BYE_PENDING_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_QIO_CHANNEL_TLS_BYE_PENDING) || \
    false)

static inline void trace_qio_channel_tls_bye_pending(void *ioc, int status)
{
    if (trace_event_get_state(TRACE_QIO_CHANNEL_TLS_BYE_PENDING)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 48 "../xemu/io/trace-events"
            qemu_log("qio_channel_tls_bye_pending " "TLS termination pending ioc=%p status=%d" "\n", ioc, status);
#line 749 "trace/trace-io.h"
        }
    }
}

#define TRACE_QIO_CHANNEL_TLS_BYE_FAIL_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_QIO_CHANNEL_TLS_BYE_FAIL) || \
    false)

static inline void trace_qio_channel_tls_bye_fail(void *ioc)
{
    if (trace_event_get_state(TRACE_QIO_CHANNEL_TLS_BYE_FAIL)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 49 "../xemu/io/trace-events"
            qemu_log("qio_channel_tls_bye_fail " "TLS termination fail ioc=%p" "\n", ioc);
#line 764 "trace/trace-io.h"
        }
    }
}

#define TRACE_QIO_CHANNEL_TLS_BYE_COMPLETE_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_QIO_CHANNEL_TLS_BYE_COMPLETE) || \
    false)

static inline void trace_qio_channel_tls_bye_complete(void *ioc)
{
    if (trace_event_get_state(TRACE_QIO_CHANNEL_TLS_BYE_COMPLETE)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 50 "../xemu/io/trace-events"
            qemu_log("qio_channel_tls_bye_complete " "TLS termination complete ioc=%p" "\n", ioc);
#line 779 "trace/trace-io.h"
        }
    }
}

#define TRACE_QIO_CHANNEL_TLS_BYE_CANCEL_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_QIO_CHANNEL_TLS_BYE_CANCEL) || \
    false)

static inline void trace_qio_channel_tls_bye_cancel(void *ioc)
{
    if (trace_event_get_state(TRACE_QIO_CHANNEL_TLS_BYE_CANCEL)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 51 "../xemu/io/trace-events"
            qemu_log("qio_channel_tls_bye_cancel " "TLS termination cancel ioc=%p" "\n", ioc);
#line 794 "trace/trace-io.h"
        }
    }
}

#define TRACE_QIO_CHANNEL_TLS_CREDENTIALS_ALLOW_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_QIO_CHANNEL_TLS_CREDENTIALS_ALLOW) || \
    false)

static inline void trace_qio_channel_tls_credentials_allow(void *ioc)
{
    if (trace_event_get_state(TRACE_QIO_CHANNEL_TLS_CREDENTIALS_ALLOW)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 52 "../xemu/io/trace-events"
            qemu_log("qio_channel_tls_credentials_allow " "TLS credentials allow ioc=%p" "\n", ioc);
#line 809 "trace/trace-io.h"
        }
    }
}

#define TRACE_QIO_CHANNEL_TLS_CREDENTIALS_DENY_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_QIO_CHANNEL_TLS_CREDENTIALS_DENY) || \
    false)

static inline void trace_qio_channel_tls_credentials_deny(void *ioc)
{
    if (trace_event_get_state(TRACE_QIO_CHANNEL_TLS_CREDENTIALS_DENY)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 53 "../xemu/io/trace-events"
            qemu_log("qio_channel_tls_credentials_deny " "TLS credentials deny ioc=%p" "\n", ioc);
#line 824 "trace/trace-io.h"
        }
    }
}

#define TRACE_QIO_CHANNEL_WEBSOCK_NEW_SERVER_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_QIO_CHANNEL_WEBSOCK_NEW_SERVER) || \
    false)

static inline void trace_qio_channel_websock_new_server(void *ioc, void *master)
{
    if (trace_event_get_state(TRACE_QIO_CHANNEL_WEBSOCK_NEW_SERVER)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 56 "../xemu/io/trace-events"
            qemu_log("qio_channel_websock_new_server " "Websock new client ioc=%p master=%p" "\n", ioc, master);
#line 839 "trace/trace-io.h"
        }
    }
}

#define TRACE_QIO_CHANNEL_WEBSOCK_HANDSHAKE_START_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_QIO_CHANNEL_WEBSOCK_HANDSHAKE_START) || \
    false)

static inline void trace_qio_channel_websock_handshake_start(void *ioc)
{
    if (trace_event_get_state(TRACE_QIO_CHANNEL_WEBSOCK_HANDSHAKE_START)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 57 "../xemu/io/trace-events"
            qemu_log("qio_channel_websock_handshake_start " "Websock handshake start ioc=%p" "\n", ioc);
#line 854 "trace/trace-io.h"
        }
    }
}

#define TRACE_QIO_CHANNEL_WEBSOCK_HANDSHAKE_PENDING_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_QIO_CHANNEL_WEBSOCK_HANDSHAKE_PENDING) || \
    false)

static inline void trace_qio_channel_websock_handshake_pending(void *ioc, int status)
{
    if (trace_event_get_state(TRACE_QIO_CHANNEL_WEBSOCK_HANDSHAKE_PENDING)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 58 "../xemu/io/trace-events"
            qemu_log("qio_channel_websock_handshake_pending " "Websock handshake pending ioc=%p status=%d" "\n", ioc, status);
#line 869 "trace/trace-io.h"
        }
    }
}

#define TRACE_QIO_CHANNEL_WEBSOCK_HANDSHAKE_REPLY_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_QIO_CHANNEL_WEBSOCK_HANDSHAKE_REPLY) || \
    false)

static inline void trace_qio_channel_websock_handshake_reply(void *ioc)
{
    if (trace_event_get_state(TRACE_QIO_CHANNEL_WEBSOCK_HANDSHAKE_REPLY)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 59 "../xemu/io/trace-events"
            qemu_log("qio_channel_websock_handshake_reply " "Websock handshake reply ioc=%p" "\n", ioc);
#line 884 "trace/trace-io.h"
        }
    }
}

#define TRACE_QIO_CHANNEL_WEBSOCK_HANDSHAKE_FAIL_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_QIO_CHANNEL_WEBSOCK_HANDSHAKE_FAIL) || \
    false)

static inline void trace_qio_channel_websock_handshake_fail(void *ioc, const char *msg)
{
    if (trace_event_get_state(TRACE_QIO_CHANNEL_WEBSOCK_HANDSHAKE_FAIL)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 60 "../xemu/io/trace-events"
            qemu_log("qio_channel_websock_handshake_fail " "Websock handshake fail ioc=%p err=%s" "\n", ioc, msg);
#line 899 "trace/trace-io.h"
        }
    }
}

#define TRACE_QIO_CHANNEL_WEBSOCK_HANDSHAKE_COMPLETE_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_QIO_CHANNEL_WEBSOCK_HANDSHAKE_COMPLETE) || \
    false)

static inline void trace_qio_channel_websock_handshake_complete(void *ioc)
{
    if (trace_event_get_state(TRACE_QIO_CHANNEL_WEBSOCK_HANDSHAKE_COMPLETE)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 61 "../xemu/io/trace-events"
            qemu_log("qio_channel_websock_handshake_complete " "Websock handshake complete ioc=%p" "\n", ioc);
#line 914 "trace/trace-io.h"
        }
    }
}

#define TRACE_QIO_CHANNEL_WEBSOCK_HTTP_GREETING_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_QIO_CHANNEL_WEBSOCK_HTTP_GREETING) || \
    false)

static inline void trace_qio_channel_websock_http_greeting(void *ioc, const char *greeting)
{
    if (trace_event_get_state(TRACE_QIO_CHANNEL_WEBSOCK_HTTP_GREETING)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 62 "../xemu/io/trace-events"
            qemu_log("qio_channel_websock_http_greeting " "Websocket HTTP request ioc=%p greeting='%s'" "\n", ioc, greeting);
#line 929 "trace/trace-io.h"
        }
    }
}

#define TRACE_QIO_CHANNEL_WEBSOCK_HTTP_REQUEST_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_QIO_CHANNEL_WEBSOCK_HTTP_REQUEST) || \
    false)

static inline void trace_qio_channel_websock_http_request(void *ioc, const char *protocols, const char *version, const char *host, const char *connection, const char *upgrade, const char *key)
{
    if (trace_event_get_state(TRACE_QIO_CHANNEL_WEBSOCK_HTTP_REQUEST)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 63 "../xemu/io/trace-events"
            qemu_log("qio_channel_websock_http_request " "Websocket HTTP request ioc=%p protocols='%s' version='%s' host='%s' connection='%s' upgrade='%s' key='%s'" "\n", ioc, protocols, version, host, connection, upgrade, key);
#line 944 "trace/trace-io.h"
        }
    }
}

#define TRACE_QIO_CHANNEL_WEBSOCK_HEADER_PARTIAL_DECODE_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_QIO_CHANNEL_WEBSOCK_HEADER_PARTIAL_DECODE) || \
    false)

static inline void trace_qio_channel_websock_header_partial_decode(void *ioc, size_t payloadlen, unsigned char fin, unsigned char opcode, unsigned char has_mask)
{
    if (trace_event_get_state(TRACE_QIO_CHANNEL_WEBSOCK_HEADER_PARTIAL_DECODE)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 64 "../xemu/io/trace-events"
            qemu_log("qio_channel_websock_header_partial_decode " "Websocket header decoded ioc=%p payload-len=%zu fin=0x%x opcode=0x%x has_mask=0x%x" "\n", ioc, payloadlen, fin, opcode, has_mask);
#line 959 "trace/trace-io.h"
        }
    }
}

#define TRACE_QIO_CHANNEL_WEBSOCK_HEADER_FULL_DECODE_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_QIO_CHANNEL_WEBSOCK_HEADER_FULL_DECODE) || \
    false)

static inline void trace_qio_channel_websock_header_full_decode(void *ioc, size_t headerlen, size_t payloadlen, uint32_t mask)
{
    if (trace_event_get_state(TRACE_QIO_CHANNEL_WEBSOCK_HEADER_FULL_DECODE)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 65 "../xemu/io/trace-events"
            qemu_log("qio_channel_websock_header_full_decode " "Websocket header decoded ioc=%p header-len=%zu payload-len=%zu mask=0x%x" "\n", ioc, headerlen, payloadlen, mask);
#line 974 "trace/trace-io.h"
        }
    }
}

#define TRACE_QIO_CHANNEL_WEBSOCK_PAYLOAD_DECODE_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_QIO_CHANNEL_WEBSOCK_PAYLOAD_DECODE) || \
    false)

static inline void trace_qio_channel_websock_payload_decode(void *ioc, uint8_t opcode, size_t payload_remain)
{
    if (trace_event_get_state(TRACE_QIO_CHANNEL_WEBSOCK_PAYLOAD_DECODE)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 66 "../xemu/io/trace-events"
            qemu_log("qio_channel_websock_payload_decode " "Websocket header decoded ioc=%p opcode=0x%x payload-remain=%zu" "\n", ioc, opcode, payload_remain);
#line 989 "trace/trace-io.h"
        }
    }
}

#define TRACE_QIO_CHANNEL_WEBSOCK_ENCODE_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_QIO_CHANNEL_WEBSOCK_ENCODE) || \
    false)

static inline void trace_qio_channel_websock_encode(void *ioc, uint8_t opcode, size_t payloadlen, size_t headerlen)
{
    if (trace_event_get_state(TRACE_QIO_CHANNEL_WEBSOCK_ENCODE)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 67 "../xemu/io/trace-events"
            qemu_log("qio_channel_websock_encode " "Websocket encoded ioc=%p opcode=0x%x header-len=%zu payload-len=%zu" "\n", ioc, opcode, payloadlen, headerlen);
#line 1004 "trace/trace-io.h"
        }
    }
}

#define TRACE_QIO_CHANNEL_WEBSOCK_CLOSE_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_QIO_CHANNEL_WEBSOCK_CLOSE) || \
    false)

static inline void trace_qio_channel_websock_close(void *ioc)
{
    if (trace_event_get_state(TRACE_QIO_CHANNEL_WEBSOCK_CLOSE)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 68 "../xemu/io/trace-events"
            qemu_log("qio_channel_websock_close " "Websocket close ioc=%p" "\n", ioc);
#line 1019 "trace/trace-io.h"
        }
    }
}

#define TRACE_QIO_CHANNEL_COMMAND_NEW_PID_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_QIO_CHANNEL_COMMAND_NEW_PID) || \
    false)

static inline void trace_qio_channel_command_new_pid(void *ioc, int writefd, int readfd, int pid)
{
    if (trace_event_get_state(TRACE_QIO_CHANNEL_COMMAND_NEW_PID)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 71 "../xemu/io/trace-events"
            qemu_log("qio_channel_command_new_pid " "Command new pid ioc=%p writefd=%d readfd=%d pid=%d" "\n", ioc, writefd, readfd, pid);
#line 1034 "trace/trace-io.h"
        }
    }
}

#define TRACE_QIO_CHANNEL_COMMAND_NEW_SPAWN_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_QIO_CHANNEL_COMMAND_NEW_SPAWN) || \
    false)

static inline void trace_qio_channel_command_new_spawn(void *ioc, const char *binary, int flags)
{
    if (trace_event_get_state(TRACE_QIO_CHANNEL_COMMAND_NEW_SPAWN)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 72 "../xemu/io/trace-events"
            qemu_log("qio_channel_command_new_spawn " "Command new spawn ioc=%p binary=%s flags=%d" "\n", ioc, binary, flags);
#line 1049 "trace/trace-io.h"
        }
    }
}

#define TRACE_QIO_CHANNEL_COMMAND_ABORT_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_QIO_CHANNEL_COMMAND_ABORT) || \
    false)

static inline void trace_qio_channel_command_abort(void *ioc, int pid)
{
    if (trace_event_get_state(TRACE_QIO_CHANNEL_COMMAND_ABORT)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 73 "../xemu/io/trace-events"
            qemu_log("qio_channel_command_abort " "Command abort ioc=%p pid=%d" "\n", ioc, pid);
#line 1064 "trace/trace-io.h"
        }
    }
}

#define TRACE_QIO_CHANNEL_COMMAND_WAIT_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_QIO_CHANNEL_COMMAND_WAIT) || \
    false)

static inline void trace_qio_channel_command_wait(void *ioc, int pid, int ret, int status)
{
    if (trace_event_get_state(TRACE_QIO_CHANNEL_COMMAND_WAIT)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 74 "../xemu/io/trace-events"
            qemu_log("qio_channel_command_wait " "Command abort ioc=%p pid=%d ret=%d status=%d" "\n", ioc, pid, ret, status);
#line 1079 "trace/trace-io.h"
        }
    }
}

#define TRACE_QIO_NET_LISTENER_WATCH_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_QIO_NET_LISTENER_WATCH) || \
    false)

static inline void trace_qio_net_listener_watch(void *listener, void *func, void *gctx, void *actx, const char *extra)
{
    if (trace_event_get_state(TRACE_QIO_NET_LISTENER_WATCH)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 77 "../xemu/io/trace-events"
            qemu_log("qio_net_listener_watch " "Net listener=%p watch enabled func=%p ctx=%p/%p by %s" "\n", listener, func, gctx, actx, extra);
#line 1094 "trace/trace-io.h"
        }
    }
}

#define TRACE_QIO_NET_LISTENER_UNWATCH_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_QIO_NET_LISTENER_UNWATCH) || \
    false)

static inline void trace_qio_net_listener_unwatch(void *listener, void *func, void *gctx, void *actx, const char *extra)
{
    if (trace_event_get_state(TRACE_QIO_NET_LISTENER_UNWATCH)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 78 "../xemu/io/trace-events"
            qemu_log("qio_net_listener_unwatch " "Net listener=%p watch disabled func=%p ctx=%p/%p by %s" "\n", listener, func, gctx, actx, extra);
#line 1109 "trace/trace-io.h"
        }
    }
}

#define TRACE_QIO_NET_LISTENER_CALLBACK_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_QIO_NET_LISTENER_CALLBACK) || \
    false)

static inline void trace_qio_net_listener_callback(void *listener, void *func, void *gctx, void *actx)
{
    if (trace_event_get_state(TRACE_QIO_NET_LISTENER_CALLBACK)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 79 "../xemu/io/trace-events"
            qemu_log("qio_net_listener_callback " "Net listener=%p callback forwarding to func=%p ctx=%p/%p" "\n", listener, func, gctx, actx);
#line 1124 "trace/trace-io.h"
        }
    }
}
#endif /* TRACE_IO_GENERATED_TRACERS_H */
