[Intel-gfx] [PATCH i-g-t 19/29] igt/perf: update print_reports to print context ID
Lionel Landwerlin
lionel.g.landwerlin at intel.com
Tue Apr 25 22:32:51 UTC 2017
From: Robert Bragg <robert at sixbynine.org>
Signed-off-by: Robert Bragg <robert at sixbynine.org>
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin at intel.com>
---
tests/perf.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/tests/perf.c b/tests/perf.c
index ab8db296..d057d943 100644
--- a/tests/perf.c
+++ b/tests/perf.c
@@ -1215,6 +1215,9 @@ print_reports(uint32_t *oa_report0, uint32_t *oa_report1, int fmt)
const char *reason0 = gen8_read_report_reason(oa_report0);
const char *reason1 = gen8_read_report_reason(oa_report1);
+ igt_debug("CTX ID: 1st = %"PRIu32", 2nd = %"PRIu32"\n",
+ oa_report0[2], oa_report1[2]);
+
gen8_read_report_clock_ratios(oa_report0,
&slice_freq0, &unslice_freq0);
gen8_read_report_clock_ratios(oa_report1,
--
2.11.0
More information about the Intel-gfx
mailing list