From 727500181a2b2470a676e021205d170ede23beb7 Mon Sep 17 00:00:00 2001 From: Alon Levy Date: Sun, 11 Mar 2012 18:11:27 +0200 Subject: vga: add trace event for ppm_save Signed-off-by: Alon Levy Signed-off-by: Stefan Hajnoczi --- hw/vga.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'hw') diff --git a/hw/vga.c b/hw/vga.c index 5994f43..6dc98f6 100644 --- a/hw/vga.c +++ b/hw/vga.c @@ -30,6 +30,7 @@ #include "pixel_ops.h" #include "qemu-timer.h" #include "xen.h" +#include "trace.h" //#define DEBUG_VGA //#define DEBUG_VGA_MEM @@ -2372,6 +2373,7 @@ int ppm_save(const char *filename, struct DisplaySurface *ds) int ret; char *linebuf, *pbuf; + trace_ppm_save(filename, ds); f = fopen(filename, "wb"); if (!f) return -1; -- cgit v1.1