summaryrefslogtreecommitdiff
path: root/hw
diff options
context:
space:
mode:
authorAnthony Liguori <aliguori@us.ibm.com>2012-03-12 20:49:13 -0500
committerAnthony Liguori <aliguori@us.ibm.com>2012-03-12 20:49:13 -0500
commitcbedde09698d3506da429ae305dcea7f7deee554 (patch)
treedf6a1e3c3c8d72ed7ba8f19f4bc97c76fa0b21d4 /hw
parent1d2cb1a2d81af4a760aac18521e11e268ad3711b (diff)
parent727500181a2b2470a676e021205d170ede23beb7 (diff)
downloadqemu-cbedde09698d3506da429ae305dcea7f7deee554.tar.gz
Merge remote-tracking branch 'stefanha/tracing' into staging
* stefanha/tracing: vga: add trace event for ppm_save console: add some trace events maintainers: Add docs/tracing.txt to Tracing docs: correct ./configure line in tracing.txt trace: make trace_thread_create() use its function arg tracetool: Omit useless QEMU_*_ENABLED() check trace: Provide a per-event status define for conditional compilation
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;