• Home
  • Raw
  • Download

Lines Matching refs:pe

306 	struct pmu_event *pe;  in metricgroup__print()  local
327 pe = &map->table[i]; in metricgroup__print()
329 if (!pe->name && !pe->metric_group && !pe->metric_name) in metricgroup__print()
331 if (!pe->metric_expr) in metricgroup__print()
333 g = pe->metric_group; in metricgroup__print()
334 if (!g && pe->metric_name) { in metricgroup__print()
335 if (pe->name) in metricgroup__print()
356 s = (char *)pe->metric_name; in metricgroup__print()
359 pe->metric_name, 8, "[", pe->desc) < 0) in metricgroup__print()
364 s, 8, "[", pe->metric_expr) < 0) in metricgroup__print()
409 struct pmu_event *pe; in metricgroup__add_metric() local
417 pe = &map->table[i]; in metricgroup__add_metric()
419 if (!pe->name && !pe->metric_group && !pe->metric_name) in metricgroup__add_metric()
421 if (!pe->metric_expr) in metricgroup__add_metric()
423 if (match_metric(pe->metric_group, metric) || in metricgroup__add_metric()
424 match_metric(pe->metric_name, metric)) { in metricgroup__add_metric()
430 pr_debug("metric expr %s for %s\n", pe->metric_expr, pe->metric_name); in metricgroup__add_metric()
432 if (expr__find_other(pe->metric_expr, in metricgroup__add_metric()
466 eg->metric_name = pe->metric_name; in metricgroup__add_metric()
467 eg->metric_expr = pe->metric_expr; in metricgroup__add_metric()
468 eg->metric_unit = pe->unit; in metricgroup__add_metric()
549 struct pmu_event *pe; in metricgroup__has_metric() local
556 pe = &map->table[i]; in metricgroup__has_metric()
558 if (!pe->name && !pe->metric_group && !pe->metric_name) in metricgroup__has_metric()
560 if (!pe->metric_expr) in metricgroup__has_metric()
562 if (match_metric(pe->metric_name, metric)) in metricgroup__has_metric()