Searched refs:metric_evsel (Results 1 – 2 of 2) sorted by relevance
| /linux/tools/perf/ |
| H A D | builtin-script.c | 2133 struct evsel *metric_evsel) in map_metric_evsel_to_script_evsel() argument 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() 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() 2162 struct evsel *metric_evsel; in script_find_metrics() local 2183 evlist__for_each_entry(metric_evlist, metric_evsel) { in script_find_metrics() 2185 map_metric_evsel_to_script_evsel(script_evlist, metric_evsel); in script_find_metrics() 2190 pm->metric_name, evsel__name(metric_evsel), in script_find_metrics() 2191 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()
|