Lines Matching refs:metric_events
370 struct evsel * const *metric_events = mexp->metric_events; in prepare_metric() local
374 for (i = 0; metric_events[i]; i++) { in prepare_metric()
379 if (evsel__is_tool(metric_events[i])) { in prepare_metric()
383 switch (evsel__tool_event(metric_events[i])) { in prepare_metric()
403 pr_err("Unknown tool event '%s'", evsel__name(metric_events[i])); in prepare_metric()
409 struct perf_stat_evsel *ps = metric_events[i]->stats; in prepare_metric()
419 mexp->metric_events[i]->pmu == evsel->metric_leader->pmu) { in prepare_metric()
425 if (pos->metric_leader != mexp->metric_events[i]) in prepare_metric()
436 if (!metric_events[i]->supported) { in prepare_metric()
449 source_count = evsel__source_count(metric_events[i]); in prepare_metric()
452 n = strdup(evsel__metric_id(metric_events[i])); in prepare_metric()
480 struct evsel * const *metric_events = mexp->metric_events; in generic_metric() local
501 if (!metric_events[i]) { in generic_metric()
621 struct rblist *metric_events) in perf_stat__print_shadow_stats_metricgroup() argument
629 me = metricgroup__lookup(metric_events, evsel, false); in perf_stat__print_shadow_stats_metricgroup()
669 struct rblist *metric_events) in perf_stat__print_shadow_stats() argument
718 &num, NULL, out, metric_events); in perf_stat__print_shadow_stats()
729 struct rblist *metric_events, in perf_stat__skip_metric_event() argument
738 return !metricgroup__lookup(metric_events, evsel, false); in perf_stat__skip_metric_event()