mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-26 12:50:10 +01:00
intel/perf: store query symbol name
Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com> Reviewed-by: Kenneth Graunke's avatarKenneth Graunke <kenneth@whitecape.org> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6438>
This commit is contained in:
parent
a9019d14ae
commit
f1da3bb3d5
2 changed files with 2 additions and 0 deletions
|
|
@ -207,6 +207,7 @@ struct gen_perf_query_info {
|
|||
GEN_PERF_QUERY_TYPE_PIPELINE,
|
||||
} kind;
|
||||
const char *name;
|
||||
const char *symbol_name;
|
||||
const char *guid;
|
||||
struct gen_perf_query_counter *counters;
|
||||
int n_counters;
|
||||
|
|
|
|||
|
|
@ -679,6 +679,7 @@ def main():
|
|||
c("\n")
|
||||
c("query->kind = GEN_PERF_QUERY_TYPE_OA;\n")
|
||||
c("query->name = \"" + set.name + "\";\n")
|
||||
c("query->symbol_name = \"" + set.symbol_name + "\";\n")
|
||||
c("query->guid = \"" + set.hw_config_guid + "\";\n")
|
||||
|
||||
c("query->counters = rzalloc_array(query, struct gen_perf_query_counter, %u);" % len(counters))
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue