From 1972dc5f6e7a531598d5da9576ebaf305644a199 Mon Sep 17 00:00:00 2001 From: Chris Wilson Date: Thu, 20 Aug 2020 19:25:18 +0100 Subject: i915/perf: 32bit printf cleanup Use PRI[du]64 as necessary for 32bit builds. Signed-off-by: Chris Wilson Reviewed-by: Lionel Landwerlin Reviewed-by: Petri Latvala --- tools/i915-perf/i915_perf_recorder.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tools/i915-perf') diff --git a/tools/i915-perf/i915_perf_recorder.c b/tools/i915-perf/i915_perf_recorder.c index 7671f39b..adc41c29 100644 --- a/tools/i915-perf/i915_perf_recorder.c +++ b/tools/i915-perf/i915_perf_recorder.c @@ -1001,7 +1001,7 @@ main(int argc, char *argv[]) } ctx.oa_exponent = oa_exponent_for_period(ctx.timestamp_frequency, perf_period); - fprintf(stdout, "Opening perf stream with metric_id=%lu oa_exponent=%u\n", + fprintf(stdout, "Opening perf stream with metric_id=%"PRIu64" oa_exponent=%u\n", ctx.metric_set->perf_oa_metrics_set, ctx.oa_exponent); ctx.perf_fd = perf_open(&ctx); -- cgit v1.2.3