Lines Matching refs:script_evsel

2135 	struct evsel *script_evsel;  in map_metric_evsel_to_script_evsel()  local
2137 evlist__for_each_entry(script_evlist, script_evsel) { in map_metric_evsel_to_script_evsel()
2139 if (metric_evsel->core.attr.type != script_evsel->core.attr.type) in map_metric_evsel_to_script_evsel()
2141 if (metric_evsel->core.attr.config != script_evsel->core.attr.config) in map_metric_evsel_to_script_evsel()
2144 if (script_evsel->metric_id && in map_metric_evsel_to_script_evsel()
2145 strcmp(evsel__metric_id(metric_evsel), evsel__metric_id(script_evsel))) { in map_metric_evsel_to_script_evsel()
2147 evsel__metric_id(metric_evsel), evsel__metric_id(script_evsel)); in map_metric_evsel_to_script_evsel()
2150 return script_evsel; in map_metric_evsel_to_script_evsel()
2184 struct evsel *script_evsel = in script_find_metrics() local
2188 if (!script_evsel) { in script_find_metrics()
2195 if (script_evsel->metric_leader == NULL) in script_find_metrics()
2199 new_metric_leader = script_evsel; in script_find_metrics()
2206 if (script_evsel->metric_leader != new_metric_leader) { in script_find_metrics()
2209 evsel__metric_id(script_evsel)); in script_find_metrics()
2218 struct evsel *script_evsel = in script_find_metrics() local
2224 if (script_evsel->metric_id == NULL) { in script_find_metrics()
2225 script_evsel->metric_id = metric_evsel->metric_id; in script_find_metrics()
2229 if (script_evsel->metric_leader == NULL) { in script_find_metrics()
2231 script_evsel->metric_leader = script_evsel; in script_find_metrics()
2233 script_evsel->metric_leader = in script_find_metrics()
2243 script_evsel, in script_find_metrics()