Lines Matching refs:query
40 intel_perf_query_add_stat_reg(struct intel_perf_query_info *query, uint32_t reg, in intel_perf_query_add_stat_reg() argument
46 assert(query->n_counters < query->max_counters); in intel_perf_query_add_stat_reg()
48 counter = &query->counters[query->n_counters]; in intel_perf_query_add_stat_reg()
53 counter->offset = sizeof(uint64_t) * query->n_counters; in intel_perf_query_add_stat_reg()
58 query->n_counters++; in intel_perf_query_add_stat_reg()
62 intel_perf_query_add_basic_stat_reg(struct intel_perf_query_info *query, in intel_perf_query_add_basic_stat_reg() argument
65 intel_perf_query_add_stat_reg(query, reg, 1, 1, name, name); in intel_perf_query_add_basic_stat_reg()
71 struct intel_perf_query_info *query; in intel_perf_append_query_info() local
76 query = &perf->queries[perf->n_queries - 1]; in intel_perf_append_query_info()
77 memset(query, 0, sizeof(*query)); in intel_perf_append_query_info()
79 query->perf = perf; in intel_perf_append_query_info()
82 query->max_counters = max_counters; in intel_perf_append_query_info()
83 query->counters = in intel_perf_append_query_info()
87 return query; in intel_perf_append_query_info()