summaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri/i965
diff options
context:
space:
mode:
authorLionel Landwerlin <[email protected]>2018-02-06 17:00:58 +0000
committerLionel Landwerlin <[email protected]>2018-02-08 10:51:01 +0000
commit0f952b778f8a3f38f3310a736360a1cda2eec6ea (patch)
tree91af21ee164a7e12b292d70471afd932970392aa /src/mesa/drivers/dri/i965
parent3f7a7bd897ce4d7da50d4f25b1549001abef05cc (diff)
i965: perf: add debug messages for loaded configs
This helps figuring out potential problems when metrics don't show up on frameretrace for example. Signed-off-by: Lionel Landwerlin <[email protected]> Reviewed-by: Tapani Pälli <[email protected]>
Diffstat (limited to 'src/mesa/drivers/dri/i965')
-rw-r--r--src/mesa/drivers/dri/i965/brw_performance_query.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_performance_query.c b/src/mesa/drivers/dri/i965/brw_performance_query.c
index f2aa2b8469d..5b8f30db2f8 100644
--- a/src/mesa/drivers/dri/i965/brw_performance_query.c
+++ b/src/mesa/drivers/dri/i965/brw_performance_query.c
@@ -1871,6 +1871,7 @@ init_oa_configs(struct brw_context *brw, const char *sysfs_dev_dir)
/* Don't recreate already loaded configs. */
if (read_file_uint64(config_path, &config_id)) {
+ DBG("metric set: %s (already loaded)\n", query->guid);
register_oa_config(brw, query, config_id);
continue;
}
@@ -1896,6 +1897,7 @@ init_oa_configs(struct brw_context *brw, const char *sysfs_dev_dir)
}
register_oa_config(brw, query, config_id);
+ DBG("metric set: %s (added)\n", query->guid);
}
}