Re: [Qemu-devel] [PATCH] vga.c: move debug printfs to trace events

2013-04-08 Thread Stefan Hajnoczi
On Wed, Apr 03, 2013 at 12:25:03PM +0300, Alex DAMIAN wrote: > @@ -390,9 +386,7 @@ uint32_t vga_ioport_read(void *opaque, uint32_t addr) > break; > case VGA_SEQ_D: > val = s->sr[s->sr_index]; > -#ifdef DEBUG_VGA_REG > -printf("vga: read SR%x = 0x%02x\n

[Qemu-devel] [PATCH] vga.c: move debug printfs to trace events

2013-04-03 Thread Alex DAMIAN
From: Alexandru DAMIAN Move all register read/write log events from DEBUG ifdefs to the tracing infrastructure. Signed-off-by: Alexandru DAMIAN --- hw/vga.c | 45 +++-- trace-events |4 2 files changed, 15 insertions(+), 34 deletions(-) d