aboutsummaryrefslogtreecommitdiff
path: root/hw
diff options
context:
space:
mode:
authorAlon Levy <alevy@redhat.com>2012-03-11 18:11:27 +0200
committerStefan Hajnoczi <stefanha@linux.vnet.ibm.com>2012-03-12 10:30:27 +0000
commit727500181a2b2470a676e021205d170ede23beb7 (patch)
tree2126cee8ad90f5ef1f2bddaea432f6d8d268931b /hw
parentcdbc19dd8d2fd32d9a96401aaaed0c19da7896ca (diff)
vga: add trace event for ppm_save
Signed-off-by: Alon Levy <alevy@redhat.com> Signed-off-by: Stefan Hajnoczi <stefanha@linux.vnet.ibm.com>
Diffstat (limited to 'hw')
-rw-r--r--hw/vga.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/hw/vga.c b/hw/vga.c
index 5994f43b75..6dc98f6c2a 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;