aboutsummaryrefslogtreecommitdiff
path: root/hw/display/trace-events
diff options
context:
space:
mode:
authorCarwyn Ellis <carwynellis@gmail.com>2022-02-06 18:39:55 +0000
committerGerd Hoffmann <kraxel@redhat.com>2022-03-04 11:38:07 +0100
commit02218aedb1c851340207db89b8eeb96843fed241 (patch)
treec67d720125bb00f459d77f53af350fbfbf1a285d /hw/display/trace-events
parent4377683df969e715e3cb2dbd258e44f9ff51f788 (diff)
hw/display/vmware_vga: replace fprintf calls with trace events
Debug output was always being sent to STDERR. This has been replaced with trace events. Signed-off-by: Carwyn Ellis <carwynellis@gmail.com> Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org> Message-Id: <20220206183956.10694-2-carwynellis@gmail.com> Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Diffstat (limited to 'hw/display/trace-events')
-rw-r--r--hw/display/trace-events3
1 files changed, 3 insertions, 0 deletions
diff --git a/hw/display/trace-events b/hw/display/trace-events
index 4a687d1b8e..91efc88f04 100644
--- a/hw/display/trace-events
+++ b/hw/display/trace-events
@@ -21,6 +21,9 @@ vmware_palette_write(uint32_t index, uint32_t value) "index %d, value 0x%x"
vmware_scratch_read(uint32_t index, uint32_t value) "index %d, value 0x%x"
vmware_scratch_write(uint32_t index, uint32_t value) "index %d, value 0x%x"
vmware_setmode(uint32_t w, uint32_t h, uint32_t bpp) "%dx%d @ %d bpp"
+vmware_verify_rect_less_than_zero(const char *name, const char *param, int x) "%s: %s was < 0 (%d)"
+vmware_verify_rect_greater_than_bound(const char *name, const char *param, int bound, int x) "%s: %s was > %d (%d)"
+vmware_verify_rect_surface_bound_exceeded(const char *name, const char *component, int bound, const char *param1, int value1, const char *param2, int value2) "%s: %s > %d (%s: %d, %s: %d)"
# virtio-gpu-base.c
virtio_gpu_features(bool virgl) "virgl %d"