Home
last modified time | relevance | path

Searched refs:metric_refs (Results 1 – 3 of 3) sorted by relevance

/linux/tools/perf/util/
H A Dmetricgroup.c97 zfree(&expr->metric_refs); in metric_event_delete()
149 struct metric_ref *metric_refs; member
204 zfree(&m->metric_refs); in metric__free()
249 m->metric_refs = NULL; in metric__new()
968 if (root_metric->metric_refs) { in __add_metric()
969 for (; root_metric->metric_refs[cnt].metric_name; cnt++) { in __add_metric()
971 root_metric->metric_refs[cnt].metric_name)) in __add_metric()
977 root_metric->metric_refs = realloc(root_metric->metric_refs, in __add_metric()
979 if (!root_metric->metric_refs) in __add_metric()
988 root_metric->metric_refs[cnt].metric_name = pm->metric_name; in __add_metric()
[all …]
H A Dstat-shadow.c371 struct metric_ref *metric_refs = mexp->metric_refs; in prepare_metric() local
459 for (int j = 0; metric_refs && metric_refs[j].metric_name; j++) { in prepare_metric()
460 int ret = expr__add_ref(pctx, &metric_refs[j]); in prepare_metric()
H A Dmetricgroup.h32 * metric_ref. A metric_ref will then be parsed recursively. The metric_refs and
64 struct metric_ref *metric_refs; member