From 5d28b0e960cd3a99f7e013900a0e12468720b402 Mon Sep 17 00:00:00 2001 From: Stefan Weil Date: Sun, 10 Nov 2013 16:04:16 +0100 Subject: console: Replace conditional debug messages by trace methods Signed-off-by: Stefan Weil Reviewed-by: Gerd Hoffmann Signed-off-by: Michael Tokarev --- trace-events | 2 ++ 1 file changed, 2 insertions(+) (limited to 'trace-events') diff --git a/trace-events b/trace-events index 8695e9e5b7..d196234489 100644 --- a/trace-events +++ b/trace-events @@ -1010,6 +1010,8 @@ dma_map_wait(void *dbs) "dbs=%p" # ui/console.c console_gfx_new(void) "" +console_putchar_csi(int esc_param0, int esc_param1, int ch, int nb_esc_params) "escape sequence CSI%d;%d%c, %d parameters" +console_putchar_unhandled(int ch) "unhandled escape character '%c'" console_txt_new(int w, int h) "%dx%d" console_select(int nr) "%d" console_refresh(int interval) "interval %d ms" -- cgit v1.2.3 From ef0dd982cb7dbff3ea234fe48187d556e69d6765 Mon Sep 17 00:00:00 2001 From: Stefan Weil Date: Sun, 10 Nov 2013 16:24:02 +0100 Subject: gtk: Replace conditional debug messages by trace methods Signed-off-by: Stefan Weil Signed-off-by: Michael Tokarev --- trace-events | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'trace-events') diff --git a/trace-events b/trace-events index d196234489..bc6788f105 100644 --- a/trace-events +++ b/trace-events @@ -1022,6 +1022,11 @@ displaychangelistener_register(void *dcl, const char *name) "%p [ %s ]" displaychangelistener_unregister(void *dcl, const char *name) "%p [ %s ]" ppm_save(const char *filename, void *display_surface) "%s surface=%p" +# ui/gtk.c +gd_switch(int width, int height) "width=%d, height=%d" +gd_update(int x, int y, int w, int h) "x=%d, y=%d, w=%d, h=%d" +gd_key_event(int gdk_keycode, int qemu_keycode, const char *action) "translated GDK keycode %d to QEMU keycode %d (%s)" + # hw/display/vmware_vga.c vmware_value_read(uint32_t index, uint32_t value) "index %d, value 0x%x" vmware_value_write(uint32_t index, uint32_t value) "index %d, value 0x%x" -- cgit v1.2.3