Home
last modified time | relevance | path

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

/openbmc/linux/tools/perf/util/
H A Dmetricgroup.c95 zfree(&expr->metric_refs); in metric_event_delete()
147 struct metric_ref *metric_refs; member
202 zfree(&m->metric_refs); in metric__free()
247 m->metric_refs = NULL; in metric__new()
968 if (root_metric->metric_refs) { 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()
1642 expr->metric_refs = m->metric_refs; in parse_groups()
1643 m->metric_refs = NULL; in parse_groups()
1819 if (old_expr->metric_refs) { in metricgroup__copy_metric_events()
[all …]
H A Dstat-shadow.c366 struct metric_ref *metric_refs, in prepare_metric() argument
435 for (int j = 0; metric_refs && metric_refs[j].metric_name; j++) { in prepare_metric()
436 int ret = expr__add_ref(pctx, &metric_refs[j]); in prepare_metric()
449 struct metric_ref *metric_refs, in generic_metric() argument
472 i = prepare_metric(metric_events, metric_refs, pctx, aggr_idx); in generic_metric()
533 if (prepare_metric(mexp->metric_events, mexp->metric_refs, pctx, aggr_idx) < 0) in test_generic_metric()
636 mexp->metric_events, mexp->metric_refs, evsel->name, in perf_stat__print_shadow_stats_metricgroup()
H A Dmetricgroup.h64 struct metric_ref *metric_refs; member