Searched refs:metric_evsel (Results 1 – 2 of 2) sorted by relevance
| /linux/tools/perf/ |
| H A D | builtin-script.c | 2126 struct evsel *metric_evsel) in map_metric_evsel_to_script_evsel() argument 2132 if (metric_evsel->core.attr.type != script_evsel->core.attr.type) in map_metric_evsel_to_script_evsel() 2134 if (metric_evsel->core.attr.config != script_evsel->core.attr.config) in map_metric_evsel_to_script_evsel() 2138 strcmp(evsel__metric_id(metric_evsel), evsel__metric_id(script_evsel))) { in map_metric_evsel_to_script_evsel() 2140 evsel__metric_id(metric_evsel), evsel__metric_id(script_evsel)); in map_metric_evsel_to_script_evsel() 2155 struct evsel *metric_evsel; in script_find_metrics() local 2176 evlist__for_each_entry(metric_evlist, metric_evsel) { in script_find_metrics() 2178 map_metric_evsel_to_script_evsel(script_evlist, metric_evsel); in script_find_metrics() 2183 pm->metric_name, evsel__name(metric_evsel), in script_find_metrics() 2184 evsel__metric_id(metric_evsel)); in script_find_metrics() [all …]
|
| /linux/tools/perf/util/ |
| H A D | python.c | 1416 struct evsel *metric_evsel = NULL; in pyrf_evlist__compute_metric() local 1448 metric_evsel = pos2; in pyrf_evlist__compute_metric() 1465 ret = prepare_metric(mexp, metric_evsel, pctx, cpu_idx, thread_idx); in pyrf_evlist__compute_metric()
|