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

#ifndef TRACE_UI_GENERATED_TRACERS_H
#define TRACE_UI_GENERATED_TRACERS_H

#include "trace/control.h"

extern TraceEvent _TRACE_CONSOLE_GFX_NEW_EVENT;
extern TraceEvent _TRACE_CONSOLE_GFX_REUSE_EVENT;
extern TraceEvent _TRACE_CONSOLE_GFX_CLOSE_EVENT;
extern TraceEvent _TRACE_CONSOLE_PUTCHAR_CSI_EVENT;
extern TraceEvent _TRACE_CONSOLE_PUTCHAR_UNHANDLED_EVENT;
extern TraceEvent _TRACE_CONSOLE_TXT_NEW_EVENT;
extern TraceEvent _TRACE_CONSOLE_SELECT_EVENT;
extern TraceEvent _TRACE_CONSOLE_REFRESH_EVENT;
extern TraceEvent _TRACE_DISPLAYSURFACE_CREATE_EVENT;
extern TraceEvent _TRACE_DISPLAYSURFACE_CREATE_FROM_EVENT;
extern TraceEvent _TRACE_DISPLAYSURFACE_CREATE_PIXMAN_EVENT;
extern TraceEvent _TRACE_DISPLAYSURFACE_FREE_EVENT;
extern TraceEvent _TRACE_DISPLAYCHANGELISTENER_REGISTER_EVENT;
extern TraceEvent _TRACE_DISPLAYCHANGELISTENER_UNREGISTER_EVENT;
extern TraceEvent _TRACE_PPM_SAVE_EVENT;
extern TraceEvent _TRACE_GD_SWITCH_EVENT;
extern TraceEvent _TRACE_GD_UPDATE_EVENT;
extern TraceEvent _TRACE_GD_KEY_EVENT_EVENT;
extern TraceEvent _TRACE_GD_GRAB_EVENT;
extern TraceEvent _TRACE_GD_UNGRAB_EVENT;
extern TraceEvent _TRACE_GD_KEYMAP_WINDOWING_EVENT;
extern TraceEvent _TRACE_GD_GL_AREA_CREATE_CONTEXT_EVENT;
extern TraceEvent _TRACE_GD_GL_AREA_DESTROY_CONTEXT_EVENT;
extern TraceEvent _TRACE_GD_MOTION_EVENT_EVENT;
extern TraceEvent _TRACE_VNC_KEY_GUEST_LEDS_EVENT;
extern TraceEvent _TRACE_VNC_KEY_MAP_INIT_EVENT;
extern TraceEvent _TRACE_VNC_KEY_EVENT_EXT_EVENT;
extern TraceEvent _TRACE_VNC_KEY_EVENT_MAP_EVENT;
extern TraceEvent _TRACE_VNC_KEY_SYNC_NUMLOCK_EVENT;
extern TraceEvent _TRACE_VNC_KEY_SYNC_CAPSLOCK_EVENT;
extern TraceEvent _TRACE_VNC_MSG_SERVER_AUDIO_BEGIN_EVENT;
extern TraceEvent _TRACE_VNC_MSG_SERVER_AUDIO_END_EVENT;
extern TraceEvent _TRACE_VNC_MSG_SERVER_AUDIO_DATA_EVENT;
extern TraceEvent _TRACE_VNC_MSG_SERVER_DESKTOP_RESIZE_EVENT;
extern TraceEvent _TRACE_VNC_MSG_SERVER_EXT_DESKTOP_RESIZE_EVENT;
extern TraceEvent _TRACE_VNC_MSG_CLIENT_AUDIO_ENABLE_EVENT;
extern TraceEvent _TRACE_VNC_MSG_CLIENT_AUDIO_DISABLE_EVENT;
extern TraceEvent _TRACE_VNC_MSG_CLIENT_AUDIO_FORMAT_EVENT;
extern TraceEvent _TRACE_VNC_MSG_CLIENT_CUT_TEXT_EVENT;
extern TraceEvent _TRACE_VNC_MSG_CLIENT_CUT_TEXT_EXT_EVENT;
extern TraceEvent _TRACE_VNC_MSG_CLIENT_EXT_KEY_EVENT_EVENT;
extern TraceEvent _TRACE_VNC_MSG_CLIENT_FRAMEBUFFER_UPDATE_REQUEST_EVENT;
extern TraceEvent _TRACE_VNC_MSG_CLIENT_KEY_EVENT_EVENT;
extern TraceEvent _TRACE_VNC_MSG_CLIENT_POINTER_EVENT_EVENT;
extern TraceEvent _TRACE_VNC_MSG_CLIENT_SET_DESKTOP_SIZE_EVENT;
extern TraceEvent _TRACE_VNC_MSG_CLIENT_SET_ENCODINGS_EVENT;
extern TraceEvent _TRACE_VNC_MSG_CLIENT_SET_PIXEL_FORMAT_EVENT;
extern TraceEvent _TRACE_VNC_MSG_CLIENT_SET_PIXEL_FORMAT_RGB_EVENT;
extern TraceEvent _TRACE_VNC_MSG_CLIENT_XVP_EVENT;
extern TraceEvent _TRACE_VNC_CLIENT_EOF_EVENT;
extern TraceEvent _TRACE_VNC_CLIENT_IO_ERROR_EVENT;
extern TraceEvent _TRACE_VNC_CLIENT_CONNECT_EVENT;
extern TraceEvent _TRACE_VNC_CLIENT_DISCONNECT_START_EVENT;
extern TraceEvent _TRACE_VNC_CLIENT_DISCONNECT_FINISH_EVENT;
extern TraceEvent _TRACE_VNC_CLIENT_IO_WRAP_EVENT;
extern TraceEvent _TRACE_VNC_CLIENT_PIXEL_FORMAT_EVENT;
extern TraceEvent _TRACE_VNC_CLIENT_PIXEL_FORMAT_RED_EVENT;
extern TraceEvent _TRACE_VNC_CLIENT_PIXEL_FORMAT_GREEN_EVENT;
extern TraceEvent _TRACE_VNC_CLIENT_PIXEL_FORMAT_BLUE_EVENT;
extern TraceEvent _TRACE_VNC_CLIENT_THROTTLE_THRESHOLD_EVENT;
extern TraceEvent _TRACE_VNC_CLIENT_THROTTLE_INCREMENTAL_EVENT;
extern TraceEvent _TRACE_VNC_CLIENT_THROTTLE_FORCED_EVENT;
extern TraceEvent _TRACE_VNC_CLIENT_THROTTLE_AUDIO_EVENT;
extern TraceEvent _TRACE_VNC_CLIENT_UNTHROTTLE_FORCED_EVENT;
extern TraceEvent _TRACE_VNC_CLIENT_UNTHROTTLE_INCREMENTAL_EVENT;
extern TraceEvent _TRACE_VNC_CLIENT_OUTPUT_LIMIT_EVENT;
extern TraceEvent _TRACE_VNC_SERVER_DPY_PAGEFLIP_EVENT;
extern TraceEvent _TRACE_VNC_SERVER_DPY_RECREATE_EVENT;
extern TraceEvent _TRACE_VNC_JOB_ADD_RECT_EVENT;
extern TraceEvent _TRACE_VNC_JOB_DISCARD_RECT_EVENT;
extern TraceEvent _TRACE_VNC_JOB_CLAMP_RECT_EVENT;
extern TraceEvent _TRACE_VNC_JOB_CLAMPED_RECT_EVENT;
extern TraceEvent _TRACE_VNC_JOB_NRECTS_EVENT;
extern TraceEvent _TRACE_VNC_AUTH_INIT_EVENT;
extern TraceEvent _TRACE_VNC_AUTH_START_EVENT;
extern TraceEvent _TRACE_VNC_AUTH_PASS_EVENT;
extern TraceEvent _TRACE_VNC_AUTH_FAIL_EVENT;
extern TraceEvent _TRACE_VNC_AUTH_REJECT_EVENT;
extern TraceEvent _TRACE_VNC_AUTH_VENCRYPT_VERSION_EVENT;
extern TraceEvent _TRACE_VNC_AUTH_VENCRYPT_SUBAUTH_EVENT;
extern TraceEvent _TRACE_VNC_AUTH_SASL_MECH_LIST_EVENT;
extern TraceEvent _TRACE_VNC_AUTH_SASL_MECH_CHOOSE_EVENT;
extern TraceEvent _TRACE_VNC_AUTH_SASL_START_EVENT;
extern TraceEvent _TRACE_VNC_AUTH_SASL_STEP_EVENT;
extern TraceEvent _TRACE_VNC_AUTH_SASL_SSF_EVENT;
extern TraceEvent _TRACE_VNC_AUTH_SASL_USERNAME_EVENT;
extern TraceEvent _TRACE_VNC_AUTH_SASL_ACL_EVENT;
extern TraceEvent _TRACE_INPUT_EVENT_KEY_NUMBER_EVENT;
extern TraceEvent _TRACE_INPUT_EVENT_KEY_QCODE_EVENT;
extern TraceEvent _TRACE_INPUT_EVENT_BTN_EVENT;
extern TraceEvent _TRACE_INPUT_EVENT_REL_EVENT;
extern TraceEvent _TRACE_INPUT_EVENT_ABS_EVENT;
extern TraceEvent _TRACE_INPUT_EVENT_MTT_EVENT;
extern TraceEvent _TRACE_INPUT_EVENT_SYNC_EVENT;
extern TraceEvent _TRACE_SDL2_PROCESS_KEY_EVENT;
extern TraceEvent _TRACE_QEMU_SPICE_ADD_MEMSLOT_EVENT;
extern TraceEvent _TRACE_QEMU_SPICE_DEL_MEMSLOT_EVENT;
extern TraceEvent _TRACE_QEMU_SPICE_CREATE_PRIMARY_SURFACE_EVENT;
extern TraceEvent _TRACE_QEMU_SPICE_DESTROY_PRIMARY_SURFACE_EVENT;
extern TraceEvent _TRACE_QEMU_SPICE_WAKEUP_EVENT;
extern TraceEvent _TRACE_QEMU_SPICE_CREATE_UPDATE_EVENT;
extern TraceEvent _TRACE_QEMU_SPICE_DISPLAY_UPDATE_EVENT;
extern TraceEvent _TRACE_QEMU_SPICE_DISPLAY_SURFACE_EVENT;
extern TraceEvent _TRACE_QEMU_SPICE_DISPLAY_REFRESH_EVENT;
extern TraceEvent _TRACE_QEMU_SPICE_UI_INFO_EVENT;
extern TraceEvent _TRACE_QEMU_SPICE_GL_SURFACE_EVENT;
extern TraceEvent _TRACE_QEMU_SPICE_GL_SCANOUT_DISABLE_EVENT;
extern TraceEvent _TRACE_QEMU_SPICE_GL_SCANOUT_TEXTURE_EVENT;
extern TraceEvent _TRACE_QEMU_SPICE_GL_CURSOR_EVENT;
extern TraceEvent _TRACE_QEMU_SPICE_GL_FORWARD_DMABUF_EVENT;
extern TraceEvent _TRACE_QEMU_SPICE_GL_RENDER_DMABUF_EVENT;
extern TraceEvent _TRACE_QEMU_SPICE_GL_UPDATE_EVENT;
extern TraceEvent _TRACE_KEYMAP_PARSE_EVENT;
extern TraceEvent _TRACE_KEYMAP_ADD_EVENT;
extern TraceEvent _TRACE_KEYMAP_UNMAPPED_EVENT;
extern TraceEvent _TRACE_XKEYMAP_EXTENSION_EVENT;
extern TraceEvent _TRACE_XKEYMAP_VENDOR_EVENT;
extern TraceEvent _TRACE_XKEYMAP_KEYCODES_EVENT;
extern TraceEvent _TRACE_XKEYMAP_KEYMAP_EVENT;
extern TraceEvent _TRACE_CLIPBOARD_CHECK_SERIAL_EVENT;
extern TraceEvent _TRACE_CLIPBOARD_RESET_SERIAL_EVENT;
extern TraceEvent _TRACE_VDAGENT_FE_OPEN_EVENT;
extern TraceEvent _TRACE_VDAGENT_CLOSE_EVENT;
extern TraceEvent _TRACE_VDAGENT_DISCONNECT_EVENT;
extern TraceEvent _TRACE_VDAGENT_SEND_EVENT;
extern TraceEvent _TRACE_VDAGENT_SEND_EMPTY_CLIPBOARD_EVENT;
extern TraceEvent _TRACE_VDAGENT_RECV_CHUNK_EVENT;
extern TraceEvent _TRACE_VDAGENT_RECV_MSG_EVENT;
extern TraceEvent _TRACE_VDAGENT_PEER_CAP_EVENT;
extern TraceEvent _TRACE_VDAGENT_CB_GRAB_SELECTION_EVENT;
extern TraceEvent _TRACE_VDAGENT_CB_GRAB_DISCARD_EVENT;
extern TraceEvent _TRACE_VDAGENT_CB_GRAB_TYPE_EVENT;
extern TraceEvent _TRACE_VDAGENT_CB_SERIAL_DISCARD_EVENT;
extern TraceEvent _TRACE_DBUS_REGISTERED_LISTENER_EVENT;
extern TraceEvent _TRACE_DBUS_LISTENER_VANISHED_EVENT;
extern TraceEvent _TRACE_DBUS_KBD_PRESS_EVENT;
extern TraceEvent _TRACE_DBUS_KBD_RELEASE_EVENT;
extern TraceEvent _TRACE_DBUS_MOUSE_PRESS_EVENT;
extern TraceEvent _TRACE_DBUS_MOUSE_RELEASE_EVENT;
extern TraceEvent _TRACE_DBUS_MOUSE_SET_POS_EVENT;
extern TraceEvent _TRACE_DBUS_MOUSE_REL_MOTION_EVENT;
extern TraceEvent _TRACE_DBUS_TOUCH_SEND_EVENT_EVENT;
extern TraceEvent _TRACE_DBUS_UPDATE_EVENT;
extern TraceEvent _TRACE_DBUS_UPDATE_GL_EVENT;
extern TraceEvent _TRACE_DBUS_CLIPBOARD_GRAB_EVENT;
extern TraceEvent _TRACE_DBUS_CLIPBOARD_GRAB_FAILED_EVENT;
extern TraceEvent _TRACE_DBUS_CLIPBOARD_QEMU_REQUEST_EVENT;
extern TraceEvent _TRACE_DBUS_CLIPBOARD_REGISTER_EVENT;
extern TraceEvent _TRACE_DBUS_CLIPBOARD_UNREGISTER_EVENT;
extern TraceEvent _TRACE_DBUS_SCANOUT_TEXTURE_EVENT;
extern TraceEvent _TRACE_DBUS_GL_GFX_SWITCH_EVENT;
extern TraceEvent _TRACE_DBUS_FILTER_EVENT;
extern TraceEvent _TRACE_DBUS_CAN_SHARE_MAP_EVENT;
extern TraceEvent _TRACE_EGL_INIT_D3D11_DEVICE_EVENT;
extern uint16_t _TRACE_CONSOLE_GFX_NEW_DSTATE;
extern uint16_t _TRACE_CONSOLE_GFX_REUSE_DSTATE;
extern uint16_t _TRACE_CONSOLE_GFX_CLOSE_DSTATE;
extern uint16_t _TRACE_CONSOLE_PUTCHAR_CSI_DSTATE;
extern uint16_t _TRACE_CONSOLE_PUTCHAR_UNHANDLED_DSTATE;
extern uint16_t _TRACE_CONSOLE_TXT_NEW_DSTATE;
extern uint16_t _TRACE_CONSOLE_SELECT_DSTATE;
extern uint16_t _TRACE_CONSOLE_REFRESH_DSTATE;
extern uint16_t _TRACE_DISPLAYSURFACE_CREATE_DSTATE;
extern uint16_t _TRACE_DISPLAYSURFACE_CREATE_FROM_DSTATE;
extern uint16_t _TRACE_DISPLAYSURFACE_CREATE_PIXMAN_DSTATE;
extern uint16_t _TRACE_DISPLAYSURFACE_FREE_DSTATE;
extern uint16_t _TRACE_DISPLAYCHANGELISTENER_REGISTER_DSTATE;
extern uint16_t _TRACE_DISPLAYCHANGELISTENER_UNREGISTER_DSTATE;
extern uint16_t _TRACE_PPM_SAVE_DSTATE;
extern uint16_t _TRACE_GD_SWITCH_DSTATE;
extern uint16_t _TRACE_GD_UPDATE_DSTATE;
extern uint16_t _TRACE_GD_KEY_EVENT_DSTATE;
extern uint16_t _TRACE_GD_GRAB_DSTATE;
extern uint16_t _TRACE_GD_UNGRAB_DSTATE;
extern uint16_t _TRACE_GD_KEYMAP_WINDOWING_DSTATE;
extern uint16_t _TRACE_GD_GL_AREA_CREATE_CONTEXT_DSTATE;
extern uint16_t _TRACE_GD_GL_AREA_DESTROY_CONTEXT_DSTATE;
extern uint16_t _TRACE_GD_MOTION_EVENT_DSTATE;
extern uint16_t _TRACE_VNC_KEY_GUEST_LEDS_DSTATE;
extern uint16_t _TRACE_VNC_KEY_MAP_INIT_DSTATE;
extern uint16_t _TRACE_VNC_KEY_EVENT_EXT_DSTATE;
extern uint16_t _TRACE_VNC_KEY_EVENT_MAP_DSTATE;
extern uint16_t _TRACE_VNC_KEY_SYNC_NUMLOCK_DSTATE;
extern uint16_t _TRACE_VNC_KEY_SYNC_CAPSLOCK_DSTATE;
extern uint16_t _TRACE_VNC_MSG_SERVER_AUDIO_BEGIN_DSTATE;
extern uint16_t _TRACE_VNC_MSG_SERVER_AUDIO_END_DSTATE;
extern uint16_t _TRACE_VNC_MSG_SERVER_AUDIO_DATA_DSTATE;
extern uint16_t _TRACE_VNC_MSG_SERVER_DESKTOP_RESIZE_DSTATE;
extern uint16_t _TRACE_VNC_MSG_SERVER_EXT_DESKTOP_RESIZE_DSTATE;
extern uint16_t _TRACE_VNC_MSG_CLIENT_AUDIO_ENABLE_DSTATE;
extern uint16_t _TRACE_VNC_MSG_CLIENT_AUDIO_DISABLE_DSTATE;
extern uint16_t _TRACE_VNC_MSG_CLIENT_AUDIO_FORMAT_DSTATE;
extern uint16_t _TRACE_VNC_MSG_CLIENT_CUT_TEXT_DSTATE;
extern uint16_t _TRACE_VNC_MSG_CLIENT_CUT_TEXT_EXT_DSTATE;
extern uint16_t _TRACE_VNC_MSG_CLIENT_EXT_KEY_EVENT_DSTATE;
extern uint16_t _TRACE_VNC_MSG_CLIENT_FRAMEBUFFER_UPDATE_REQUEST_DSTATE;
extern uint16_t _TRACE_VNC_MSG_CLIENT_KEY_EVENT_DSTATE;
extern uint16_t _TRACE_VNC_MSG_CLIENT_POINTER_EVENT_DSTATE;
extern uint16_t _TRACE_VNC_MSG_CLIENT_SET_DESKTOP_SIZE_DSTATE;
extern uint16_t _TRACE_VNC_MSG_CLIENT_SET_ENCODINGS_DSTATE;
extern uint16_t _TRACE_VNC_MSG_CLIENT_SET_PIXEL_FORMAT_DSTATE;
extern uint16_t _TRACE_VNC_MSG_CLIENT_SET_PIXEL_FORMAT_RGB_DSTATE;
extern uint16_t _TRACE_VNC_MSG_CLIENT_XVP_DSTATE;
extern uint16_t _TRACE_VNC_CLIENT_EOF_DSTATE;
extern uint16_t _TRACE_VNC_CLIENT_IO_ERROR_DSTATE;
extern uint16_t _TRACE_VNC_CLIENT_CONNECT_DSTATE;
extern uint16_t _TRACE_VNC_CLIENT_DISCONNECT_START_DSTATE;
extern uint16_t _TRACE_VNC_CLIENT_DISCONNECT_FINISH_DSTATE;
extern uint16_t _TRACE_VNC_CLIENT_IO_WRAP_DSTATE;
extern uint16_t _TRACE_VNC_CLIENT_PIXEL_FORMAT_DSTATE;
extern uint16_t _TRACE_VNC_CLIENT_PIXEL_FORMAT_RED_DSTATE;
extern uint16_t _TRACE_VNC_CLIENT_PIXEL_FORMAT_GREEN_DSTATE;
extern uint16_t _TRACE_VNC_CLIENT_PIXEL_FORMAT_BLUE_DSTATE;
extern uint16_t _TRACE_VNC_CLIENT_THROTTLE_THRESHOLD_DSTATE;
extern uint16_t _TRACE_VNC_CLIENT_THROTTLE_INCREMENTAL_DSTATE;
extern uint16_t _TRACE_VNC_CLIENT_THROTTLE_FORCED_DSTATE;
extern uint16_t _TRACE_VNC_CLIENT_THROTTLE_AUDIO_DSTATE;
extern uint16_t _TRACE_VNC_CLIENT_UNTHROTTLE_FORCED_DSTATE;
extern uint16_t _TRACE_VNC_CLIENT_UNTHROTTLE_INCREMENTAL_DSTATE;
extern uint16_t _TRACE_VNC_CLIENT_OUTPUT_LIMIT_DSTATE;
extern uint16_t _TRACE_VNC_SERVER_DPY_PAGEFLIP_DSTATE;
extern uint16_t _TRACE_VNC_SERVER_DPY_RECREATE_DSTATE;
extern uint16_t _TRACE_VNC_JOB_ADD_RECT_DSTATE;
extern uint16_t _TRACE_VNC_JOB_DISCARD_RECT_DSTATE;
extern uint16_t _TRACE_VNC_JOB_CLAMP_RECT_DSTATE;
extern uint16_t _TRACE_VNC_JOB_CLAMPED_RECT_DSTATE;
extern uint16_t _TRACE_VNC_JOB_NRECTS_DSTATE;
extern uint16_t _TRACE_VNC_AUTH_INIT_DSTATE;
extern uint16_t _TRACE_VNC_AUTH_START_DSTATE;
extern uint16_t _TRACE_VNC_AUTH_PASS_DSTATE;
extern uint16_t _TRACE_VNC_AUTH_FAIL_DSTATE;
extern uint16_t _TRACE_VNC_AUTH_REJECT_DSTATE;
extern uint16_t _TRACE_VNC_AUTH_VENCRYPT_VERSION_DSTATE;
extern uint16_t _TRACE_VNC_AUTH_VENCRYPT_SUBAUTH_DSTATE;
extern uint16_t _TRACE_VNC_AUTH_SASL_MECH_LIST_DSTATE;
extern uint16_t _TRACE_VNC_AUTH_SASL_MECH_CHOOSE_DSTATE;
extern uint16_t _TRACE_VNC_AUTH_SASL_START_DSTATE;
extern uint16_t _TRACE_VNC_AUTH_SASL_STEP_DSTATE;
extern uint16_t _TRACE_VNC_AUTH_SASL_SSF_DSTATE;
extern uint16_t _TRACE_VNC_AUTH_SASL_USERNAME_DSTATE;
extern uint16_t _TRACE_VNC_AUTH_SASL_ACL_DSTATE;
extern uint16_t _TRACE_INPUT_EVENT_KEY_NUMBER_DSTATE;
extern uint16_t _TRACE_INPUT_EVENT_KEY_QCODE_DSTATE;
extern uint16_t _TRACE_INPUT_EVENT_BTN_DSTATE;
extern uint16_t _TRACE_INPUT_EVENT_REL_DSTATE;
extern uint16_t _TRACE_INPUT_EVENT_ABS_DSTATE;
extern uint16_t _TRACE_INPUT_EVENT_MTT_DSTATE;
extern uint16_t _TRACE_INPUT_EVENT_SYNC_DSTATE;
extern uint16_t _TRACE_SDL2_PROCESS_KEY_DSTATE;
extern uint16_t _TRACE_QEMU_SPICE_ADD_MEMSLOT_DSTATE;
extern uint16_t _TRACE_QEMU_SPICE_DEL_MEMSLOT_DSTATE;
extern uint16_t _TRACE_QEMU_SPICE_CREATE_PRIMARY_SURFACE_DSTATE;
extern uint16_t _TRACE_QEMU_SPICE_DESTROY_PRIMARY_SURFACE_DSTATE;
extern uint16_t _TRACE_QEMU_SPICE_WAKEUP_DSTATE;
extern uint16_t _TRACE_QEMU_SPICE_CREATE_UPDATE_DSTATE;
extern uint16_t _TRACE_QEMU_SPICE_DISPLAY_UPDATE_DSTATE;
extern uint16_t _TRACE_QEMU_SPICE_DISPLAY_SURFACE_DSTATE;
extern uint16_t _TRACE_QEMU_SPICE_DISPLAY_REFRESH_DSTATE;
extern uint16_t _TRACE_QEMU_SPICE_UI_INFO_DSTATE;
extern uint16_t _TRACE_QEMU_SPICE_GL_SURFACE_DSTATE;
extern uint16_t _TRACE_QEMU_SPICE_GL_SCANOUT_DISABLE_DSTATE;
extern uint16_t _TRACE_QEMU_SPICE_GL_SCANOUT_TEXTURE_DSTATE;
extern uint16_t _TRACE_QEMU_SPICE_GL_CURSOR_DSTATE;
extern uint16_t _TRACE_QEMU_SPICE_GL_FORWARD_DMABUF_DSTATE;
extern uint16_t _TRACE_QEMU_SPICE_GL_RENDER_DMABUF_DSTATE;
extern uint16_t _TRACE_QEMU_SPICE_GL_UPDATE_DSTATE;
extern uint16_t _TRACE_KEYMAP_PARSE_DSTATE;
extern uint16_t _TRACE_KEYMAP_ADD_DSTATE;
extern uint16_t _TRACE_KEYMAP_UNMAPPED_DSTATE;
extern uint16_t _TRACE_XKEYMAP_EXTENSION_DSTATE;
extern uint16_t _TRACE_XKEYMAP_VENDOR_DSTATE;
extern uint16_t _TRACE_XKEYMAP_KEYCODES_DSTATE;
extern uint16_t _TRACE_XKEYMAP_KEYMAP_DSTATE;
extern uint16_t _TRACE_CLIPBOARD_CHECK_SERIAL_DSTATE;
extern uint16_t _TRACE_CLIPBOARD_RESET_SERIAL_DSTATE;
extern uint16_t _TRACE_VDAGENT_FE_OPEN_DSTATE;
extern uint16_t _TRACE_VDAGENT_CLOSE_DSTATE;
extern uint16_t _TRACE_VDAGENT_DISCONNECT_DSTATE;
extern uint16_t _TRACE_VDAGENT_SEND_DSTATE;
extern uint16_t _TRACE_VDAGENT_SEND_EMPTY_CLIPBOARD_DSTATE;
extern uint16_t _TRACE_VDAGENT_RECV_CHUNK_DSTATE;
extern uint16_t _TRACE_VDAGENT_RECV_MSG_DSTATE;
extern uint16_t _TRACE_VDAGENT_PEER_CAP_DSTATE;
extern uint16_t _TRACE_VDAGENT_CB_GRAB_SELECTION_DSTATE;
extern uint16_t _TRACE_VDAGENT_CB_GRAB_DISCARD_DSTATE;
extern uint16_t _TRACE_VDAGENT_CB_GRAB_TYPE_DSTATE;
extern uint16_t _TRACE_VDAGENT_CB_SERIAL_DISCARD_DSTATE;
extern uint16_t _TRACE_DBUS_REGISTERED_LISTENER_DSTATE;
extern uint16_t _TRACE_DBUS_LISTENER_VANISHED_DSTATE;
extern uint16_t _TRACE_DBUS_KBD_PRESS_DSTATE;
extern uint16_t _TRACE_DBUS_KBD_RELEASE_DSTATE;
extern uint16_t _TRACE_DBUS_MOUSE_PRESS_DSTATE;
extern uint16_t _TRACE_DBUS_MOUSE_RELEASE_DSTATE;
extern uint16_t _TRACE_DBUS_MOUSE_SET_POS_DSTATE;
extern uint16_t _TRACE_DBUS_MOUSE_REL_MOTION_DSTATE;
extern uint16_t _TRACE_DBUS_TOUCH_SEND_EVENT_DSTATE;
extern uint16_t _TRACE_DBUS_UPDATE_DSTATE;
extern uint16_t _TRACE_DBUS_UPDATE_GL_DSTATE;
extern uint16_t _TRACE_DBUS_CLIPBOARD_GRAB_DSTATE;
extern uint16_t _TRACE_DBUS_CLIPBOARD_GRAB_FAILED_DSTATE;
extern uint16_t _TRACE_DBUS_CLIPBOARD_QEMU_REQUEST_DSTATE;
extern uint16_t _TRACE_DBUS_CLIPBOARD_REGISTER_DSTATE;
extern uint16_t _TRACE_DBUS_CLIPBOARD_UNREGISTER_DSTATE;
extern uint16_t _TRACE_DBUS_SCANOUT_TEXTURE_DSTATE;
extern uint16_t _TRACE_DBUS_GL_GFX_SWITCH_DSTATE;
extern uint16_t _TRACE_DBUS_FILTER_DSTATE;
extern uint16_t _TRACE_DBUS_CAN_SHARE_MAP_DSTATE;
extern uint16_t _TRACE_EGL_INIT_D3D11_DEVICE_DSTATE;
#define TRACE_CONSOLE_GFX_NEW_ENABLED 1
#define TRACE_CONSOLE_GFX_REUSE_ENABLED 1
#define TRACE_CONSOLE_GFX_CLOSE_ENABLED 1
#define TRACE_CONSOLE_PUTCHAR_CSI_ENABLED 1
#define TRACE_CONSOLE_PUTCHAR_UNHANDLED_ENABLED 1
#define TRACE_CONSOLE_TXT_NEW_ENABLED 1
#define TRACE_CONSOLE_SELECT_ENABLED 1
#define TRACE_CONSOLE_REFRESH_ENABLED 1
#define TRACE_DISPLAYSURFACE_CREATE_ENABLED 1
#define TRACE_DISPLAYSURFACE_CREATE_FROM_ENABLED 1
#define TRACE_DISPLAYSURFACE_CREATE_PIXMAN_ENABLED 1
#define TRACE_DISPLAYSURFACE_FREE_ENABLED 1
#define TRACE_DISPLAYCHANGELISTENER_REGISTER_ENABLED 1
#define TRACE_DISPLAYCHANGELISTENER_UNREGISTER_ENABLED 1
#define TRACE_PPM_SAVE_ENABLED 1
#define TRACE_GD_SWITCH_ENABLED 1
#define TRACE_GD_UPDATE_ENABLED 1
#define TRACE_GD_KEY_EVENT_ENABLED 1
#define TRACE_GD_GRAB_ENABLED 1
#define TRACE_GD_UNGRAB_ENABLED 1
#define TRACE_GD_KEYMAP_WINDOWING_ENABLED 1
#define TRACE_GD_GL_AREA_CREATE_CONTEXT_ENABLED 1
#define TRACE_GD_GL_AREA_DESTROY_CONTEXT_ENABLED 1
#define TRACE_GD_MOTION_EVENT_ENABLED 1
#define TRACE_VNC_KEY_GUEST_LEDS_ENABLED 1
#define TRACE_VNC_KEY_MAP_INIT_ENABLED 1
#define TRACE_VNC_KEY_EVENT_EXT_ENABLED 1
#define TRACE_VNC_KEY_EVENT_MAP_ENABLED 1
#define TRACE_VNC_KEY_SYNC_NUMLOCK_ENABLED 1
#define TRACE_VNC_KEY_SYNC_CAPSLOCK_ENABLED 1
#define TRACE_VNC_MSG_SERVER_AUDIO_BEGIN_ENABLED 1
#define TRACE_VNC_MSG_SERVER_AUDIO_END_ENABLED 1
#define TRACE_VNC_MSG_SERVER_AUDIO_DATA_ENABLED 1
#define TRACE_VNC_MSG_SERVER_DESKTOP_RESIZE_ENABLED 1
#define TRACE_VNC_MSG_SERVER_EXT_DESKTOP_RESIZE_ENABLED 1
#define TRACE_VNC_MSG_CLIENT_AUDIO_ENABLE_ENABLED 1
#define TRACE_VNC_MSG_CLIENT_AUDIO_DISABLE_ENABLED 1
#define TRACE_VNC_MSG_CLIENT_AUDIO_FORMAT_ENABLED 1
#define TRACE_VNC_MSG_CLIENT_CUT_TEXT_ENABLED 1
#define TRACE_VNC_MSG_CLIENT_CUT_TEXT_EXT_ENABLED 1
#define TRACE_VNC_MSG_CLIENT_EXT_KEY_EVENT_ENABLED 1
#define TRACE_VNC_MSG_CLIENT_FRAMEBUFFER_UPDATE_REQUEST_ENABLED 1
#define TRACE_VNC_MSG_CLIENT_KEY_EVENT_ENABLED 1
#define TRACE_VNC_MSG_CLIENT_POINTER_EVENT_ENABLED 1
#define TRACE_VNC_MSG_CLIENT_SET_DESKTOP_SIZE_ENABLED 1
#define TRACE_VNC_MSG_CLIENT_SET_ENCODINGS_ENABLED 1
#define TRACE_VNC_MSG_CLIENT_SET_PIXEL_FORMAT_ENABLED 1
#define TRACE_VNC_MSG_CLIENT_SET_PIXEL_FORMAT_RGB_ENABLED 1
#define TRACE_VNC_MSG_CLIENT_XVP_ENABLED 1
#define TRACE_VNC_CLIENT_EOF_ENABLED 1
#define TRACE_VNC_CLIENT_IO_ERROR_ENABLED 1
#define TRACE_VNC_CLIENT_CONNECT_ENABLED 1
#define TRACE_VNC_CLIENT_DISCONNECT_START_ENABLED 1
#define TRACE_VNC_CLIENT_DISCONNECT_FINISH_ENABLED 1
#define TRACE_VNC_CLIENT_IO_WRAP_ENABLED 1
#define TRACE_VNC_CLIENT_PIXEL_FORMAT_ENABLED 1
#define TRACE_VNC_CLIENT_PIXEL_FORMAT_RED_ENABLED 1
#define TRACE_VNC_CLIENT_PIXEL_FORMAT_GREEN_ENABLED 1
#define TRACE_VNC_CLIENT_PIXEL_FORMAT_BLUE_ENABLED 1
#define TRACE_VNC_CLIENT_THROTTLE_THRESHOLD_ENABLED 1
#define TRACE_VNC_CLIENT_THROTTLE_INCREMENTAL_ENABLED 1
#define TRACE_VNC_CLIENT_THROTTLE_FORCED_ENABLED 1
#define TRACE_VNC_CLIENT_THROTTLE_AUDIO_ENABLED 1
#define TRACE_VNC_CLIENT_UNTHROTTLE_FORCED_ENABLED 1
#define TRACE_VNC_CLIENT_UNTHROTTLE_INCREMENTAL_ENABLED 1
#define TRACE_VNC_CLIENT_OUTPUT_LIMIT_ENABLED 1
#define TRACE_VNC_SERVER_DPY_PAGEFLIP_ENABLED 1
#define TRACE_VNC_SERVER_DPY_RECREATE_ENABLED 1
#define TRACE_VNC_JOB_ADD_RECT_ENABLED 1
#define TRACE_VNC_JOB_DISCARD_RECT_ENABLED 1
#define TRACE_VNC_JOB_CLAMP_RECT_ENABLED 1
#define TRACE_VNC_JOB_CLAMPED_RECT_ENABLED 1
#define TRACE_VNC_JOB_NRECTS_ENABLED 1
#define TRACE_VNC_AUTH_INIT_ENABLED 1
#define TRACE_VNC_AUTH_START_ENABLED 1
#define TRACE_VNC_AUTH_PASS_ENABLED 1
#define TRACE_VNC_AUTH_FAIL_ENABLED 1
#define TRACE_VNC_AUTH_REJECT_ENABLED 1
#define TRACE_VNC_AUTH_VENCRYPT_VERSION_ENABLED 1
#define TRACE_VNC_AUTH_VENCRYPT_SUBAUTH_ENABLED 1
#define TRACE_VNC_AUTH_SASL_MECH_LIST_ENABLED 1
#define TRACE_VNC_AUTH_SASL_MECH_CHOOSE_ENABLED 1
#define TRACE_VNC_AUTH_SASL_START_ENABLED 1
#define TRACE_VNC_AUTH_SASL_STEP_ENABLED 1
#define TRACE_VNC_AUTH_SASL_SSF_ENABLED 1
#define TRACE_VNC_AUTH_SASL_USERNAME_ENABLED 1
#define TRACE_VNC_AUTH_SASL_ACL_ENABLED 1
#define TRACE_INPUT_EVENT_KEY_NUMBER_ENABLED 1
#define TRACE_INPUT_EVENT_KEY_QCODE_ENABLED 1
#define TRACE_INPUT_EVENT_BTN_ENABLED 1
#define TRACE_INPUT_EVENT_REL_ENABLED 1
#define TRACE_INPUT_EVENT_ABS_ENABLED 1
#define TRACE_INPUT_EVENT_MTT_ENABLED 1
#define TRACE_INPUT_EVENT_SYNC_ENABLED 1
#define TRACE_SDL2_PROCESS_KEY_ENABLED 1
#define TRACE_QEMU_SPICE_ADD_MEMSLOT_ENABLED 1
#define TRACE_QEMU_SPICE_DEL_MEMSLOT_ENABLED 1
#define TRACE_QEMU_SPICE_CREATE_PRIMARY_SURFACE_ENABLED 1
#define TRACE_QEMU_SPICE_DESTROY_PRIMARY_SURFACE_ENABLED 1
#define TRACE_QEMU_SPICE_WAKEUP_ENABLED 1
#define TRACE_QEMU_SPICE_CREATE_UPDATE_ENABLED 1
#define TRACE_QEMU_SPICE_DISPLAY_UPDATE_ENABLED 1
#define TRACE_QEMU_SPICE_DISPLAY_SURFACE_ENABLED 1
#define TRACE_QEMU_SPICE_DISPLAY_REFRESH_ENABLED 1
#define TRACE_QEMU_SPICE_UI_INFO_ENABLED 1
#define TRACE_QEMU_SPICE_GL_SURFACE_ENABLED 1
#define TRACE_QEMU_SPICE_GL_SCANOUT_DISABLE_ENABLED 1
#define TRACE_QEMU_SPICE_GL_SCANOUT_TEXTURE_ENABLED 1
#define TRACE_QEMU_SPICE_GL_CURSOR_ENABLED 1
#define TRACE_QEMU_SPICE_GL_FORWARD_DMABUF_ENABLED 1
#define TRACE_QEMU_SPICE_GL_RENDER_DMABUF_ENABLED 1
#define TRACE_QEMU_SPICE_GL_UPDATE_ENABLED 1
#define TRACE_KEYMAP_PARSE_ENABLED 1
#define TRACE_KEYMAP_ADD_ENABLED 1
#define TRACE_KEYMAP_UNMAPPED_ENABLED 1
#define TRACE_XKEYMAP_EXTENSION_ENABLED 1
#define TRACE_XKEYMAP_VENDOR_ENABLED 1
#define TRACE_XKEYMAP_KEYCODES_ENABLED 1
#define TRACE_XKEYMAP_KEYMAP_ENABLED 1
#define TRACE_CLIPBOARD_CHECK_SERIAL_ENABLED 1
#define TRACE_CLIPBOARD_RESET_SERIAL_ENABLED 1
#define TRACE_VDAGENT_FE_OPEN_ENABLED 1
#define TRACE_VDAGENT_CLOSE_ENABLED 1
#define TRACE_VDAGENT_DISCONNECT_ENABLED 1
#define TRACE_VDAGENT_SEND_ENABLED 1
#define TRACE_VDAGENT_SEND_EMPTY_CLIPBOARD_ENABLED 1
#define TRACE_VDAGENT_RECV_CHUNK_ENABLED 1
#define TRACE_VDAGENT_RECV_MSG_ENABLED 1
#define TRACE_VDAGENT_PEER_CAP_ENABLED 1
#define TRACE_VDAGENT_CB_GRAB_SELECTION_ENABLED 1
#define TRACE_VDAGENT_CB_GRAB_DISCARD_ENABLED 1
#define TRACE_VDAGENT_CB_GRAB_TYPE_ENABLED 1
#define TRACE_VDAGENT_CB_SERIAL_DISCARD_ENABLED 1
#define TRACE_DBUS_REGISTERED_LISTENER_ENABLED 1
#define TRACE_DBUS_LISTENER_VANISHED_ENABLED 1
#define TRACE_DBUS_KBD_PRESS_ENABLED 1
#define TRACE_DBUS_KBD_RELEASE_ENABLED 1
#define TRACE_DBUS_MOUSE_PRESS_ENABLED 1
#define TRACE_DBUS_MOUSE_RELEASE_ENABLED 1
#define TRACE_DBUS_MOUSE_SET_POS_ENABLED 1
#define TRACE_DBUS_MOUSE_REL_MOTION_ENABLED 1
#define TRACE_DBUS_TOUCH_SEND_EVENT_ENABLED 1
#define TRACE_DBUS_UPDATE_ENABLED 1
#define TRACE_DBUS_UPDATE_GL_ENABLED 1
#define TRACE_DBUS_CLIPBOARD_GRAB_ENABLED 1
#define TRACE_DBUS_CLIPBOARD_GRAB_FAILED_ENABLED 1
#define TRACE_DBUS_CLIPBOARD_QEMU_REQUEST_ENABLED 1
#define TRACE_DBUS_CLIPBOARD_REGISTER_ENABLED 1
#define TRACE_DBUS_CLIPBOARD_UNREGISTER_ENABLED 1
#define TRACE_DBUS_SCANOUT_TEXTURE_ENABLED 1
#define TRACE_DBUS_GL_GFX_SWITCH_ENABLED 1
#define TRACE_DBUS_FILTER_ENABLED 1
#define TRACE_DBUS_CAN_SHARE_MAP_ENABLED 1
#define TRACE_EGL_INIT_D3D11_DEVICE_ENABLED 1
#include "qemu/log-for-trace.h"


#define TRACE_CONSOLE_GFX_NEW_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_CONSOLE_GFX_NEW) || \
    false)

static inline void trace_console_gfx_new(void)
{
    if (trace_event_get_state(TRACE_CONSOLE_GFX_NEW)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 4 "../xemu/ui/trace-events"
            qemu_log("console_gfx_new " "" "\n");
#line 485 "trace/trace-ui.h"
        }
    }
}

#define TRACE_CONSOLE_GFX_REUSE_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_CONSOLE_GFX_REUSE) || \
    false)

static inline void trace_console_gfx_reuse(int index)
{
    if (trace_event_get_state(TRACE_CONSOLE_GFX_REUSE)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 5 "../xemu/ui/trace-events"
            qemu_log("console_gfx_reuse " "%d" "\n", index);
#line 500 "trace/trace-ui.h"
        }
    }
}

#define TRACE_CONSOLE_GFX_CLOSE_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_CONSOLE_GFX_CLOSE) || \
    false)

static inline void trace_console_gfx_close(int index)
{
    if (trace_event_get_state(TRACE_CONSOLE_GFX_CLOSE)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 6 "../xemu/ui/trace-events"
            qemu_log("console_gfx_close " "%d" "\n", index);
#line 515 "trace/trace-ui.h"
        }
    }
}

#define TRACE_CONSOLE_PUTCHAR_CSI_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_CONSOLE_PUTCHAR_CSI) || \
    false)

static inline void trace_console_putchar_csi(int esc_param0, int esc_param1, int ch, int nb_esc_params)
{
    if (trace_event_get_state(TRACE_CONSOLE_PUTCHAR_CSI)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 7 "../xemu/ui/trace-events"
            qemu_log("console_putchar_csi " "escape sequence CSI%d;%d%c, %d parameters" "\n", esc_param0, esc_param1, ch, nb_esc_params);
#line 530 "trace/trace-ui.h"
        }
    }
}

#define TRACE_CONSOLE_PUTCHAR_UNHANDLED_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_CONSOLE_PUTCHAR_UNHANDLED) || \
    false)

static inline void trace_console_putchar_unhandled(int ch)
{
    if (trace_event_get_state(TRACE_CONSOLE_PUTCHAR_UNHANDLED)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 8 "../xemu/ui/trace-events"
            qemu_log("console_putchar_unhandled " "unhandled escape character '%c'" "\n", ch);
#line 545 "trace/trace-ui.h"
        }
    }
}

#define TRACE_CONSOLE_TXT_NEW_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_CONSOLE_TXT_NEW) || \
    false)

static inline void trace_console_txt_new(int w, int h)
{
    if (trace_event_get_state(TRACE_CONSOLE_TXT_NEW)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 9 "../xemu/ui/trace-events"
            qemu_log("console_txt_new " "%dx%d" "\n", w, h);
#line 560 "trace/trace-ui.h"
        }
    }
}

#define TRACE_CONSOLE_SELECT_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_CONSOLE_SELECT) || \
    false)

static inline void trace_console_select(int nr)
{
    if (trace_event_get_state(TRACE_CONSOLE_SELECT)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 10 "../xemu/ui/trace-events"
            qemu_log("console_select " "%d" "\n", nr);
#line 575 "trace/trace-ui.h"
        }
    }
}

#define TRACE_CONSOLE_REFRESH_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_CONSOLE_REFRESH) || \
    false)

static inline void trace_console_refresh(int interval)
{
    if (trace_event_get_state(TRACE_CONSOLE_REFRESH)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 11 "../xemu/ui/trace-events"
            qemu_log("console_refresh " "interval %d ms" "\n", interval);
#line 590 "trace/trace-ui.h"
        }
    }
}

#define TRACE_DISPLAYSURFACE_CREATE_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_DISPLAYSURFACE_CREATE) || \
    false)

static inline void trace_displaysurface_create(int w, int h)
{
    if (trace_event_get_state(TRACE_DISPLAYSURFACE_CREATE)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 12 "../xemu/ui/trace-events"
            qemu_log("displaysurface_create " "%dx%d" "\n", w, h);
#line 605 "trace/trace-ui.h"
        }
    }
}

#define TRACE_DISPLAYSURFACE_CREATE_FROM_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_DISPLAYSURFACE_CREATE_FROM) || \
    false)

static inline void trace_displaysurface_create_from(void *display_surface, int w, int h, uint32_t format)
{
    if (trace_event_get_state(TRACE_DISPLAYSURFACE_CREATE_FROM)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 13 "../xemu/ui/trace-events"
            qemu_log("displaysurface_create_from " "surface=%p, %dx%d, format 0x%x" "\n", display_surface, w, h, format);
#line 620 "trace/trace-ui.h"
        }
    }
}

#define TRACE_DISPLAYSURFACE_CREATE_PIXMAN_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_DISPLAYSURFACE_CREATE_PIXMAN) || \
    false)

static inline void trace_displaysurface_create_pixman(void *display_surface)
{
    if (trace_event_get_state(TRACE_DISPLAYSURFACE_CREATE_PIXMAN)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 14 "../xemu/ui/trace-events"
            qemu_log("displaysurface_create_pixman " "surface=%p" "\n", display_surface);
#line 635 "trace/trace-ui.h"
        }
    }
}

#define TRACE_DISPLAYSURFACE_FREE_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_DISPLAYSURFACE_FREE) || \
    false)

static inline void trace_displaysurface_free(void *display_surface)
{
    if (trace_event_get_state(TRACE_DISPLAYSURFACE_FREE)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 15 "../xemu/ui/trace-events"
            qemu_log("displaysurface_free " "surface=%p" "\n", display_surface);
#line 650 "trace/trace-ui.h"
        }
    }
}

#define TRACE_DISPLAYCHANGELISTENER_REGISTER_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_DISPLAYCHANGELISTENER_REGISTER) || \
    false)

static inline void trace_displaychangelistener_register(void *dcl, const char *name)
{
    if (trace_event_get_state(TRACE_DISPLAYCHANGELISTENER_REGISTER)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 16 "../xemu/ui/trace-events"
            qemu_log("displaychangelistener_register " "%p [ %s ]" "\n", dcl, name);
#line 665 "trace/trace-ui.h"
        }
    }
}

#define TRACE_DISPLAYCHANGELISTENER_UNREGISTER_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_DISPLAYCHANGELISTENER_UNREGISTER) || \
    false)

static inline void trace_displaychangelistener_unregister(void *dcl, const char *name)
{
    if (trace_event_get_state(TRACE_DISPLAYCHANGELISTENER_UNREGISTER)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 17 "../xemu/ui/trace-events"
            qemu_log("displaychangelistener_unregister " "%p [ %s ]" "\n", dcl, name);
#line 680 "trace/trace-ui.h"
        }
    }
}

#define TRACE_PPM_SAVE_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_PPM_SAVE) || \
    false)

static inline void trace_ppm_save(int fd, void *image)
{
    if (trace_event_get_state(TRACE_PPM_SAVE)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 18 "../xemu/ui/trace-events"
            qemu_log("ppm_save " "fd=%d image=%p" "\n", fd, image);
#line 695 "trace/trace-ui.h"
        }
    }
}

#define TRACE_GD_SWITCH_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_GD_SWITCH) || \
    false)

static inline void trace_gd_switch(const char *tab, int width, int height)
{
    if (trace_event_get_state(TRACE_GD_SWITCH)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 23 "../xemu/ui/trace-events"
            qemu_log("gd_switch " "tab=%s, width=%d, height=%d" "\n", tab, width, height);
#line 710 "trace/trace-ui.h"
        }
    }
}

#define TRACE_GD_UPDATE_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_GD_UPDATE) || \
    false)

static inline void trace_gd_update(const char *tab, int x, int y, int w, int h)
{
    if (trace_event_get_state(TRACE_GD_UPDATE)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 24 "../xemu/ui/trace-events"
            qemu_log("gd_update " "tab=%s, x=%d, y=%d, w=%d, h=%d" "\n", tab, x, y, w, h);
#line 725 "trace/trace-ui.h"
        }
    }
}

#define TRACE_GD_KEY_EVENT_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_GD_KEY_EVENT) || \
    false)

static inline void trace_gd_key_event(const char *tab, int gdk_keycode, int qkeycode, const char *action)
{
    if (trace_event_get_state(TRACE_GD_KEY_EVENT)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 25 "../xemu/ui/trace-events"
            qemu_log("gd_key_event " "tab=%s, translated GDK keycode %d to QKeyCode %d (%s)" "\n", tab, gdk_keycode, qkeycode, action);
#line 740 "trace/trace-ui.h"
        }
    }
}

#define TRACE_GD_GRAB_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_GD_GRAB) || \
    false)

static inline void trace_gd_grab(const char *tab, const char *device, const char *reason)
{
    if (trace_event_get_state(TRACE_GD_GRAB)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 26 "../xemu/ui/trace-events"
            qemu_log("gd_grab " "tab=%s, dev=%s, reason=%s" "\n", tab, device, reason);
#line 755 "trace/trace-ui.h"
        }
    }
}

#define TRACE_GD_UNGRAB_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_GD_UNGRAB) || \
    false)

static inline void trace_gd_ungrab(const char *tab, const char *device)
{
    if (trace_event_get_state(TRACE_GD_UNGRAB)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 27 "../xemu/ui/trace-events"
            qemu_log("gd_ungrab " "tab=%s, dev=%s" "\n", tab, device);
#line 770 "trace/trace-ui.h"
        }
    }
}

#define TRACE_GD_KEYMAP_WINDOWING_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_GD_KEYMAP_WINDOWING) || \
    false)

static inline void trace_gd_keymap_windowing(const char *name)
{
    if (trace_event_get_state(TRACE_GD_KEYMAP_WINDOWING)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 28 "../xemu/ui/trace-events"
            qemu_log("gd_keymap_windowing " "backend=%s" "\n", name);
#line 785 "trace/trace-ui.h"
        }
    }
}

#define TRACE_GD_GL_AREA_CREATE_CONTEXT_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_GD_GL_AREA_CREATE_CONTEXT) || \
    false)

static inline void trace_gd_gl_area_create_context(void *ctx, int major, int minor)
{
    if (trace_event_get_state(TRACE_GD_GL_AREA_CREATE_CONTEXT)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 29 "../xemu/ui/trace-events"
            qemu_log("gd_gl_area_create_context " "ctx=%p, major=%d, minor=%d" "\n", ctx, major, minor);
#line 800 "trace/trace-ui.h"
        }
    }
}

#define TRACE_GD_GL_AREA_DESTROY_CONTEXT_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_GD_GL_AREA_DESTROY_CONTEXT) || \
    false)

static inline void trace_gd_gl_area_destroy_context(void *ctx, void *current_ctx)
{
    if (trace_event_get_state(TRACE_GD_GL_AREA_DESTROY_CONTEXT)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 30 "../xemu/ui/trace-events"
            qemu_log("gd_gl_area_destroy_context " "ctx=%p, current_ctx=%p" "\n", ctx, current_ctx);
#line 815 "trace/trace-ui.h"
        }
    }
}

#define TRACE_GD_MOTION_EVENT_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_GD_MOTION_EVENT) || \
    false)

static inline void trace_gd_motion_event(int ww, int wh, int ws, int x, int y)
{
    if (trace_event_get_state(TRACE_GD_MOTION_EVENT)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 31 "../xemu/ui/trace-events"
            qemu_log("gd_motion_event " "ww=%d, wh=%d, ws=%d, x=%d, y=%d" "\n", ww, wh, ws, x, y);
#line 830 "trace/trace-ui.h"
        }
    }
}

#define TRACE_VNC_KEY_GUEST_LEDS_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_VNC_KEY_GUEST_LEDS) || \
    false)

static inline void trace_vnc_key_guest_leds(bool caps, bool num, bool scroll)
{
    if (trace_event_get_state(TRACE_VNC_KEY_GUEST_LEDS)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 37 "../xemu/ui/trace-events"
            qemu_log("vnc_key_guest_leds " "caps %d, num %d, scroll %d" "\n", caps, num, scroll);
#line 845 "trace/trace-ui.h"
        }
    }
}

#define TRACE_VNC_KEY_MAP_INIT_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_VNC_KEY_MAP_INIT) || \
    false)

static inline void trace_vnc_key_map_init(const char *layout)
{
    if (trace_event_get_state(TRACE_VNC_KEY_MAP_INIT)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 38 "../xemu/ui/trace-events"
            qemu_log("vnc_key_map_init " "%s" "\n", layout);
#line 860 "trace/trace-ui.h"
        }
    }
}

#define TRACE_VNC_KEY_EVENT_EXT_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_VNC_KEY_EVENT_EXT) || \
    false)

static inline void trace_vnc_key_event_ext(bool down, int sym, int keycode, const char *name)
{
    if (trace_event_get_state(TRACE_VNC_KEY_EVENT_EXT)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 39 "../xemu/ui/trace-events"
            qemu_log("vnc_key_event_ext " "down %d, sym 0x%x, keycode 0x%x [%s]" "\n", down, sym, keycode, name);
#line 875 "trace/trace-ui.h"
        }
    }
}

#define TRACE_VNC_KEY_EVENT_MAP_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_VNC_KEY_EVENT_MAP) || \
    false)

static inline void trace_vnc_key_event_map(bool down, int sym, int keycode, const char *name)
{
    if (trace_event_get_state(TRACE_VNC_KEY_EVENT_MAP)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 40 "../xemu/ui/trace-events"
            qemu_log("vnc_key_event_map " "down %d, sym 0x%x -> keycode 0x%x [%s]" "\n", down, sym, keycode, name);
#line 890 "trace/trace-ui.h"
        }
    }
}

#define TRACE_VNC_KEY_SYNC_NUMLOCK_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_VNC_KEY_SYNC_NUMLOCK) || \
    false)

static inline void trace_vnc_key_sync_numlock(bool on)
{
    if (trace_event_get_state(TRACE_VNC_KEY_SYNC_NUMLOCK)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 41 "../xemu/ui/trace-events"
            qemu_log("vnc_key_sync_numlock " "%d" "\n", on);
#line 905 "trace/trace-ui.h"
        }
    }
}

#define TRACE_VNC_KEY_SYNC_CAPSLOCK_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_VNC_KEY_SYNC_CAPSLOCK) || \
    false)

static inline void trace_vnc_key_sync_capslock(bool on)
{
    if (trace_event_get_state(TRACE_VNC_KEY_SYNC_CAPSLOCK)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 42 "../xemu/ui/trace-events"
            qemu_log("vnc_key_sync_capslock " "%d" "\n", on);
#line 920 "trace/trace-ui.h"
        }
    }
}

#define TRACE_VNC_MSG_SERVER_AUDIO_BEGIN_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_VNC_MSG_SERVER_AUDIO_BEGIN) || \
    false)

static inline void trace_vnc_msg_server_audio_begin(void *state, void *ioc)
{
    if (trace_event_get_state(TRACE_VNC_MSG_SERVER_AUDIO_BEGIN)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 43 "../xemu/ui/trace-events"
            qemu_log("vnc_msg_server_audio_begin " "VNC server msg audio begin state=%p ioc=%p" "\n", state, ioc);
#line 935 "trace/trace-ui.h"
        }
    }
}

#define TRACE_VNC_MSG_SERVER_AUDIO_END_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_VNC_MSG_SERVER_AUDIO_END) || \
    false)

static inline void trace_vnc_msg_server_audio_end(void *state, void *ioc)
{
    if (trace_event_get_state(TRACE_VNC_MSG_SERVER_AUDIO_END)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 44 "../xemu/ui/trace-events"
            qemu_log("vnc_msg_server_audio_end " "VNC server msg audio end state=%p ioc=%p" "\n", state, ioc);
#line 950 "trace/trace-ui.h"
        }
    }
}

#define TRACE_VNC_MSG_SERVER_AUDIO_DATA_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_VNC_MSG_SERVER_AUDIO_DATA) || \
    false)

static inline void trace_vnc_msg_server_audio_data(void *state, void *ioc, const void *buf, size_t len)
{
    if (trace_event_get_state(TRACE_VNC_MSG_SERVER_AUDIO_DATA)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 45 "../xemu/ui/trace-events"
            qemu_log("vnc_msg_server_audio_data " "VNC server msg audio data state=%p ioc=%p buf=%p len=%zd" "\n", state, ioc, buf, len);
#line 965 "trace/trace-ui.h"
        }
    }
}

#define TRACE_VNC_MSG_SERVER_DESKTOP_RESIZE_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_VNC_MSG_SERVER_DESKTOP_RESIZE) || \
    false)

static inline void trace_vnc_msg_server_desktop_resize(void *state, void *ioc, int width, int height)
{
    if (trace_event_get_state(TRACE_VNC_MSG_SERVER_DESKTOP_RESIZE)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 46 "../xemu/ui/trace-events"
            qemu_log("vnc_msg_server_desktop_resize " "VNC server msg ext resize state=%p ioc=%p size=%dx%d" "\n", state, ioc, width, height);
#line 980 "trace/trace-ui.h"
        }
    }
}

#define TRACE_VNC_MSG_SERVER_EXT_DESKTOP_RESIZE_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_VNC_MSG_SERVER_EXT_DESKTOP_RESIZE) || \
    false)

static inline void trace_vnc_msg_server_ext_desktop_resize(void *state, void *ioc, int width, int height, int reason)
{
    if (trace_event_get_state(TRACE_VNC_MSG_SERVER_EXT_DESKTOP_RESIZE)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 47 "../xemu/ui/trace-events"
            qemu_log("vnc_msg_server_ext_desktop_resize " "VNC server msg ext resize state=%p ioc=%p size=%dx%d reason=%d" "\n", state, ioc, width, height, reason);
#line 995 "trace/trace-ui.h"
        }
    }
}

#define TRACE_VNC_MSG_CLIENT_AUDIO_ENABLE_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_VNC_MSG_CLIENT_AUDIO_ENABLE) || \
    false)

static inline void trace_vnc_msg_client_audio_enable(void *state, void *ioc)
{
    if (trace_event_get_state(TRACE_VNC_MSG_CLIENT_AUDIO_ENABLE)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 48 "../xemu/ui/trace-events"
            qemu_log("vnc_msg_client_audio_enable " "VNC client msg audio enable state=%p ioc=%p" "\n", state, ioc);
#line 1010 "trace/trace-ui.h"
        }
    }
}

#define TRACE_VNC_MSG_CLIENT_AUDIO_DISABLE_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_VNC_MSG_CLIENT_AUDIO_DISABLE) || \
    false)

static inline void trace_vnc_msg_client_audio_disable(void *state, void *ioc)
{
    if (trace_event_get_state(TRACE_VNC_MSG_CLIENT_AUDIO_DISABLE)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 49 "../xemu/ui/trace-events"
            qemu_log("vnc_msg_client_audio_disable " "VNC client msg audio disable state=%p ioc=%p" "\n", state, ioc);
#line 1025 "trace/trace-ui.h"
        }
    }
}

#define TRACE_VNC_MSG_CLIENT_AUDIO_FORMAT_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_VNC_MSG_CLIENT_AUDIO_FORMAT) || \
    false)

static inline void trace_vnc_msg_client_audio_format(void *state, void *ioc, int fmt, int channels, int freq)
{
    if (trace_event_get_state(TRACE_VNC_MSG_CLIENT_AUDIO_FORMAT)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 50 "../xemu/ui/trace-events"
            qemu_log("vnc_msg_client_audio_format " "VNC client msg audio format state=%p ioc=%p fmt=%d channels=%d freq=%d" "\n", state, ioc, fmt, channels, freq);
#line 1040 "trace/trace-ui.h"
        }
    }
}

#define TRACE_VNC_MSG_CLIENT_CUT_TEXT_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_VNC_MSG_CLIENT_CUT_TEXT) || \
    false)

static inline void trace_vnc_msg_client_cut_text(void *state, void *ioc, int len)
{
    if (trace_event_get_state(TRACE_VNC_MSG_CLIENT_CUT_TEXT)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 51 "../xemu/ui/trace-events"
            qemu_log("vnc_msg_client_cut_text " "VNC client msg cut text state=%p ioc=%p len=%u" "\n", state, ioc, len);
#line 1055 "trace/trace-ui.h"
        }
    }
}

#define TRACE_VNC_MSG_CLIENT_CUT_TEXT_EXT_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_VNC_MSG_CLIENT_CUT_TEXT_EXT) || \
    false)

static inline void trace_vnc_msg_client_cut_text_ext(void *state, void *ioc, int len, int flags)
{
    if (trace_event_get_state(TRACE_VNC_MSG_CLIENT_CUT_TEXT_EXT)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 52 "../xemu/ui/trace-events"
            qemu_log("vnc_msg_client_cut_text_ext " "VNC client msg cut text state=%p ioc=%p len=%u flags=%u" "\n", state, ioc, len, flags);
#line 1070 "trace/trace-ui.h"
        }
    }
}

#define TRACE_VNC_MSG_CLIENT_EXT_KEY_EVENT_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_VNC_MSG_CLIENT_EXT_KEY_EVENT) || \
    false)

static inline void trace_vnc_msg_client_ext_key_event(void *state, void *ioc, int down, int sym, int keycode)
{
    if (trace_event_get_state(TRACE_VNC_MSG_CLIENT_EXT_KEY_EVENT)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 53 "../xemu/ui/trace-events"
            qemu_log("vnc_msg_client_ext_key_event " "VNC client msg ext key event state=%p ioc=%p down=%u sym=%u keycode=%u" "\n", state, ioc, down, sym, keycode);
#line 1085 "trace/trace-ui.h"
        }
    }
}

#define TRACE_VNC_MSG_CLIENT_FRAMEBUFFER_UPDATE_REQUEST_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_VNC_MSG_CLIENT_FRAMEBUFFER_UPDATE_REQUEST) || \
    false)

static inline void trace_vnc_msg_client_framebuffer_update_request(void *state, void *ioc, int incremental, int x, int y, int w, int h)
{
    if (trace_event_get_state(TRACE_VNC_MSG_CLIENT_FRAMEBUFFER_UPDATE_REQUEST)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 54 "../xemu/ui/trace-events"
            qemu_log("vnc_msg_client_framebuffer_update_request " "VNC client msg framebuffer update request state=%p ioc=%p incremental=%u x=%u y=%u w=%u h=%u" "\n", state, ioc, incremental, x, y, w, h);
#line 1100 "trace/trace-ui.h"
        }
    }
}

#define TRACE_VNC_MSG_CLIENT_KEY_EVENT_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_VNC_MSG_CLIENT_KEY_EVENT) || \
    false)

static inline void trace_vnc_msg_client_key_event(void *state, void *ioc, int down, int sym)
{
    if (trace_event_get_state(TRACE_VNC_MSG_CLIENT_KEY_EVENT)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 55 "../xemu/ui/trace-events"
            qemu_log("vnc_msg_client_key_event " "VNC client msg key event state=%p ioc=%p down=%u sym=%u" "\n", state, ioc, down, sym);
#line 1115 "trace/trace-ui.h"
        }
    }
}

#define TRACE_VNC_MSG_CLIENT_POINTER_EVENT_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_VNC_MSG_CLIENT_POINTER_EVENT) || \
    false)

static inline void trace_vnc_msg_client_pointer_event(void *state, void *ioc, int button_mask, int x, int y)
{
    if (trace_event_get_state(TRACE_VNC_MSG_CLIENT_POINTER_EVENT)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 56 "../xemu/ui/trace-events"
            qemu_log("vnc_msg_client_pointer_event " "VNC client msg pointer event state=%p ioc=%p button_mask=%u x=%u y=%u" "\n", state, ioc, button_mask, x, y);
#line 1130 "trace/trace-ui.h"
        }
    }
}

#define TRACE_VNC_MSG_CLIENT_SET_DESKTOP_SIZE_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_VNC_MSG_CLIENT_SET_DESKTOP_SIZE) || \
    false)

static inline void trace_vnc_msg_client_set_desktop_size(void *state, void *ioc, int width, int height, int screens)
{
    if (trace_event_get_state(TRACE_VNC_MSG_CLIENT_SET_DESKTOP_SIZE)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 57 "../xemu/ui/trace-events"
            qemu_log("vnc_msg_client_set_desktop_size " "VNC client msg set desktop size  state=%p ioc=%p size=%dx%d screens=%d" "\n", state, ioc, width, height, screens);
#line 1145 "trace/trace-ui.h"
        }
    }
}

#define TRACE_VNC_MSG_CLIENT_SET_ENCODINGS_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_VNC_MSG_CLIENT_SET_ENCODINGS) || \
    false)

static inline void trace_vnc_msg_client_set_encodings(void *state, void *ioc, int limit)
{
    if (trace_event_get_state(TRACE_VNC_MSG_CLIENT_SET_ENCODINGS)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 58 "../xemu/ui/trace-events"
            qemu_log("vnc_msg_client_set_encodings " "VNC client msg set encodings state=%p ioc=%p limit=%u" "\n", state, ioc, limit);
#line 1160 "trace/trace-ui.h"
        }
    }
}

#define TRACE_VNC_MSG_CLIENT_SET_PIXEL_FORMAT_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_VNC_MSG_CLIENT_SET_PIXEL_FORMAT) || \
    false)

static inline void trace_vnc_msg_client_set_pixel_format(void *state, void *ioc, int bpp, int big_endian, int true_color)
{
    if (trace_event_get_state(TRACE_VNC_MSG_CLIENT_SET_PIXEL_FORMAT)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 59 "../xemu/ui/trace-events"
            qemu_log("vnc_msg_client_set_pixel_format " "VNC client msg set pixel format state=%p ioc=%p bpp=%u big_endian=%u true_color=%u" "\n", state, ioc, bpp, big_endian, true_color);
#line 1175 "trace/trace-ui.h"
        }
    }
}

#define TRACE_VNC_MSG_CLIENT_SET_PIXEL_FORMAT_RGB_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_VNC_MSG_CLIENT_SET_PIXEL_FORMAT_RGB) || \
    false)

static inline void trace_vnc_msg_client_set_pixel_format_rgb(void *state, void *ioc, int red_max, int green_max, int blue_max, int red_shift, int green_shift, int blue_shift)
{
    if (trace_event_get_state(TRACE_VNC_MSG_CLIENT_SET_PIXEL_FORMAT_RGB)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 60 "../xemu/ui/trace-events"
            qemu_log("vnc_msg_client_set_pixel_format_rgb " "VNC client msg set pixel format RGB state=%p ioc=%p red_max=%u green_max=%u blue_max=%u red_shift=%u green_shift=%u blue_shift=%u" "\n", state, ioc, red_max, green_max, blue_max, red_shift, green_shift, blue_shift);
#line 1190 "trace/trace-ui.h"
        }
    }
}

#define TRACE_VNC_MSG_CLIENT_XVP_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_VNC_MSG_CLIENT_XVP) || \
    false)

static inline void trace_vnc_msg_client_xvp(void *state, void *ioc, int version, int action)
{
    if (trace_event_get_state(TRACE_VNC_MSG_CLIENT_XVP)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 61 "../xemu/ui/trace-events"
            qemu_log("vnc_msg_client_xvp " "VNC client msg XVP state=%p ioc=%p version=%u action=%u" "\n", state, ioc, version, action);
#line 1205 "trace/trace-ui.h"
        }
    }
}

#define TRACE_VNC_CLIENT_EOF_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_VNC_CLIENT_EOF) || \
    false)

static inline void trace_vnc_client_eof(void *state, void *ioc)
{
    if (trace_event_get_state(TRACE_VNC_CLIENT_EOF)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 62 "../xemu/ui/trace-events"
            qemu_log("vnc_client_eof " "VNC client EOF state=%p ioc=%p" "\n", state, ioc);
#line 1220 "trace/trace-ui.h"
        }
    }
}

#define TRACE_VNC_CLIENT_IO_ERROR_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_VNC_CLIENT_IO_ERROR) || \
    false)

static inline void trace_vnc_client_io_error(void *state, void *ioc, const char *msg)
{
    if (trace_event_get_state(TRACE_VNC_CLIENT_IO_ERROR)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 63 "../xemu/ui/trace-events"
            qemu_log("vnc_client_io_error " "VNC client I/O error state=%p ioc=%p errmsg=%s" "\n", state, ioc, msg);
#line 1235 "trace/trace-ui.h"
        }
    }
}

#define TRACE_VNC_CLIENT_CONNECT_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_VNC_CLIENT_CONNECT) || \
    false)

static inline void trace_vnc_client_connect(void *state, void *ioc)
{
    if (trace_event_get_state(TRACE_VNC_CLIENT_CONNECT)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 64 "../xemu/ui/trace-events"
            qemu_log("vnc_client_connect " "VNC client connect state=%p ioc=%p" "\n", state, ioc);
#line 1250 "trace/trace-ui.h"
        }
    }
}

#define TRACE_VNC_CLIENT_DISCONNECT_START_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_VNC_CLIENT_DISCONNECT_START) || \
    false)

static inline void trace_vnc_client_disconnect_start(void *state, void *ioc)
{
    if (trace_event_get_state(TRACE_VNC_CLIENT_DISCONNECT_START)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 65 "../xemu/ui/trace-events"
            qemu_log("vnc_client_disconnect_start " "VNC client disconnect start state=%p ioc=%p" "\n", state, ioc);
#line 1265 "trace/trace-ui.h"
        }
    }
}

#define TRACE_VNC_CLIENT_DISCONNECT_FINISH_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_VNC_CLIENT_DISCONNECT_FINISH) || \
    false)

static inline void trace_vnc_client_disconnect_finish(void *state, void *ioc)
{
    if (trace_event_get_state(TRACE_VNC_CLIENT_DISCONNECT_FINISH)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 66 "../xemu/ui/trace-events"
            qemu_log("vnc_client_disconnect_finish " "VNC client disconnect finish state=%p ioc=%p" "\n", state, ioc);
#line 1280 "trace/trace-ui.h"
        }
    }
}

#define TRACE_VNC_CLIENT_IO_WRAP_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_VNC_CLIENT_IO_WRAP) || \
    false)

static inline void trace_vnc_client_io_wrap(void *state, void *ioc, const char *type)
{
    if (trace_event_get_state(TRACE_VNC_CLIENT_IO_WRAP)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 67 "../xemu/ui/trace-events"
            qemu_log("vnc_client_io_wrap " "VNC client I/O wrap state=%p ioc=%p type=%s" "\n", state, ioc, type);
#line 1295 "trace/trace-ui.h"
        }
    }
}

#define TRACE_VNC_CLIENT_PIXEL_FORMAT_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_VNC_CLIENT_PIXEL_FORMAT) || \
    false)

static inline void trace_vnc_client_pixel_format(void *state, void *ioc, int bpp, int depth, int endian)
{
    if (trace_event_get_state(TRACE_VNC_CLIENT_PIXEL_FORMAT)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 68 "../xemu/ui/trace-events"
            qemu_log("vnc_client_pixel_format " "VNC client pixel format state=%p ioc=%p bpp=%u depth=%u endian=%u" "\n", state, ioc, bpp, depth, endian);
#line 1310 "trace/trace-ui.h"
        }
    }
}

#define TRACE_VNC_CLIENT_PIXEL_FORMAT_RED_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_VNC_CLIENT_PIXEL_FORMAT_RED) || \
    false)

static inline void trace_vnc_client_pixel_format_red(void *state, void *ioc, int max, int bits, int shift, int mask)
{
    if (trace_event_get_state(TRACE_VNC_CLIENT_PIXEL_FORMAT_RED)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 69 "../xemu/ui/trace-events"
            qemu_log("vnc_client_pixel_format_red " "VNC client pixel format red state=%p ioc=%p max=%u bits=%u shift=%u mask=%u" "\n", state, ioc, max, bits, shift, mask);
#line 1325 "trace/trace-ui.h"
        }
    }
}

#define TRACE_VNC_CLIENT_PIXEL_FORMAT_GREEN_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_VNC_CLIENT_PIXEL_FORMAT_GREEN) || \
    false)

static inline void trace_vnc_client_pixel_format_green(void *state, void *ioc, int max, int bits, int shift, int mask)
{
    if (trace_event_get_state(TRACE_VNC_CLIENT_PIXEL_FORMAT_GREEN)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 70 "../xemu/ui/trace-events"
            qemu_log("vnc_client_pixel_format_green " "VNC client pixel format green state=%p ioc=%p max=%u bits=%u shift=%u mask=%u" "\n", state, ioc, max, bits, shift, mask);
#line 1340 "trace/trace-ui.h"
        }
    }
}

#define TRACE_VNC_CLIENT_PIXEL_FORMAT_BLUE_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_VNC_CLIENT_PIXEL_FORMAT_BLUE) || \
    false)

static inline void trace_vnc_client_pixel_format_blue(void *state, void *ioc, int max, int bits, int shift, int mask)
{
    if (trace_event_get_state(TRACE_VNC_CLIENT_PIXEL_FORMAT_BLUE)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 71 "../xemu/ui/trace-events"
            qemu_log("vnc_client_pixel_format_blue " "VNC client pixel format blue state=%p ioc=%p max=%u bits=%u shift=%u mask=%u" "\n", state, ioc, max, bits, shift, mask);
#line 1355 "trace/trace-ui.h"
        }
    }
}

#define TRACE_VNC_CLIENT_THROTTLE_THRESHOLD_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_VNC_CLIENT_THROTTLE_THRESHOLD) || \
    false)

static inline void trace_vnc_client_throttle_threshold(void *state, void *ioc, size_t oldoffset, size_t offset, int client_width, int client_height, int bytes_per_pixel, void *audio_cap)
{
    if (trace_event_get_state(TRACE_VNC_CLIENT_THROTTLE_THRESHOLD)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 72 "../xemu/ui/trace-events"
            qemu_log("vnc_client_throttle_threshold " "VNC client throttle threshold state=%p ioc=%p oldoffset=%zu newoffset=%zu width=%d height=%d bpp=%d audio=%p" "\n", state, ioc, oldoffset, offset, client_width, client_height, bytes_per_pixel, audio_cap);
#line 1370 "trace/trace-ui.h"
        }
    }
}

#define TRACE_VNC_CLIENT_THROTTLE_INCREMENTAL_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_VNC_CLIENT_THROTTLE_INCREMENTAL) || \
    false)

static inline void trace_vnc_client_throttle_incremental(void *state, void *ioc, int job_update, size_t offset)
{
    if (trace_event_get_state(TRACE_VNC_CLIENT_THROTTLE_INCREMENTAL)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 73 "../xemu/ui/trace-events"
            qemu_log("vnc_client_throttle_incremental " "VNC client throttle incremental state=%p ioc=%p job-update=%d offset=%zu" "\n", state, ioc, job_update, offset);
#line 1385 "trace/trace-ui.h"
        }
    }
}

#define TRACE_VNC_CLIENT_THROTTLE_FORCED_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_VNC_CLIENT_THROTTLE_FORCED) || \
    false)

static inline void trace_vnc_client_throttle_forced(void *state, void *ioc, int job_update, size_t offset)
{
    if (trace_event_get_state(TRACE_VNC_CLIENT_THROTTLE_FORCED)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 74 "../xemu/ui/trace-events"
            qemu_log("vnc_client_throttle_forced " "VNC client throttle forced state=%p ioc=%p job-update=%d offset=%zu" "\n", state, ioc, job_update, offset);
#line 1400 "trace/trace-ui.h"
        }
    }
}

#define TRACE_VNC_CLIENT_THROTTLE_AUDIO_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_VNC_CLIENT_THROTTLE_AUDIO) || \
    false)

static inline void trace_vnc_client_throttle_audio(void *state, void *ioc, size_t offset)
{
    if (trace_event_get_state(TRACE_VNC_CLIENT_THROTTLE_AUDIO)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 75 "../xemu/ui/trace-events"
            qemu_log("vnc_client_throttle_audio " "VNC client throttle audio state=%p ioc=%p offset=%zu" "\n", state, ioc, offset);
#line 1415 "trace/trace-ui.h"
        }
    }
}

#define TRACE_VNC_CLIENT_UNTHROTTLE_FORCED_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_VNC_CLIENT_UNTHROTTLE_FORCED) || \
    false)

static inline void trace_vnc_client_unthrottle_forced(void *state, void *ioc)
{
    if (trace_event_get_state(TRACE_VNC_CLIENT_UNTHROTTLE_FORCED)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 76 "../xemu/ui/trace-events"
            qemu_log("vnc_client_unthrottle_forced " "VNC client unthrottle forced offset state=%p ioc=%p" "\n", state, ioc);
#line 1430 "trace/trace-ui.h"
        }
    }
}

#define TRACE_VNC_CLIENT_UNTHROTTLE_INCREMENTAL_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_VNC_CLIENT_UNTHROTTLE_INCREMENTAL) || \
    false)

static inline void trace_vnc_client_unthrottle_incremental(void *state, void *ioc, size_t offset)
{
    if (trace_event_get_state(TRACE_VNC_CLIENT_UNTHROTTLE_INCREMENTAL)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 77 "../xemu/ui/trace-events"
            qemu_log("vnc_client_unthrottle_incremental " "VNC client unthrottle incremental state=%p ioc=%p offset=%zu" "\n", state, ioc, offset);
#line 1445 "trace/trace-ui.h"
        }
    }
}

#define TRACE_VNC_CLIENT_OUTPUT_LIMIT_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_VNC_CLIENT_OUTPUT_LIMIT) || \
    false)

static inline void trace_vnc_client_output_limit(void *state, void *ioc, size_t offset, size_t threshold)
{
    if (trace_event_get_state(TRACE_VNC_CLIENT_OUTPUT_LIMIT)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 78 "../xemu/ui/trace-events"
            qemu_log("vnc_client_output_limit " "VNC client output limit state=%p ioc=%p offset=%zu threshold=%zu" "\n", state, ioc, offset, threshold);
#line 1460 "trace/trace-ui.h"
        }
    }
}

#define TRACE_VNC_SERVER_DPY_PAGEFLIP_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_VNC_SERVER_DPY_PAGEFLIP) || \
    false)

static inline void trace_vnc_server_dpy_pageflip(void *dpy, int w, int h, int fmt)
{
    if (trace_event_get_state(TRACE_VNC_SERVER_DPY_PAGEFLIP)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 79 "../xemu/ui/trace-events"
            qemu_log("vnc_server_dpy_pageflip " "VNC server dpy pageflip dpy=%p size=%dx%d fmt=%d" "\n", dpy, w, h, fmt);
#line 1475 "trace/trace-ui.h"
        }
    }
}

#define TRACE_VNC_SERVER_DPY_RECREATE_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_VNC_SERVER_DPY_RECREATE) || \
    false)

static inline void trace_vnc_server_dpy_recreate(void *dpy, int w, int h, int fmt)
{
    if (trace_event_get_state(TRACE_VNC_SERVER_DPY_RECREATE)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 80 "../xemu/ui/trace-events"
            qemu_log("vnc_server_dpy_recreate " "VNC server dpy recreate dpy=%p size=%dx%d fmt=%d" "\n", dpy, w, h, fmt);
#line 1490 "trace/trace-ui.h"
        }
    }
}

#define TRACE_VNC_JOB_ADD_RECT_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_VNC_JOB_ADD_RECT) || \
    false)

static inline void trace_vnc_job_add_rect(void *state, void *job, int x, int y, int w, int h)
{
    if (trace_event_get_state(TRACE_VNC_JOB_ADD_RECT)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 81 "../xemu/ui/trace-events"
            qemu_log("vnc_job_add_rect " "VNC add rect state=%p job=%p offset=%d,%d size=%dx%d" "\n", state, job, x, y, w, h);
#line 1505 "trace/trace-ui.h"
        }
    }
}

#define TRACE_VNC_JOB_DISCARD_RECT_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_VNC_JOB_DISCARD_RECT) || \
    false)

static inline void trace_vnc_job_discard_rect(void *state, void *job, int x, int y, int w, int h)
{
    if (trace_event_get_state(TRACE_VNC_JOB_DISCARD_RECT)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 82 "../xemu/ui/trace-events"
            qemu_log("vnc_job_discard_rect " "VNC job discard rect state=%p job=%p offset=%d,%d size=%dx%d" "\n", state, job, x, y, w, h);
#line 1520 "trace/trace-ui.h"
        }
    }
}

#define TRACE_VNC_JOB_CLAMP_RECT_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_VNC_JOB_CLAMP_RECT) || \
    false)

static inline void trace_vnc_job_clamp_rect(void *state, void *job, int x, int y, int w, int h)
{
    if (trace_event_get_state(TRACE_VNC_JOB_CLAMP_RECT)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 83 "../xemu/ui/trace-events"
            qemu_log("vnc_job_clamp_rect " "VNC job clamp rect state=%p job=%p offset=%d,%d size=%dx%d" "\n", state, job, x, y, w, h);
#line 1535 "trace/trace-ui.h"
        }
    }
}

#define TRACE_VNC_JOB_CLAMPED_RECT_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_VNC_JOB_CLAMPED_RECT) || \
    false)

static inline void trace_vnc_job_clamped_rect(void *state, void *job, int x, int y, int w, int h)
{
    if (trace_event_get_state(TRACE_VNC_JOB_CLAMPED_RECT)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 84 "../xemu/ui/trace-events"
            qemu_log("vnc_job_clamped_rect " "VNC job clamp rect state=%p job=%p offset=%d,%d size=%dx%d" "\n", state, job, x, y, w, h);
#line 1550 "trace/trace-ui.h"
        }
    }
}

#define TRACE_VNC_JOB_NRECTS_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_VNC_JOB_NRECTS) || \
    false)

static inline void trace_vnc_job_nrects(void *state, void *job, int nrects)
{
    if (trace_event_get_state(TRACE_VNC_JOB_NRECTS)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 85 "../xemu/ui/trace-events"
            qemu_log("vnc_job_nrects " "VNC job state=%p job=%p nrects=%d" "\n", state, job, nrects);
#line 1565 "trace/trace-ui.h"
        }
    }
}

#define TRACE_VNC_AUTH_INIT_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_VNC_AUTH_INIT) || \
    false)

static inline void trace_vnc_auth_init(void *display, int websock, int auth, int subauth)
{
    if (trace_event_get_state(TRACE_VNC_AUTH_INIT)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 86 "../xemu/ui/trace-events"
            qemu_log("vnc_auth_init " "VNC auth init state=%p websock=%d auth=%d subauth=%d" "\n", display, websock, auth, subauth);
#line 1580 "trace/trace-ui.h"
        }
    }
}

#define TRACE_VNC_AUTH_START_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_VNC_AUTH_START) || \
    false)

static inline void trace_vnc_auth_start(void *state, int method)
{
    if (trace_event_get_state(TRACE_VNC_AUTH_START)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 87 "../xemu/ui/trace-events"
            qemu_log("vnc_auth_start " "VNC client auth start state=%p method=%d" "\n", state, method);
#line 1595 "trace/trace-ui.h"
        }
    }
}

#define TRACE_VNC_AUTH_PASS_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_VNC_AUTH_PASS) || \
    false)

static inline void trace_vnc_auth_pass(void *state, int method)
{
    if (trace_event_get_state(TRACE_VNC_AUTH_PASS)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 88 "../xemu/ui/trace-events"
            qemu_log("vnc_auth_pass " "VNC client auth passed state=%p method=%d" "\n", state, method);
#line 1610 "trace/trace-ui.h"
        }
    }
}

#define TRACE_VNC_AUTH_FAIL_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_VNC_AUTH_FAIL) || \
    false)

static inline void trace_vnc_auth_fail(void *state, int method, const char *message, const char *reason)
{
    if (trace_event_get_state(TRACE_VNC_AUTH_FAIL)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 89 "../xemu/ui/trace-events"
            qemu_log("vnc_auth_fail " "VNC client auth failed state=%p method=%d message=%s reason=%s" "\n", state, method, message, reason);
#line 1625 "trace/trace-ui.h"
        }
    }
}

#define TRACE_VNC_AUTH_REJECT_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_VNC_AUTH_REJECT) || \
    false)

static inline void trace_vnc_auth_reject(void *state, int expect, int got)
{
    if (trace_event_get_state(TRACE_VNC_AUTH_REJECT)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 90 "../xemu/ui/trace-events"
            qemu_log("vnc_auth_reject " "VNC client auth rejected state=%p method expected=%d got=%d" "\n", state, expect, got);
#line 1640 "trace/trace-ui.h"
        }
    }
}

#define TRACE_VNC_AUTH_VENCRYPT_VERSION_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_VNC_AUTH_VENCRYPT_VERSION) || \
    false)

static inline void trace_vnc_auth_vencrypt_version(void *state, int major, int minor)
{
    if (trace_event_get_state(TRACE_VNC_AUTH_VENCRYPT_VERSION)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 91 "../xemu/ui/trace-events"
            qemu_log("vnc_auth_vencrypt_version " "VNC client auth vencrypt version state=%p major=%d minor=%d" "\n", state, major, minor);
#line 1655 "trace/trace-ui.h"
        }
    }
}

#define TRACE_VNC_AUTH_VENCRYPT_SUBAUTH_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_VNC_AUTH_VENCRYPT_SUBAUTH) || \
    false)

static inline void trace_vnc_auth_vencrypt_subauth(void *state, int auth)
{
    if (trace_event_get_state(TRACE_VNC_AUTH_VENCRYPT_SUBAUTH)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 92 "../xemu/ui/trace-events"
            qemu_log("vnc_auth_vencrypt_subauth " "VNC client auth vencrypt subauth state=%p auth=%d" "\n", state, auth);
#line 1670 "trace/trace-ui.h"
        }
    }
}

#define TRACE_VNC_AUTH_SASL_MECH_LIST_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_VNC_AUTH_SASL_MECH_LIST) || \
    false)

static inline void trace_vnc_auth_sasl_mech_list(void *state, const char *mechs)
{
    if (trace_event_get_state(TRACE_VNC_AUTH_SASL_MECH_LIST)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 93 "../xemu/ui/trace-events"
            qemu_log("vnc_auth_sasl_mech_list " "VNC client auth SASL state=%p mechlist=%s" "\n", state, mechs);
#line 1685 "trace/trace-ui.h"
        }
    }
}

#define TRACE_VNC_AUTH_SASL_MECH_CHOOSE_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_VNC_AUTH_SASL_MECH_CHOOSE) || \
    false)

static inline void trace_vnc_auth_sasl_mech_choose(void *state, const char *mech)
{
    if (trace_event_get_state(TRACE_VNC_AUTH_SASL_MECH_CHOOSE)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 94 "../xemu/ui/trace-events"
            qemu_log("vnc_auth_sasl_mech_choose " "VNC client auth SASL state=%p mech=%s" "\n", state, mech);
#line 1700 "trace/trace-ui.h"
        }
    }
}

#define TRACE_VNC_AUTH_SASL_START_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_VNC_AUTH_SASL_START) || \
    false)

static inline void trace_vnc_auth_sasl_start(void *state, const void *clientdata, size_t clientlen, const void *serverdata, size_t severlen, int ret)
{
    if (trace_event_get_state(TRACE_VNC_AUTH_SASL_START)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 95 "../xemu/ui/trace-events"
            qemu_log("vnc_auth_sasl_start " "VNC client auth SASL start state=%p clientdata=%p clientlen=%zu serverdata=%p serverlen=%zu ret=%d" "\n", state, clientdata, clientlen, serverdata, severlen, ret);
#line 1715 "trace/trace-ui.h"
        }
    }
}

#define TRACE_VNC_AUTH_SASL_STEP_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_VNC_AUTH_SASL_STEP) || \
    false)

static inline void trace_vnc_auth_sasl_step(void *state, const void *clientdata, size_t clientlen, const void *serverdata, size_t severlen, int ret)
{
    if (trace_event_get_state(TRACE_VNC_AUTH_SASL_STEP)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 96 "../xemu/ui/trace-events"
            qemu_log("vnc_auth_sasl_step " "VNC client auth SASL step state=%p clientdata=%p clientlen=%zu serverdata=%p serverlen=%zu ret=%d" "\n", state, clientdata, clientlen, serverdata, severlen, ret);
#line 1730 "trace/trace-ui.h"
        }
    }
}

#define TRACE_VNC_AUTH_SASL_SSF_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_VNC_AUTH_SASL_SSF) || \
    false)

static inline void trace_vnc_auth_sasl_ssf(void *state, int ssf)
{
    if (trace_event_get_state(TRACE_VNC_AUTH_SASL_SSF)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 97 "../xemu/ui/trace-events"
            qemu_log("vnc_auth_sasl_ssf " "VNC client auth SASL SSF state=%p size=%d" "\n", state, ssf);
#line 1745 "trace/trace-ui.h"
        }
    }
}

#define TRACE_VNC_AUTH_SASL_USERNAME_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_VNC_AUTH_SASL_USERNAME) || \
    false)

static inline void trace_vnc_auth_sasl_username(void *state, const char *name)
{
    if (trace_event_get_state(TRACE_VNC_AUTH_SASL_USERNAME)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 98 "../xemu/ui/trace-events"
            qemu_log("vnc_auth_sasl_username " "VNC client auth SASL user state=%p name=%s" "\n", state, name);
#line 1760 "trace/trace-ui.h"
        }
    }
}

#define TRACE_VNC_AUTH_SASL_ACL_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_VNC_AUTH_SASL_ACL) || \
    false)

static inline void trace_vnc_auth_sasl_acl(void *state, int allow)
{
    if (trace_event_get_state(TRACE_VNC_AUTH_SASL_ACL)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 99 "../xemu/ui/trace-events"
            qemu_log("vnc_auth_sasl_acl " "VNC client auth SASL ACL state=%p allow=%d" "\n", state, allow);
#line 1775 "trace/trace-ui.h"
        }
    }
}

#define TRACE_INPUT_EVENT_KEY_NUMBER_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_INPUT_EVENT_KEY_NUMBER) || \
    false)

static inline void trace_input_event_key_number(int conidx, int number, const char *qcode, bool down)
{
    if (trace_event_get_state(TRACE_INPUT_EVENT_KEY_NUMBER)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 103 "../xemu/ui/trace-events"
            qemu_log("input_event_key_number " "con %d, key number 0x%x [%s], down %d" "\n", conidx, number, qcode, down);
#line 1790 "trace/trace-ui.h"
        }
    }
}

#define TRACE_INPUT_EVENT_KEY_QCODE_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_INPUT_EVENT_KEY_QCODE) || \
    false)

static inline void trace_input_event_key_qcode(int conidx, const char *qcode, bool down)
{
    if (trace_event_get_state(TRACE_INPUT_EVENT_KEY_QCODE)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 104 "../xemu/ui/trace-events"
            qemu_log("input_event_key_qcode " "con %d, key qcode %s, down %d" "\n", conidx, qcode, down);
#line 1805 "trace/trace-ui.h"
        }
    }
}

#define TRACE_INPUT_EVENT_BTN_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_INPUT_EVENT_BTN) || \
    false)

static inline void trace_input_event_btn(int conidx, const char *btn, bool down)
{
    if (trace_event_get_state(TRACE_INPUT_EVENT_BTN)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 105 "../xemu/ui/trace-events"
            qemu_log("input_event_btn " "con %d, button %s, down %d" "\n", conidx, btn, down);
#line 1820 "trace/trace-ui.h"
        }
    }
}

#define TRACE_INPUT_EVENT_REL_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_INPUT_EVENT_REL) || \
    false)

static inline void trace_input_event_rel(int conidx, const char *axis, int value)
{
    if (trace_event_get_state(TRACE_INPUT_EVENT_REL)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 106 "../xemu/ui/trace-events"
            qemu_log("input_event_rel " "con %d, axis %s, value %d" "\n", conidx, axis, value);
#line 1835 "trace/trace-ui.h"
        }
    }
}

#define TRACE_INPUT_EVENT_ABS_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_INPUT_EVENT_ABS) || \
    false)

static inline void trace_input_event_abs(int conidx, const char *axis, int value)
{
    if (trace_event_get_state(TRACE_INPUT_EVENT_ABS)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 107 "../xemu/ui/trace-events"
            qemu_log("input_event_abs " "con %d, axis %s, value 0x%x" "\n", conidx, axis, value);
#line 1850 "trace/trace-ui.h"
        }
    }
}

#define TRACE_INPUT_EVENT_MTT_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_INPUT_EVENT_MTT) || \
    false)

static inline void trace_input_event_mtt(int conidx, const char *axis, int value)
{
    if (trace_event_get_state(TRACE_INPUT_EVENT_MTT)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 108 "../xemu/ui/trace-events"
            qemu_log("input_event_mtt " "con %d, axis %s, value 0x%x" "\n", conidx, axis, value);
#line 1865 "trace/trace-ui.h"
        }
    }
}

#define TRACE_INPUT_EVENT_SYNC_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_INPUT_EVENT_SYNC) || \
    false)

static inline void trace_input_event_sync(void)
{
    if (trace_event_get_state(TRACE_INPUT_EVENT_SYNC)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 109 "../xemu/ui/trace-events"
            qemu_log("input_event_sync " "" "\n");
#line 1880 "trace/trace-ui.h"
        }
    }
}

#define TRACE_SDL2_PROCESS_KEY_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_SDL2_PROCESS_KEY) || \
    false)

static inline void trace_sdl2_process_key(int sdl_scancode, int qcode, const char *action)
{
    if (trace_event_get_state(TRACE_SDL2_PROCESS_KEY)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 112 "../xemu/ui/trace-events"
            qemu_log("sdl2_process_key " "translated SDL scancode %d to QKeyCode %d (%s)" "\n", sdl_scancode, qcode, action);
#line 1895 "trace/trace-ui.h"
        }
    }
}

#define TRACE_QEMU_SPICE_ADD_MEMSLOT_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_QEMU_SPICE_ADD_MEMSLOT) || \
    false)

static inline void trace_qemu_spice_add_memslot(int qid, uint32_t slot_id, unsigned long virt_start, unsigned long virt_end, int async)
{
    if (trace_event_get_state(TRACE_QEMU_SPICE_ADD_MEMSLOT)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 115 "../xemu/ui/trace-events"
            qemu_log("qemu_spice_add_memslot " "%d %u: host virt 0x%lx - 0x%lx async=%d" "\n", qid, slot_id, virt_start, virt_end, async);
#line 1910 "trace/trace-ui.h"
        }
    }
}

#define TRACE_QEMU_SPICE_DEL_MEMSLOT_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_QEMU_SPICE_DEL_MEMSLOT) || \
    false)

static inline void trace_qemu_spice_del_memslot(int qid, uint32_t gid, uint32_t slot_id)
{
    if (trace_event_get_state(TRACE_QEMU_SPICE_DEL_MEMSLOT)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 116 "../xemu/ui/trace-events"
            qemu_log("qemu_spice_del_memslot " "%d gid=%u sid=%u" "\n", qid, gid, slot_id);
#line 1925 "trace/trace-ui.h"
        }
    }
}

#define TRACE_QEMU_SPICE_CREATE_PRIMARY_SURFACE_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_QEMU_SPICE_CREATE_PRIMARY_SURFACE) || \
    false)

static inline void trace_qemu_spice_create_primary_surface(int qid, uint32_t sid, void *surface, int async)
{
    if (trace_event_get_state(TRACE_QEMU_SPICE_CREATE_PRIMARY_SURFACE)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 117 "../xemu/ui/trace-events"
            qemu_log("qemu_spice_create_primary_surface " "%d sid=%u surface=%p async=%d" "\n", qid, sid, surface, async);
#line 1940 "trace/trace-ui.h"
        }
    }
}

#define TRACE_QEMU_SPICE_DESTROY_PRIMARY_SURFACE_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_QEMU_SPICE_DESTROY_PRIMARY_SURFACE) || \
    false)

static inline void trace_qemu_spice_destroy_primary_surface(int qid, uint32_t sid, int async)
{
    if (trace_event_get_state(TRACE_QEMU_SPICE_DESTROY_PRIMARY_SURFACE)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 118 "../xemu/ui/trace-events"
            qemu_log("qemu_spice_destroy_primary_surface " "%d sid=%u async=%d" "\n", qid, sid, async);
#line 1955 "trace/trace-ui.h"
        }
    }
}

#define TRACE_QEMU_SPICE_WAKEUP_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_QEMU_SPICE_WAKEUP) || \
    false)

static inline void trace_qemu_spice_wakeup(uint32_t qid)
{
    if (trace_event_get_state(TRACE_QEMU_SPICE_WAKEUP)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 119 "../xemu/ui/trace-events"
            qemu_log("qemu_spice_wakeup " "%d" "\n", qid);
#line 1970 "trace/trace-ui.h"
        }
    }
}

#define TRACE_QEMU_SPICE_CREATE_UPDATE_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_QEMU_SPICE_CREATE_UPDATE) || \
    false)

static inline void trace_qemu_spice_create_update(uint32_t left, uint32_t right, uint32_t top, uint32_t bottom)
{
    if (trace_event_get_state(TRACE_QEMU_SPICE_CREATE_UPDATE)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 120 "../xemu/ui/trace-events"
            qemu_log("qemu_spice_create_update " "lr %d -> %d,  tb -> %d -> %d" "\n", left, right, top, bottom);
#line 1985 "trace/trace-ui.h"
        }
    }
}

#define TRACE_QEMU_SPICE_DISPLAY_UPDATE_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_QEMU_SPICE_DISPLAY_UPDATE) || \
    false)

static inline void trace_qemu_spice_display_update(int qid, uint32_t x, uint32_t y, uint32_t w, uint32_t h)
{
    if (trace_event_get_state(TRACE_QEMU_SPICE_DISPLAY_UPDATE)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 121 "../xemu/ui/trace-events"
            qemu_log("qemu_spice_display_update " "%d +%d+%d %dx%d" "\n", qid, x, y, w, h);
#line 2000 "trace/trace-ui.h"
        }
    }
}

#define TRACE_QEMU_SPICE_DISPLAY_SURFACE_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_QEMU_SPICE_DISPLAY_SURFACE) || \
    false)

static inline void trace_qemu_spice_display_surface(int qid, uint32_t w, uint32_t h, int fast)
{
    if (trace_event_get_state(TRACE_QEMU_SPICE_DISPLAY_SURFACE)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 122 "../xemu/ui/trace-events"
            qemu_log("qemu_spice_display_surface " "%d %dx%d, fast %d" "\n", qid, w, h, fast);
#line 2015 "trace/trace-ui.h"
        }
    }
}

#define TRACE_QEMU_SPICE_DISPLAY_REFRESH_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_QEMU_SPICE_DISPLAY_REFRESH) || \
    false)

static inline void trace_qemu_spice_display_refresh(int qid, int notify)
{
    if (trace_event_get_state(TRACE_QEMU_SPICE_DISPLAY_REFRESH)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 123 "../xemu/ui/trace-events"
            qemu_log("qemu_spice_display_refresh " "%d notify %d" "\n", qid, notify);
#line 2030 "trace/trace-ui.h"
        }
    }
}

#define TRACE_QEMU_SPICE_UI_INFO_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_QEMU_SPICE_UI_INFO) || \
    false)

static inline void trace_qemu_spice_ui_info(int qid, uint32_t width, uint32_t height)
{
    if (trace_event_get_state(TRACE_QEMU_SPICE_UI_INFO)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 124 "../xemu/ui/trace-events"
            qemu_log("qemu_spice_ui_info " "%d %dx%d" "\n", qid, width, height);
#line 2045 "trace/trace-ui.h"
        }
    }
}

#define TRACE_QEMU_SPICE_GL_SURFACE_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_QEMU_SPICE_GL_SURFACE) || \
    false)

static inline void trace_qemu_spice_gl_surface(int qid, uint32_t w, uint32_t h, uint32_t fourcc)
{
    if (trace_event_get_state(TRACE_QEMU_SPICE_GL_SURFACE)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 126 "../xemu/ui/trace-events"
            qemu_log("qemu_spice_gl_surface " "%d %dx%d, fourcc 0x%x" "\n", qid, w, h, fourcc);
#line 2060 "trace/trace-ui.h"
        }
    }
}

#define TRACE_QEMU_SPICE_GL_SCANOUT_DISABLE_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_QEMU_SPICE_GL_SCANOUT_DISABLE) || \
    false)

static inline void trace_qemu_spice_gl_scanout_disable(int qid)
{
    if (trace_event_get_state(TRACE_QEMU_SPICE_GL_SCANOUT_DISABLE)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 127 "../xemu/ui/trace-events"
            qemu_log("qemu_spice_gl_scanout_disable " "%d" "\n", qid);
#line 2075 "trace/trace-ui.h"
        }
    }
}

#define TRACE_QEMU_SPICE_GL_SCANOUT_TEXTURE_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_QEMU_SPICE_GL_SCANOUT_TEXTURE) || \
    false)

static inline void trace_qemu_spice_gl_scanout_texture(int qid, uint32_t w, uint32_t h, uint32_t fourcc)
{
    if (trace_event_get_state(TRACE_QEMU_SPICE_GL_SCANOUT_TEXTURE)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 128 "../xemu/ui/trace-events"
            qemu_log("qemu_spice_gl_scanout_texture " "%d %dx%d, fourcc 0x%x" "\n", qid, w, h, fourcc);
#line 2090 "trace/trace-ui.h"
        }
    }
}

#define TRACE_QEMU_SPICE_GL_CURSOR_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_QEMU_SPICE_GL_CURSOR) || \
    false)

static inline void trace_qemu_spice_gl_cursor(int qid, bool enabled, bool hotspot)
{
    if (trace_event_get_state(TRACE_QEMU_SPICE_GL_CURSOR)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 129 "../xemu/ui/trace-events"
            qemu_log("qemu_spice_gl_cursor " "%d enabled %d, hotspot %d" "\n", qid, enabled, hotspot);
#line 2105 "trace/trace-ui.h"
        }
    }
}

#define TRACE_QEMU_SPICE_GL_FORWARD_DMABUF_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_QEMU_SPICE_GL_FORWARD_DMABUF) || \
    false)

static inline void trace_qemu_spice_gl_forward_dmabuf(int qid, uint32_t width, uint32_t height)
{
    if (trace_event_get_state(TRACE_QEMU_SPICE_GL_FORWARD_DMABUF)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 130 "../xemu/ui/trace-events"
            qemu_log("qemu_spice_gl_forward_dmabuf " "%d %dx%d" "\n", qid, width, height);
#line 2120 "trace/trace-ui.h"
        }
    }
}

#define TRACE_QEMU_SPICE_GL_RENDER_DMABUF_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_QEMU_SPICE_GL_RENDER_DMABUF) || \
    false)

static inline void trace_qemu_spice_gl_render_dmabuf(int qid, uint32_t width, uint32_t height)
{
    if (trace_event_get_state(TRACE_QEMU_SPICE_GL_RENDER_DMABUF)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 131 "../xemu/ui/trace-events"
            qemu_log("qemu_spice_gl_render_dmabuf " "%d %dx%d" "\n", qid, width, height);
#line 2135 "trace/trace-ui.h"
        }
    }
}

#define TRACE_QEMU_SPICE_GL_UPDATE_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_QEMU_SPICE_GL_UPDATE) || \
    false)

static inline void trace_qemu_spice_gl_update(int qid, uint32_t x, uint32_t y, uint32_t w, uint32_t h)
{
    if (trace_event_get_state(TRACE_QEMU_SPICE_GL_UPDATE)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 132 "../xemu/ui/trace-events"
            qemu_log("qemu_spice_gl_update " "%d +%d+%d %dx%d" "\n", qid, x, y, w, h);
#line 2150 "trace/trace-ui.h"
        }
    }
}

#define TRACE_KEYMAP_PARSE_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_KEYMAP_PARSE) || \
    false)

static inline void trace_keymap_parse(const char *file)
{
    if (trace_event_get_state(TRACE_KEYMAP_PARSE)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 135 "../xemu/ui/trace-events"
            qemu_log("keymap_parse " "file %s" "\n", file);
#line 2165 "trace/trace-ui.h"
        }
    }
}

#define TRACE_KEYMAP_ADD_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_KEYMAP_ADD) || \
    false)

static inline void trace_keymap_add(int sym, int code, const char *line)
{
    if (trace_event_get_state(TRACE_KEYMAP_ADD)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 136 "../xemu/ui/trace-events"
            qemu_log("keymap_add " "sym=0x%04x code=0x%04x (line: %s)" "\n", sym, code, line);
#line 2180 "trace/trace-ui.h"
        }
    }
}

#define TRACE_KEYMAP_UNMAPPED_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_KEYMAP_UNMAPPED) || \
    false)

static inline void trace_keymap_unmapped(int sym)
{
    if (trace_event_get_state(TRACE_KEYMAP_UNMAPPED)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 137 "../xemu/ui/trace-events"
            qemu_log("keymap_unmapped " "sym=0x%04x" "\n", sym);
#line 2195 "trace/trace-ui.h"
        }
    }
}

#define TRACE_XKEYMAP_EXTENSION_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_XKEYMAP_EXTENSION) || \
    false)

static inline void trace_xkeymap_extension(const char *name)
{
    if (trace_event_get_state(TRACE_XKEYMAP_EXTENSION)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 140 "../xemu/ui/trace-events"
            qemu_log("xkeymap_extension " "extension '%s'" "\n", name);
#line 2210 "trace/trace-ui.h"
        }
    }
}

#define TRACE_XKEYMAP_VENDOR_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_XKEYMAP_VENDOR) || \
    false)

static inline void trace_xkeymap_vendor(const char *name)
{
    if (trace_event_get_state(TRACE_XKEYMAP_VENDOR)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 141 "../xemu/ui/trace-events"
            qemu_log("xkeymap_vendor " "vendor '%s'" "\n", name);
#line 2225 "trace/trace-ui.h"
        }
    }
}

#define TRACE_XKEYMAP_KEYCODES_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_XKEYMAP_KEYCODES) || \
    false)

static inline void trace_xkeymap_keycodes(const char *name)
{
    if (trace_event_get_state(TRACE_XKEYMAP_KEYCODES)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 142 "../xemu/ui/trace-events"
            qemu_log("xkeymap_keycodes " "keycodes '%s'" "\n", name);
#line 2240 "trace/trace-ui.h"
        }
    }
}

#define TRACE_XKEYMAP_KEYMAP_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_XKEYMAP_KEYMAP) || \
    false)

static inline void trace_xkeymap_keymap(const char *name)
{
    if (trace_event_get_state(TRACE_XKEYMAP_KEYMAP)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 143 "../xemu/ui/trace-events"
            qemu_log("xkeymap_keymap " "keymap '%s'" "\n", name);
#line 2255 "trace/trace-ui.h"
        }
    }
}

#define TRACE_CLIPBOARD_CHECK_SERIAL_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_CLIPBOARD_CHECK_SERIAL) || \
    false)

static inline void trace_clipboard_check_serial(int cur, int recv, bool ok)
{
    if (trace_event_get_state(TRACE_CLIPBOARD_CHECK_SERIAL)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 146 "../xemu/ui/trace-events"
            qemu_log("clipboard_check_serial " "cur:%d recv:%d %d" "\n", cur, recv, ok);
#line 2270 "trace/trace-ui.h"
        }
    }
}

#define TRACE_CLIPBOARD_RESET_SERIAL_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_CLIPBOARD_RESET_SERIAL) || \
    false)

static inline void trace_clipboard_reset_serial(void)
{
    if (trace_event_get_state(TRACE_CLIPBOARD_RESET_SERIAL)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 147 "../xemu/ui/trace-events"
            qemu_log("clipboard_reset_serial " "" "\n");
#line 2285 "trace/trace-ui.h"
        }
    }
}

#define TRACE_VDAGENT_FE_OPEN_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_VDAGENT_FE_OPEN) || \
    false)

static inline void trace_vdagent_fe_open(bool fe_open)
{
    if (trace_event_get_state(TRACE_VDAGENT_FE_OPEN)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 150 "../xemu/ui/trace-events"
            qemu_log("vdagent_fe_open " "fe_open=%d" "\n", fe_open);
#line 2300 "trace/trace-ui.h"
        }
    }
}

#define TRACE_VDAGENT_CLOSE_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_VDAGENT_CLOSE) || \
    false)

static inline void trace_vdagent_close(void)
{
    if (trace_event_get_state(TRACE_VDAGENT_CLOSE)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 151 "../xemu/ui/trace-events"
            qemu_log("vdagent_close " "" "\n");
#line 2315 "trace/trace-ui.h"
        }
    }
}

#define TRACE_VDAGENT_DISCONNECT_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_VDAGENT_DISCONNECT) || \
    false)

static inline void trace_vdagent_disconnect(void)
{
    if (trace_event_get_state(TRACE_VDAGENT_DISCONNECT)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 152 "../xemu/ui/trace-events"
            qemu_log("vdagent_disconnect " "" "\n");
#line 2330 "trace/trace-ui.h"
        }
    }
}

#define TRACE_VDAGENT_SEND_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_VDAGENT_SEND) || \
    false)

static inline void trace_vdagent_send(const char *name)
{
    if (trace_event_get_state(TRACE_VDAGENT_SEND)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 153 "../xemu/ui/trace-events"
            qemu_log("vdagent_send " "msg %s" "\n", name);
#line 2345 "trace/trace-ui.h"
        }
    }
}

#define TRACE_VDAGENT_SEND_EMPTY_CLIPBOARD_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_VDAGENT_SEND_EMPTY_CLIPBOARD) || \
    false)

static inline void trace_vdagent_send_empty_clipboard(void)
{
    if (trace_event_get_state(TRACE_VDAGENT_SEND_EMPTY_CLIPBOARD)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 154 "../xemu/ui/trace-events"
            qemu_log("vdagent_send_empty_clipboard " "" "\n");
#line 2360 "trace/trace-ui.h"
        }
    }
}

#define TRACE_VDAGENT_RECV_CHUNK_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_VDAGENT_RECV_CHUNK) || \
    false)

static inline void trace_vdagent_recv_chunk(uint32_t size)
{
    if (trace_event_get_state(TRACE_VDAGENT_RECV_CHUNK)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 155 "../xemu/ui/trace-events"
            qemu_log("vdagent_recv_chunk " "size %d" "\n", size);
#line 2375 "trace/trace-ui.h"
        }
    }
}

#define TRACE_VDAGENT_RECV_MSG_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_VDAGENT_RECV_MSG) || \
    false)

static inline void trace_vdagent_recv_msg(const char *name, uint32_t size)
{
    if (trace_event_get_state(TRACE_VDAGENT_RECV_MSG)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 156 "../xemu/ui/trace-events"
            qemu_log("vdagent_recv_msg " "msg %s, size %d" "\n", name, size);
#line 2390 "trace/trace-ui.h"
        }
    }
}

#define TRACE_VDAGENT_PEER_CAP_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_VDAGENT_PEER_CAP) || \
    false)

static inline void trace_vdagent_peer_cap(const char *name)
{
    if (trace_event_get_state(TRACE_VDAGENT_PEER_CAP)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 157 "../xemu/ui/trace-events"
            qemu_log("vdagent_peer_cap " "cap %s" "\n", name);
#line 2405 "trace/trace-ui.h"
        }
    }
}

#define TRACE_VDAGENT_CB_GRAB_SELECTION_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_VDAGENT_CB_GRAB_SELECTION) || \
    false)

static inline void trace_vdagent_cb_grab_selection(const char *name)
{
    if (trace_event_get_state(TRACE_VDAGENT_CB_GRAB_SELECTION)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 158 "../xemu/ui/trace-events"
            qemu_log("vdagent_cb_grab_selection " "selection %s" "\n", name);
#line 2420 "trace/trace-ui.h"
        }
    }
}

#define TRACE_VDAGENT_CB_GRAB_DISCARD_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_VDAGENT_CB_GRAB_DISCARD) || \
    false)

static inline void trace_vdagent_cb_grab_discard(const char *name, int cur, int recv)
{
    if (trace_event_get_state(TRACE_VDAGENT_CB_GRAB_DISCARD)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 159 "../xemu/ui/trace-events"
            qemu_log("vdagent_cb_grab_discard " "selection %s, cur:%d recv:%d" "\n", name, cur, recv);
#line 2435 "trace/trace-ui.h"
        }
    }
}

#define TRACE_VDAGENT_CB_GRAB_TYPE_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_VDAGENT_CB_GRAB_TYPE) || \
    false)

static inline void trace_vdagent_cb_grab_type(const char *name)
{
    if (trace_event_get_state(TRACE_VDAGENT_CB_GRAB_TYPE)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 160 "../xemu/ui/trace-events"
            qemu_log("vdagent_cb_grab_type " "type %s" "\n", name);
#line 2450 "trace/trace-ui.h"
        }
    }
}

#define TRACE_VDAGENT_CB_SERIAL_DISCARD_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_VDAGENT_CB_SERIAL_DISCARD) || \
    false)

static inline void trace_vdagent_cb_serial_discard(uint32_t current, uint32_t received)
{
    if (trace_event_get_state(TRACE_VDAGENT_CB_SERIAL_DISCARD)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 161 "../xemu/ui/trace-events"
            qemu_log("vdagent_cb_serial_discard " "current=%u, received=%u" "\n", current, received);
#line 2465 "trace/trace-ui.h"
        }
    }
}

#define TRACE_DBUS_REGISTERED_LISTENER_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_DBUS_REGISTERED_LISTENER) || \
    false)

static inline void trace_dbus_registered_listener(const char *bus_name)
{
    if (trace_event_get_state(TRACE_DBUS_REGISTERED_LISTENER)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 164 "../xemu/ui/trace-events"
            qemu_log("dbus_registered_listener " "peer %s" "\n", bus_name);
#line 2480 "trace/trace-ui.h"
        }
    }
}

#define TRACE_DBUS_LISTENER_VANISHED_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_DBUS_LISTENER_VANISHED) || \
    false)

static inline void trace_dbus_listener_vanished(const char *bus_name)
{
    if (trace_event_get_state(TRACE_DBUS_LISTENER_VANISHED)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 165 "../xemu/ui/trace-events"
            qemu_log("dbus_listener_vanished " "peer %s" "\n", bus_name);
#line 2495 "trace/trace-ui.h"
        }
    }
}

#define TRACE_DBUS_KBD_PRESS_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_DBUS_KBD_PRESS) || \
    false)

static inline void trace_dbus_kbd_press(unsigned int keycode)
{
    if (trace_event_get_state(TRACE_DBUS_KBD_PRESS)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 166 "../xemu/ui/trace-events"
            qemu_log("dbus_kbd_press " "keycode %u" "\n", keycode);
#line 2510 "trace/trace-ui.h"
        }
    }
}

#define TRACE_DBUS_KBD_RELEASE_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_DBUS_KBD_RELEASE) || \
    false)

static inline void trace_dbus_kbd_release(unsigned int keycode)
{
    if (trace_event_get_state(TRACE_DBUS_KBD_RELEASE)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 167 "../xemu/ui/trace-events"
            qemu_log("dbus_kbd_release " "keycode %u" "\n", keycode);
#line 2525 "trace/trace-ui.h"
        }
    }
}

#define TRACE_DBUS_MOUSE_PRESS_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_DBUS_MOUSE_PRESS) || \
    false)

static inline void trace_dbus_mouse_press(unsigned int button)
{
    if (trace_event_get_state(TRACE_DBUS_MOUSE_PRESS)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 168 "../xemu/ui/trace-events"
            qemu_log("dbus_mouse_press " "button %u" "\n", button);
#line 2540 "trace/trace-ui.h"
        }
    }
}

#define TRACE_DBUS_MOUSE_RELEASE_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_DBUS_MOUSE_RELEASE) || \
    false)

static inline void trace_dbus_mouse_release(unsigned int button)
{
    if (trace_event_get_state(TRACE_DBUS_MOUSE_RELEASE)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 169 "../xemu/ui/trace-events"
            qemu_log("dbus_mouse_release " "button %u" "\n", button);
#line 2555 "trace/trace-ui.h"
        }
    }
}

#define TRACE_DBUS_MOUSE_SET_POS_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_DBUS_MOUSE_SET_POS) || \
    false)

static inline void trace_dbus_mouse_set_pos(unsigned int x, unsigned int y)
{
    if (trace_event_get_state(TRACE_DBUS_MOUSE_SET_POS)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 170 "../xemu/ui/trace-events"
            qemu_log("dbus_mouse_set_pos " "x=%u, y=%u" "\n", x, y);
#line 2570 "trace/trace-ui.h"
        }
    }
}

#define TRACE_DBUS_MOUSE_REL_MOTION_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_DBUS_MOUSE_REL_MOTION) || \
    false)

static inline void trace_dbus_mouse_rel_motion(int dx, int dy)
{
    if (trace_event_get_state(TRACE_DBUS_MOUSE_REL_MOTION)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 171 "../xemu/ui/trace-events"
            qemu_log("dbus_mouse_rel_motion " "dx=%d, dy=%d" "\n", dx, dy);
#line 2585 "trace/trace-ui.h"
        }
    }
}

#define TRACE_DBUS_TOUCH_SEND_EVENT_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_DBUS_TOUCH_SEND_EVENT) || \
    false)

static inline void trace_dbus_touch_send_event(unsigned int kind, uint32_t num_slot, uint32_t x, uint32_t y)
{
    if (trace_event_get_state(TRACE_DBUS_TOUCH_SEND_EVENT)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 172 "../xemu/ui/trace-events"
            qemu_log("dbus_touch_send_event " "kind=%u, num_slot=%u, x=%d, y=%d" "\n", kind, num_slot, x, y);
#line 2600 "trace/trace-ui.h"
        }
    }
}

#define TRACE_DBUS_UPDATE_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_DBUS_UPDATE) || \
    false)

static inline void trace_dbus_update(int x, int y, int w, int h)
{
    if (trace_event_get_state(TRACE_DBUS_UPDATE)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 173 "../xemu/ui/trace-events"
            qemu_log("dbus_update " "x=%d, y=%d, w=%d, h=%d" "\n", x, y, w, h);
#line 2615 "trace/trace-ui.h"
        }
    }
}

#define TRACE_DBUS_UPDATE_GL_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_DBUS_UPDATE_GL) || \
    false)

static inline void trace_dbus_update_gl(int x, int y, int w, int h)
{
    if (trace_event_get_state(TRACE_DBUS_UPDATE_GL)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 174 "../xemu/ui/trace-events"
            qemu_log("dbus_update_gl " "x=%d, y=%d, w=%d, h=%d" "\n", x, y, w, h);
#line 2630 "trace/trace-ui.h"
        }
    }
}

#define TRACE_DBUS_CLIPBOARD_GRAB_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_DBUS_CLIPBOARD_GRAB) || \
    false)

static inline void trace_dbus_clipboard_grab(int selection, unsigned int serial)
{
    if (trace_event_get_state(TRACE_DBUS_CLIPBOARD_GRAB)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 175 "../xemu/ui/trace-events"
            qemu_log("dbus_clipboard_grab " "selection=%d serial=%u" "\n", selection, serial);
#line 2645 "trace/trace-ui.h"
        }
    }
}

#define TRACE_DBUS_CLIPBOARD_GRAB_FAILED_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_DBUS_CLIPBOARD_GRAB_FAILED) || \
    false)

static inline void trace_dbus_clipboard_grab_failed(void)
{
    if (trace_event_get_state(TRACE_DBUS_CLIPBOARD_GRAB_FAILED)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 176 "../xemu/ui/trace-events"
            qemu_log("dbus_clipboard_grab_failed " "" "\n");
#line 2660 "trace/trace-ui.h"
        }
    }
}

#define TRACE_DBUS_CLIPBOARD_QEMU_REQUEST_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_DBUS_CLIPBOARD_QEMU_REQUEST) || \
    false)

static inline void trace_dbus_clipboard_qemu_request(int type)
{
    if (trace_event_get_state(TRACE_DBUS_CLIPBOARD_QEMU_REQUEST)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 177 "../xemu/ui/trace-events"
            qemu_log("dbus_clipboard_qemu_request " "type=%d" "\n", type);
#line 2675 "trace/trace-ui.h"
        }
    }
}

#define TRACE_DBUS_CLIPBOARD_REGISTER_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_DBUS_CLIPBOARD_REGISTER) || \
    false)

static inline void trace_dbus_clipboard_register(const char *bus_name)
{
    if (trace_event_get_state(TRACE_DBUS_CLIPBOARD_REGISTER)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 178 "../xemu/ui/trace-events"
            qemu_log("dbus_clipboard_register " "peer %s" "\n", bus_name);
#line 2690 "trace/trace-ui.h"
        }
    }
}

#define TRACE_DBUS_CLIPBOARD_UNREGISTER_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_DBUS_CLIPBOARD_UNREGISTER) || \
    false)

static inline void trace_dbus_clipboard_unregister(const char *bus_name)
{
    if (trace_event_get_state(TRACE_DBUS_CLIPBOARD_UNREGISTER)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 179 "../xemu/ui/trace-events"
            qemu_log("dbus_clipboard_unregister " "peer %s" "\n", bus_name);
#line 2705 "trace/trace-ui.h"
        }
    }
}

#define TRACE_DBUS_SCANOUT_TEXTURE_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_DBUS_SCANOUT_TEXTURE) || \
    false)

static inline void trace_dbus_scanout_texture(uint32_t tex_id, bool backing_y_0_top, uint32_t backing_width, uint32_t backing_height, uint32_t x, uint32_t y, uint32_t w, uint32_t h)
{
    if (trace_event_get_state(TRACE_DBUS_SCANOUT_TEXTURE)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 180 "../xemu/ui/trace-events"
            qemu_log("dbus_scanout_texture " "tex_id:%u y0top:%d back:%ux%u %u+%u-%ux%u" "\n", tex_id, backing_y_0_top, backing_width, backing_height, x, y, w, h);
#line 2720 "trace/trace-ui.h"
        }
    }
}

#define TRACE_DBUS_GL_GFX_SWITCH_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_DBUS_GL_GFX_SWITCH) || \
    false)

static inline void trace_dbus_gl_gfx_switch(void *p)
{
    if (trace_event_get_state(TRACE_DBUS_GL_GFX_SWITCH)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 181 "../xemu/ui/trace-events"
            qemu_log("dbus_gl_gfx_switch " "surf: %p" "\n", p);
#line 2735 "trace/trace-ui.h"
        }
    }
}

#define TRACE_DBUS_FILTER_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_DBUS_FILTER) || \
    false)

static inline void trace_dbus_filter(unsigned int serial, unsigned int filter)
{
    if (trace_event_get_state(TRACE_DBUS_FILTER)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 182 "../xemu/ui/trace-events"
            qemu_log("dbus_filter " "serial=%u (<= %u)" "\n", serial, filter);
#line 2750 "trace/trace-ui.h"
        }
    }
}

#define TRACE_DBUS_CAN_SHARE_MAP_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_DBUS_CAN_SHARE_MAP) || \
    false)

static inline void trace_dbus_can_share_map(bool share)
{
    if (trace_event_get_state(TRACE_DBUS_CAN_SHARE_MAP)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 183 "../xemu/ui/trace-events"
            qemu_log("dbus_can_share_map " "can_share_map: %d" "\n", share);
#line 2765 "trace/trace-ui.h"
        }
    }
}

#define TRACE_EGL_INIT_D3D11_DEVICE_BACKEND_DSTATE() ( \
    trace_event_get_state_dynamic_by_id(TRACE_EGL_INIT_D3D11_DEVICE) || \
    false)

static inline void trace_egl_init_d3d11_device(void *p)
{
    if (trace_event_get_state(TRACE_EGL_INIT_D3D11_DEVICE)) {
        if (qemu_loglevel_mask(LOG_TRACE)) {
#line 186 "../xemu/ui/trace-events"
            qemu_log("egl_init_d3d11_device " "d3d device: %p" "\n", p);
#line 2780 "trace/trace-ui.h"
        }
    }
}
#endif /* TRACE_UI_GENERATED_TRACERS_H */
