From: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
To: igt-dev@lists.freedesktop.org
Subject: [igt-dev] [PATCH i-g-t 2/2] tests/perf: debug trace when configuration loading fails
Date: Mon, 24 Feb 2020 11:24:18 +0200 [thread overview]
Message-ID: <20200224092418.1450732-2-lionel.g.landwerlin@intel.com> (raw)
In-Reply-To: <20200224092418.1450732-1-lionel.g.landwerlin@intel.com>
Helps debugging.
Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@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
_______________________________________________
igt-dev mailing list
igt-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/igt-dev
next prev parent reply other threads:[~2020-02-24 9:24 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-02-24 9:24 [igt-dev] [PATCH i-g-t 1/2] lib/i915/perf: fix loading configurations Lionel Landwerlin
2020-02-24 9:24 ` Lionel Landwerlin [this message]
2020-02-24 12:16 ` [igt-dev] [PATCH i-g-t 2/2] tests/perf: debug trace when configuration loading fails Chris Wilson
2020-02-24 10:11 ` [igt-dev] ✓ Fi.CI.BAT: success for series starting with [i-g-t,1/2] lib/i915/perf: fix loading configurations Patchwork
2020-02-24 12:15 ` [igt-dev] [PATCH i-g-t 1/2] " Chris Wilson
2020-02-24 14:03 ` Lionel Landwerlin
2020-02-24 14:04 ` Chris Wilson
2020-02-25 12:19 ` [igt-dev] ✗ Fi.CI.IGT: failure for series starting with [i-g-t,1/2] " Patchwork
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20200224092418.1450732-2-lionel.g.landwerlin@intel.com \
--to=lionel.g.landwerlin@intel.com \
--cc=igt-dev@lists.freedesktop.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox