aboutsummaryrefslogtreecommitdiff
path: root/ui/trace-events
diff options
context:
space:
mode:
authorMarc-André Lureau <marcandre.lureau@redhat.com>2019-11-08 15:23:15 +0400
committerMarc-André Lureau <marcandre.lureau@redhat.com>2020-01-02 13:54:57 +0400
commit46e5841cd2d8ffbaaa95ee7a1358e9650f9a1b93 (patch)
tree5b82378ec773c6bd80123cfb2c571b61cae10274 /ui/trace-events
parent4d6316218bf7bf3b8c7c7165b072cc314511a7a7 (diff)
ppm-save: pass opened fd
This will allow to pre-open the file before running the async finish handler and avoid potential monitor fdset races. (note: this is preliminary work for asynchronous screendump support) Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com> Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
Diffstat (limited to 'ui/trace-events')
-rw-r--r--ui/trace-events2
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/trace-events b/ui/trace-events
index 63de72a798..0dcda393c1 100644
--- a/ui/trace-events
+++ b/ui/trace-events
@@ -15,7 +15,7 @@ displaysurface_create_pixman(void *display_surface) "surface=%p"
displaysurface_free(void *display_surface) "surface=%p"
displaychangelistener_register(void *dcl, const char *name) "%p [ %s ]"
displaychangelistener_unregister(void *dcl, const char *name) "%p [ %s ]"
-ppm_save(const char *filename, void *display_surface) "%s surface=%p"
+ppm_save(int fd, void *display_surface) "fd=%d surface=%p"
# gtk.c
# gtk-gl-area.c