mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-17 22:10:21 +01:00
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 <lionel.g.landwerlin@intel.com> Reviewed-by: Tapani Pälli <tapani.palli@intel.com>
This commit is contained in:
parent
3f7a7bd897
commit
0f952b778f
1 changed files with 2 additions and 0 deletions
|
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue