Lines Matching refs:metric_expr
91 struct metric_expr *expr, *tmp; in metric_event_delete()
133 const char *metric_expr; member
235 m->metric_expr = pm->metric_expr; in metric__new()
394 const char *metric_expr; member
474 me->metric_expr = pm->metric_expr; in metricgroup__add_to_mep_groups()
496 if (!pm->metric_expr || !pm->compat) in metricgroup__sys_event_iter()
550 me->metric_expr, in metricgroup__print()
989 root_metric->metric_refs[cnt].metric_expr = pm->metric_expr; in __add_metric()
993 root_metric->metric_refs[cnt+1].metric_expr = NULL; in __add_metric()
1001 expr = pm->metric_expr; in __add_metric()
1089 pr_debug("metric expr %s for %s\n", pm->metric_expr, pm->metric_name); in add_metric()
1091 if (!strstr(pm->metric_expr, "?")) { in add_metric()
1202 if (pm->metric_expr && match_pm_metric(pm, data->pmu, data->metric_name)) { in metricgroup__add_metric_callback()
1581 struct metric_expr *expr; in parse_groups()
1629 m->metric_name, m->metric_expr); in parse_groups()
1635 expr = malloc(sizeof(struct metric_expr)); in parse_groups()
1644 expr->metric_expr = m->metric_expr; in parse_groups()
1787 struct metric_expr *old_expr, *new_expr; in metricgroup__copy_metric_events()
1810 new_expr->metric_expr = old_expr->metric_expr; in metricgroup__copy_metric_events()