Lines Matching refs:mexp
522 double test_generic_metric(struct metric_expr *mexp, int aggr_idx) in test_generic_metric() argument
531 if (prepare_metric(mexp->metric_events, mexp->metric_refs, pctx, aggr_idx) < 0) in test_generic_metric()
534 if (expr__parse(&ratio, pctx, mexp->metric_expr)) in test_generic_metric()
598 struct metric_expr *mexp = from; in perf_stat__print_shadow_stats_metricgroup() local
607 if (!mexp) in perf_stat__print_shadow_stats_metricgroup()
608 mexp = list_first_entry(&me->head, typeof(*mexp), nd); in perf_stat__print_shadow_stats_metricgroup()
610 list_for_each_entry_from(mexp, &me->head, nd) { in perf_stat__print_shadow_stats_metricgroup()
614 name = mexp->default_metricgroup_name; in perf_stat__print_shadow_stats_metricgroup()
621 if (strcmp(name, mexp->default_metricgroup_name)) in perf_stat__print_shadow_stats_metricgroup()
622 return (void *)mexp; in perf_stat__print_shadow_stats_metricgroup()
633 generic_metric(config, mexp->metric_expr, mexp->metric_threshold, in perf_stat__print_shadow_stats_metricgroup()
634 mexp->metric_events, mexp->metric_refs, evsel->name, in perf_stat__print_shadow_stats_metricgroup()
635 mexp->metric_name, mexp->metric_unit, mexp->runtime, in perf_stat__print_shadow_stats_metricgroup()