From f1da3bb3d5ef8a7d11b8abc8534fc7d5ca875faa Mon Sep 17 00:00:00 2001 From: Lionel Landwerlin Date: Mon, 24 Aug 2020 16:42:42 +0300 Subject: [PATCH] intel/perf: store query symbol name Signed-off-by: Lionel Landwerlin Reviewed-by: Kenneth Graunke's avatarKenneth Graunke Part-of: --- src/intel/perf/gen_perf.h | 1 + src/intel/perf/gen_perf.py | 1 + 2 files changed, 2 insertions(+) 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)) -- 2.30.2