* [igt-dev] [PATCH i-g-t] tests/i915/perf_pmu: Add some more debug
@ 2023-03-30 3:34 Ashutosh Dixit
0 siblings, 0 replies; 3+ messages in thread
From: Ashutosh Dixit @ 2023-03-30 3:34 UTC (permalink / raw)
To: igt-dev
Add another line of debug to debug igt@perf_pmu@module-unload failures.
Signed-off-by: Ashutosh Dixit <ashutosh.dixit@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..cd476867f6c 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("(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
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [igt-dev] [PATCH i-g-t] tests/i915/perf_pmu: Add some more debug
@ 2023-03-30 3:37 Ashutosh Dixit
2023-03-30 7:48 ` Gupta, Anshuman
0 siblings, 1 reply; 3+ messages in thread
From: Ashutosh Dixit @ 2023-03-30 3:37 UTC (permalink / raw)
To: igt-dev
Add another line of debug to debug igt@perf_pmu@module-unload failures.
Signed-off-by: Ashutosh Dixit <ashutosh.dixit@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
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [igt-dev] [PATCH i-g-t] tests/i915/perf_pmu: Add some more debug
2023-03-30 3:37 Ashutosh Dixit
@ 2023-03-30 7:48 ` Gupta, Anshuman
0 siblings, 0 replies; 3+ messages in thread
From: Gupta, Anshuman @ 2023-03-30 7:48 UTC (permalink / raw)
To: Dixit, Ashutosh, igt-dev@lists.freedesktop.org
> -----Original Message-----
> From: Dixit, Ashutosh <ashutosh.dixit@intel.com>
> Sent: Thursday, March 30, 2023 9:08 AM
> To: igt-dev@lists.freedesktop.org
> Cc: Gupta, Anshuman <anshuman.gupta@intel.com>
> Subject: [PATCH i-g-t] tests/i915/perf_pmu: Add some more debug
>
> Add another line of debug to debug igt@perf_pmu@module-unload failures.
>
> Signed-off-by: Ashutosh Dixit <ashutosh.dixit@intel.com>
Reviewed-by: Anshuman Gupta <anshuman.gupta@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
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2023-03-30 7:48 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-03-30 3:34 [igt-dev] [PATCH i-g-t] tests/i915/perf_pmu: Add some more debug Ashutosh Dixit
-- strict thread matches above, loose matches on Subject: below --
2023-03-30 3:37 Ashutosh Dixit
2023-03-30 7:48 ` Gupta, Anshuman
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox