Lines Matching refs:metric_expr
84 struct metric_expr *expr, *tmp; in metric_event_delete()
115 const char *metric_expr; member
123 const char *metric_expr; member
300 struct metric_expr *expr; in metricgroup__setup_events()
327 m->metric_name, m->metric_expr); in metricgroup__setup_events()
339 expr = malloc(sizeof(struct metric_expr)); in metricgroup__setup_events()
370 metric_refs[i].metric_expr = ref->metric_expr; in metricgroup__setup_events()
376 expr->metric_expr = m->metric_expr; in metricgroup__setup_events()
523 if (!pe->metric_expr) in metricgroup__print()
556 s, 8, "[", pe->metric_expr) < 0) in metricgroup__print()
708 m->metric_expr = pe->metric_expr; in __add_metric()
746 ref->metric_expr = pe->metric_expr; in __add_metric()
760 if (expr__find_other(pe->metric_expr, NULL, &m->pctx, runtime) < 0) { in __add_metric()
802 if (__pe->metric_expr && \
945 pr_debug("metric expr %s for %s\n", pe->metric_expr, pe->metric_name); in add_metric()
947 if (!strstr(pe->metric_expr, "?")) { in add_metric()
1154 if (!pe->metric_expr) in metricgroup__has_metric()
1171 struct metric_expr *old_expr, *new_expr; in metricgroup__copy_metric_events()
1194 new_expr->metric_expr = old_expr->metric_expr; in metricgroup__copy_metric_events()