[igt-dev] [PATCH i-g-t] tests/i915/perf_pmu: Add some more debug
Gupta, Anshuman
anshuman.gupta at intel.com
Thu Mar 30 07:48:54 UTC 2023
> -----Original Message-----
> From: Dixit, Ashutosh <ashutosh.dixit at intel.com>
> Sent: Thursday, March 30, 2023 9:08 AM
> To: igt-dev at lists.freedesktop.org
> Cc: Gupta, Anshuman <anshuman.gupta at intel.com>
> Subject: [PATCH i-g-t] tests/i915/perf_pmu: Add some more debug
>
> Add another line of debug to debug igt at perf_pmu@module-unload failures.
>
> Signed-off-by: Ashutosh Dixit <ashutosh.dixit at intel.com>
Reviewed-by: Anshuman Gupta <anshuman.gupta 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