xref: /openbmc/qemu/ui/trace-events (revision 6598f0cd)
1# See docs/devel/tracing.txt for syntax documentation.
2
3# ui/console.c
4console_gfx_new(void) ""
5console_gfx_reuse(int index) "%d"
6console_gfx_close(int index) "%d"
7console_putchar_csi(int esc_param0, int esc_param1, int ch, int nb_esc_params) "escape sequence CSI%d;%d%c, %d parameters"
8console_putchar_unhandled(int ch) "unhandled escape character '%c'"
9console_txt_new(int w, int h) "%dx%d"
10console_select(int nr) "%d"
11console_refresh(int interval) "interval %d ms"
12displaysurface_create(void *display_surface, int w, int h) "surface=%p, %dx%d"
13displaysurface_create_from(void *display_surface, int w, int h, uint32_t format) "surface=%p, %dx%d, format 0x%x"
14displaysurface_create_pixman(void *display_surface) "surface=%p"
15displaysurface_free(void *display_surface) "surface=%p"
16displaychangelistener_register(void *dcl, const char *name) "%p [ %s ]"
17displaychangelistener_unregister(void *dcl, const char *name) "%p [ %s ]"
18ppm_save(const char *filename, void *display_surface) "%s surface=%p"
19
20# ui/gtk.c
21gd_switch(const char *tab, int width, int height) "tab=%s, width=%d, height=%d"
22gd_update(const char *tab, int x, int y, int w, int h) "tab=%s, x=%d, y=%d, w=%d, h=%d"
23gd_key_event(const char *tab, int gdk_keycode, int qkeycode, const char *action) "tab=%s, translated GDK keycode %d to QKeyCode %d (%s)"
24gd_grab(const char *tab, const char *device, const char *reason) "tab=%s, dev=%s, reason=%s"
25gd_ungrab(const char *tab, const char *device) "tab=%s, dev=%s"
26gd_keymap_windowing(const char *name) "backend=%s"
27
28# ui/vnc.c
29vnc_key_guest_leds(bool caps, bool num, bool scroll) "caps %d, num %d, scroll %d"
30vnc_key_map_init(const char *layout) "%s"
31vnc_key_event_ext(bool down, int sym, int keycode, const char *name) "down %d, sym 0x%x, keycode 0x%x [%s]"
32vnc_key_event_map(bool down, int sym, int keycode, const char *name) "down %d, sym 0x%x -> keycode 0x%x [%s]"
33vnc_key_sync_numlock(bool on) "%d"
34vnc_key_sync_capslock(bool on) "%d"
35vnc_client_eof(void *state, void *ioc) "VNC client EOF state=%p ioc=%p"
36vnc_client_io_error(void *state, void *ioc, const char *msg) "VNC client I/O error state=%p ioc=%p errmsg=%s"
37vnc_client_connect(void *state, void *ioc) "VNC client connect state=%p ioc=%p"
38vnc_client_disconnect_start(void *state, void *ioc) "VNC client disconnect start state=%p ioc=%p"
39vnc_client_disconnect_finish(void *state, void *ioc) "VNC client disconnect finish state=%p ioc=%p"
40vnc_client_io_wrap(void *state, void *ioc, const char *type) "VNC client I/O wrap state=%p ioc=%p type=%s"
41vnc_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) "VNC client throttle threshold state=%p ioc=%p oldoffset=%zu newoffset=%zu width=%d height=%d bpp=%d audio=%p"
42vnc_client_throttle_incremental(void *state, void *ioc, int job_update, size_t offset) "VNC client throttle incremental state=%p ioc=%p job-update=%d offset=%zu"
43vnc_client_throttle_forced(void *state, void *ioc, int job_update, size_t offset) "VNC client throttle forced state=%p ioc=%p job-update=%d offset=%zu"
44vnc_client_throttle_audio(void *state, void *ioc, size_t offset) "VNC client throttle audio state=%p ioc=%p offset=%zu"
45vnc_client_unthrottle_forced(void *state, void *ioc) "VNC client unthrottle forced offset state=%p ioc=%p"
46vnc_client_unthrottle_incremental(void *state, void *ioc, size_t offset) "VNC client unthrottle incremental state=%p ioc=%p offset=%zu"
47vnc_client_output_limit(void *state, void *ioc, size_t offset, size_t threshold) "VNC client output limit state=%p ioc=%p offset=%zu threshold=%zu"
48vnc_auth_init(void *display, int websock, int auth, int subauth) "VNC auth init state=%p websock=%d auth=%d subauth=%d"
49vnc_auth_start(void *state, int method) "VNC client auth start state=%p method=%d"
50vnc_auth_pass(void *state, int method) "VNC client auth passed state=%p method=%d"
51vnc_auth_fail(void *state, int method, const char *message, const char *reason) "VNC client auth failed state=%p method=%d message=%s reason=%s"
52vnc_auth_reject(void *state, int expect, int got) "VNC client auth rejected state=%p method expected=%d got=%d"
53vnc_auth_vencrypt_version(void *state, int major, int minor) "VNC client auth vencrypt version state=%p major=%d minor=%d"
54vnc_auth_vencrypt_subauth(void *state, int auth) "VNC client auth vencrypt subauth state=%p auth=%d"
55vnc_auth_sasl_mech_list(void *state, const char *mechs) "VNC client auth SASL state=%p mechlist=%s"
56vnc_auth_sasl_mech_choose(void *state, const char *mech) "VNC client auth SASL state=%p mech=%s"
57vnc_auth_sasl_start(void *state, const void *clientdata, size_t clientlen, const void *serverdata, size_t severlen, int ret) "VNC client auth SASL start state=%p clientdata=%p clientlen=%zu serverdata=%p serverlen=%zu ret=%d"
58vnc_auth_sasl_step(void *state, const void *clientdata, size_t clientlen, const void *serverdata, size_t severlen, int ret) "VNC client auth SASL step state=%p clientdata=%p clientlen=%zu serverdata=%p serverlen=%zu ret=%d"
59vnc_auth_sasl_ssf(void *state, int ssf) "VNC client auth SASL SSF state=%p size=%d"
60vnc_auth_sasl_username(void *state, const char *name) "VNC client auth SASL user state=%p name=%s"
61vnc_auth_sasl_acl(void *state, int allow) "VNC client auth SASL ACL state=%p allow=%d"
62
63
64# ui/input.c
65input_event_key_number(int conidx, int number, const char *qcode, bool down) "con %d, key number 0x%x [%s], down %d"
66input_event_key_qcode(int conidx, const char *qcode, bool down) "con %d, key qcode %s, down %d"
67input_event_btn(int conidx, const char *btn, bool down) "con %d, button %s, down %d"
68input_event_rel(int conidx, const char *axis, int value) "con %d, axis %s, value %d"
69input_event_abs(int conidx, const char *axis, int value) "con %d, axis %s, value 0x%x"
70input_event_sync(void) ""
71input_mouse_mode(int absolute) "absolute %d"
72
73# ui/spice-display.c
74qemu_spice_add_memslot(int qid, uint32_t slot_id, unsigned long virt_start, unsigned long virt_end, int async) "%d %u: host virt 0x%lx - 0x%lx async=%d"
75qemu_spice_del_memslot(int qid, uint32_t gid, uint32_t slot_id) "%d gid=%u sid=%u"
76qemu_spice_create_primary_surface(int qid, uint32_t sid, void *surface, int async) "%d sid=%u surface=%p async=%d"
77qemu_spice_destroy_primary_surface(int qid, uint32_t sid, int async) "%d sid=%u async=%d"
78qemu_spice_wakeup(uint32_t qid) "%d"
79qemu_spice_create_update(uint32_t left, uint32_t right, uint32_t top, uint32_t bottom) "lr %d -> %d,  tb -> %d -> %d"
80qemu_spice_display_update(int qid, uint32_t x, uint32_t y, uint32_t w, uint32_t h) "%d +%d+%d %dx%d"
81qemu_spice_display_surface(int qid, uint32_t w, uint32_t h, int fast) "%d %dx%d, fast %d"
82qemu_spice_display_refresh(int qid, int notify) "%d notify %d"
83qemu_spice_ui_info(int qid, uint32_t width, uint32_t height) "%d %dx%d"
84
85qemu_spice_gl_surface(int qid, uint32_t w, uint32_t h, uint32_t fourcc) "%d %dx%d, fourcc 0x%x"
86qemu_spice_gl_scanout_disable(int qid) "%d"
87qemu_spice_gl_scanout_texture(int qid, uint32_t w, uint32_t h, uint32_t fourcc) "%d %dx%d, fourcc 0x%x"
88qemu_spice_gl_cursor(int qid, bool enabled, bool hotspot) "%d enabled %d, hotspot %d"
89qemu_spice_gl_forward_dmabuf(int qid, uint32_t width, uint32_t height) "%d %dx%d"
90qemu_spice_gl_render_dmabuf(int qid, uint32_t width, uint32_t height) "%d %dx%d"
91qemu_spice_gl_update(int qid, uint32_t x, uint32_t y, uint32_t w, uint32_t h) "%d +%d+%d %dx%d"
92
93# ui/keymaps.c
94keymap_parse(const char *file) "file %s"
95keymap_add(int sym, int code, const char *line) "sym=0x%04x code=0x%04x (line: %s)"
96keymap_unmapped(int sym) "sym=0x%04x"
97
98# ui/x_keymap.c
99xkeymap_extension(const char *name) "extension '%s'"
100xkeymap_vendor(const char *name) "vendor '%s'"
101xkeymap_keycodes(const char *name) "keycodes '%s'"
102xkeymap_keymap(const char *name) "keymap '%s'"
103