Skip to contentSkip to conversation

tests/i915/perf_pmu: Add some more debug

PATCH New Ashutosh Dixit 1 participant 1 message Mar 30, 2023

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 tests/i915/perf_pmu: Add some more debug

Add another line of debug to debug igt@perf_pmu@module-unload failures.

---
 tests/i915/perf_pmu.c | 1 +
 1 file changed, 1 insertion(+)
tests/i915/perf_pmu.c +1 -0
index 197e7cd2542..cd476867f6c 100644
@@ -2119,6 +2119,7 @@ static void test_unload(unsigned int num_engines)
 		igt_debug("Read %d events from perf and trial unload\n", count);
 		pmu_read_multi(fd[0], count, buf);
 		ret = __igt_i915_driver_unload(&who);
+		igt_debug("(ret %d who %s\n", ret, who);
 		igt_assert(ret != 0 && !strcmp(who, "i915"));
 		free(who);
 		pmu_read_multi(fd[0], count, buf);
Signature · 1 line
2.38.0