[cairo] [PATCH] cairo-trace: Print name of trace file.

Carl Worth cworth at cworth.org
Wed Jan 21 16:52:54 PST 2009


It's just a lot easier to use cairo-trace if it tells you
what file it just created.
---
 util/cairo-trace/trace.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/util/cairo-trace/trace.c b/util/cairo-trace/trace.c
index 8e29049..07fddfa 100644
--- a/util/cairo-trace/trace.c
+++ b/util/cairo-trace/trace.c
@@ -729,6 +729,8 @@ _init_logfile (void)
 	return false;
     }
 
+    printf("cairo-trace: Recording cairo trace data to %s\n", filename);
+
 done:
     atexit (_close_trace);
     _emit_header ();
-- 
1.5.6.5



More information about the cairo mailing list