Lines Matching refs:metric_expr
89 struct metric_expr *expr, *tmp; in metric_event_delete()
130 const char *metric_expr; member
220 m->metric_expr = pm->metric_expr; in metric__new()
366 const char *metric_expr; member
445 me->metric_expr = pm->metric_expr; in metricgroup__add_to_mep_groups()
466 if (!pm->metric_expr || !pm->compat) in metricgroup__sys_event_iter()
520 me->metric_expr, in metricgroup__print()
948 root_metric->metric_refs[cnt].metric_expr = pm->metric_expr; in __add_metric()
952 root_metric->metric_refs[cnt+1].metric_expr = NULL; in __add_metric()
959 if (expr__find_ids(pm->metric_expr, NULL, root_metric->pctx) < 0) { in __add_metric()
1022 pr_debug("metric expr %s for %s\n", pm->metric_expr, pm->metric_name); in add_metric()
1024 if (!strstr(pm->metric_expr, "?")) { in add_metric()
1114 if (pm->metric_expr && in metricgroup__add_metric_callback()
1477 struct metric_expr *expr; in parse_groups()
1519 m->metric_name, m->metric_expr); in parse_groups()
1525 expr = malloc(sizeof(struct metric_expr)); in parse_groups()
1534 expr->metric_expr = m->metric_expr; in parse_groups()
1609 if (!pm->metric_expr) in metricgroup__has_metric_callback()
1638 struct metric_expr *old_expr, *new_expr; in metricgroup__copy_metric_events()
1661 new_expr->metric_expr = old_expr->metric_expr; in metricgroup__copy_metric_events()