Lines Matching refs:pctx
132 struct expr_parse_ctx *pctx; member
203 m->pctx = expr__ctx_new(); in metric__new()
204 if (!m->pctx) { in metric__new()
213 expr__ctx_free(m->pctx); in metric__new()
218 m->pctx->runtime = runtime; in metric__new()
229 expr__ctx_free(m->pctx); in metric__free()
894 hashmap__for_each_entry(root_metric->pctx->ids, cur, bkt) { in resolve_metric()
912 expr__del_id(root_metric->pctx, pending[i].key); in resolve_metric()
1019 if (expr__find_ids(pe->metric_expr, NULL, root_metric->pctx) < 0) { in __add_metric()
1124 return hashmap__size(right->pctx->ids) - hashmap__size(left->pctx->ids); in metric_list_cmp()
1280 hashmap__for_each_entry(m->pctx->ids, cur, bkt) { in build_combined_expr_ctx()
1428 if (expr__subset_of_ids(n->pctx, m->pctx)) { in parse_groups()
1438 ret = parse_ids(fake_pmu, m->pctx, m->modifier, in parse_groups()
1445 ret = setup_metric_events(m->pctx->ids, metric_evlist, &metric_events); in parse_groups()
1481 expr->runtime = m->pctx->runtime; in parse_groups()