Lines Matching defs:ids
272 * @ids: the metric IDs to match.
276 static int setup_metric_events(const char *pmu, struct hashmap *ids,
287 ids_size = hashmap__size(ids);
315 if (hashmap__find(ids, metric_id, &val_ptr)) {
681 hashmap__for_each_entry(ctx->ids, cur, bkt) {
867 hashmap__for_each_entry(root_metric->pctx->ids, cur, bkt) {
1149 left_count = hashmap__size(left->pctx->ids);
1155 right_count = hashmap__size(right->pctx->ids);
1416 hashmap__for_each_entry(m->pctx->ids, cur, bkt) {
1436 * parse_ids - Build the event string for the ids and parse them creating an
1440 * @ids: the event identifiers parsed from a metric.
1448 struct expr_parse_ctx *ids, const char *modifier,
1458 if (!metric_no_merge || hashmap__size(ids->ids) == 0) {
1469 * Also, there may be no ids/events in the expression parsing
1480 ids__insert(ids->ids, tmp);
1484 if (!added_event && hashmap__size(ids->ids) == 0) {
1489 ids__insert(ids->ids, tmp);
1492 ret = metricgroup__build_event_string(&events, ids, modifier,
1559 if (!ret && combined && hashmap__size(combined->ids)) {
1625 ret = setup_metric_events(fake_pmu ? "all" : m->pmu, m->pctx->ids,