summaryrefslogtreecommitdiff
path: root/perf/cairo-analyse-trace.c
diff options
context:
space:
mode:
Diffstat (limited to 'perf/cairo-analyse-trace.c')
-rw-r--r--perf/cairo-analyse-trace.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/perf/cairo-analyse-trace.c b/perf/cairo-analyse-trace.c
index b7d2a0442..1fee3cfd5 100644
--- a/perf/cairo-analyse-trace.c
+++ b/perf/cairo-analyse-trace.c
@@ -473,7 +473,9 @@ cairo_perf_trace (cairo_perf_t *perf,
CAIRO_BOILERPLATE_MODE_PERF,
0,
&args.closure);
- args.surface = cairo_surface_create_observer (real);
+ args.surface =
+ cairo_surface_create_observer (real,
+ CAIRO_SURFACE_OBSERVER_RECORD_OPERATIONS);
cairo_surface_destroy (real);
if (cairo_surface_status (args.surface)) {
fprintf (stderr,