From: Lionel Landwerlin Date: Mon, 24 Aug 2020 13:42:42 +0000 (+0300) Subject: intel/perf: store query symbol name X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=f1da3bb3d5ef8a7d11b8abc8534fc7d5ca875faa;p=mesa.git intel/perf: store query symbol name Signed-off-by: Lionel Landwerlin Reviewed-by: Kenneth Graunke's avatarKenneth Graunke Part-of: --- diff --git a/src/intel/perf/gen_perf.h b/src/intel/perf/gen_perf.h index 49ea2eb9e81..073236c4317 100644 --- a/src/intel/perf/gen_perf.h +++ b/src/intel/perf/gen_perf.h @@ -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; diff --git a/src/intel/perf/gen_perf.py b/src/intel/perf/gen_perf.py index e714e1e802d..a64cb86a5f6 100644 --- a/src/intel/perf/gen_perf.py +++ b/src/intel/perf/gen_perf.py @@ -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))