[igt-dev] [PATCH i-g-t 2/2] tests/perf: debug trace when configuration loading fails
Lionel Landwerlin
lionel.g.landwerlin at intel.com
Mon Feb 24 09:24:18 UTC 2020
Helps debugging.
Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin at intel.com>
---
tests/perf.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/tests/perf.c b/tests/perf.c
index 4c77f558..d9bac561 100644
--- a/tests/perf.c
+++ b/tests/perf.c
@@ -898,8 +898,10 @@ init_sys_info(void)
intel_perf_load_perf_configs(intel_perf, drm_fd);
- if (test_set->perf_oa_metrics_set == 0)
+ if (test_set->perf_oa_metrics_set == 0) {
+ igt_debug("Unable to load configurations\n");
return false;
+ }
oa_exp_1_millisec = max_oa_exponent_for_period_lte(1000000);
--
2.25.1
More information about the igt-dev
mailing list