diff options
author | Lionel Landwerlin <lionel.g.landwerlin@intel.com> | 2021-04-22 21:45:31 +0300 |
---|---|---|
committer | Lionel Landwerlin <lionel.g.landwerlin@intel.com> | 2021-05-21 13:48:04 +0300 |
commit | a7016bde81f6e6ee9f2ded3c091c56766a6adc46 (patch) | |
tree | 17cc19e8b9c32ec5d224c2e3f2b984a49a83c822 /tools | |
parent | b4a876b3a1a871f43070c8756e440004c97f829a (diff) |
tools/i915-perf-recorder: print out oa format
Just so that we can tell how the HW is configured.
Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Reviewed-by: Umesh Nerlige Ramappa <umesh.nerlige.ramappa@intel.com>
Diffstat (limited to 'tools')
-rw-r--r-- | tools/i915-perf/i915_perf_recorder.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/tools/i915-perf/i915_perf_recorder.c b/tools/i915-perf/i915_perf_recorder.c index adc41c29..3a8ee46a 100644 --- a/tools/i915-perf/i915_perf_recorder.c +++ b/tools/i915-perf/i915_perf_recorder.c @@ -1001,8 +1001,9 @@ 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=%"PRIu64" oa_exponent=%u\n", - ctx.metric_set->perf_oa_metrics_set, ctx.oa_exponent); + fprintf(stdout, "Opening perf stream with metric_id=%"PRIu64" oa_exponent=%u oa_format=%u\n", + ctx.metric_set->perf_oa_metrics_set, ctx.oa_exponent, + ctx.metric_set->perf_oa_format); ctx.perf_fd = perf_open(&ctx); if (ctx.perf_fd < 0) { |