Lines Matching defs:metrics
6 /* Manage metrics and groups of metrics from JSON files */
109 * A node in the list of referenced metrics. metric_expr
175 * metrics.
419 struct strlist *metrics;
441 me->metrics = strlist__new(NULL, NULL);
442 if (!me->metrics)
473 strlist__delete(me->metrics);
478 static void metricgroup__print_strlist(struct strlist *metrics, bool raw)
483 strlist__for_each_entry (sn, metrics) {
494 void metricgroup__print(bool metrics, bool metricgroups, char *filter,
570 strlist__add(me->metrics, s);
583 else if (metrics && !raw)
591 printf("%s%s%s", me->name, metrics && !raw ? ":" : "", raw ? " " : "\n");
592 if (metrics)
593 metricgroup__print_strlist(me->metrics, raw);
653 pr_warning("Splitting metric group %s into standalone metrics.\n", name);
757 * For both the parent and referenced metrics, we parse
852 pr_err("failed: too many nested metrics\n");
987 * Process any possible referenced metrics