diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2011-11-18 10:04:12 +0000 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2011-11-18 10:04:12 +0000 |
commit | 9ecc3aafca25cdf215ce74fe1edbddfdf18b3e10 (patch) | |
tree | 2f4e46a944bc1632f6d82170e70d210ae9ebbe1d /perf | |
parent | 2283ab969801ef6c610ad20a58693a5b55382c8a (diff) |
perf: Compile fix, add the index to cairo_perf_report_load()
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'perf')
-rw-r--r-- | perf/cairo-perf-graph-files.c | 2 | ||||
-rw-r--r-- | perf/cairo-perf-print.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/perf/cairo-perf-graph-files.c b/perf/cairo-perf-graph-files.c index 0ac4b7c2..1fd99e4a 100644 --- a/perf/cairo-perf-graph-files.c +++ b/perf/cairo-perf-graph-files.c @@ -576,7 +576,7 @@ main (int argc, reports = xmalloc ((argc-1) * sizeof (cairo_perf_report_t)); for (i = 1; i < argc; i++ ) - cairo_perf_report_load (&reports[i-1], argv[i], NULL); + cairo_perf_report_load (&reports[i-1], argv[i], i, NULL); cases = test_cases_from_reports (reports, argc-1); diff --git a/perf/cairo-perf-print.c b/perf/cairo-perf-print.c index 146f79ba..16a3ff4b 100644 --- a/perf/cairo-perf-print.c +++ b/perf/cairo-perf-print.c @@ -65,7 +65,7 @@ main (int argc, for (i = 1; i < argc; i++ ) { cairo_perf_report_t report; - cairo_perf_report_load (&report, argv[i], NULL); + cairo_perf_report_load (&report, argv[i], i, NULL); report_print (&report); } |