[igt-dev] [PATCH i-g-t] tests/i915/perf_pmu: Add some more debug

Ashutosh Dixit ashutosh.dixit at intel.com
Thu Mar 30 03:37:32 UTC 2023


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

Signed-off-by: Ashutosh Dixit <ashutosh.dixit at intel.com>
---
 tests/i915/perf_pmu.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/tests/i915/perf_pmu.c b/tests/i915/perf_pmu.c
index 197e7cd2542..c5f083bbdbc 100644
--- a/tests/i915/perf_pmu.c
+++ b/tests/i915/perf_pmu.c
@@ -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("__igt_i915_driver_unload: ret %d who %s\n", ret, who);
 		igt_assert(ret != 0 && !strcmp(who, "i915"));
 		free(who);
 		pmu_read_multi(fd[0], count, buf);
-- 
2.38.0



More information about the igt-dev mailing list