mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-08 17:48:10 +02: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>
(cherry-picked from commit f1da3bb3d5)
This commit is contained in:
parent
c9c84f5421
commit
62917dade9
3 changed files with 3 additions and 1 deletions
|
|
@ -3415,7 +3415,7 @@
|
|||
"description": "intel/perf: store query symbol name",
|
||||
"nominated": false,
|
||||
"nomination_type": null,
|
||||
"resolution": 4,
|
||||
"resolution": 1,
|
||||
"master_sha": null,
|
||||
"because_sha": null
|
||||
},
|
||||
|
|
|
|||
|
|
@ -170,6 +170,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;
|
||||
|
|
|
|||
|
|
@ -667,6 +667,7 @@ def main():
|
|||
|
||||
c(".kind = GEN_PERF_QUERY_TYPE_OA,\n")
|
||||
c(".name = \"" + set.name + "\",\n")
|
||||
c(".symbol_name = \"" + set.symbol_name + "\",\n")
|
||||
c(".guid = \"" + set.hw_config_guid + "\",\n")
|
||||
|
||||
c(".counters = {0}_{1}_query_counters,".format(gen.chipset, set.underscore_name))
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue