Searched refs:metric_refs (Results 1 – 3 of 3) sorted by relevance
/Linux-v5.10/tools/perf/util/ |
D | metricgroup.c | 87 free(expr->metric_refs); in metric_event_delete() 125 struct list_head metric_refs; member 313 struct metric_ref *metric_refs = NULL; in metricgroup__setup_events() local 353 metric_refs = zalloc(sizeof(struct metric_ref) * (m->metric_refs_cnt + 1)); in metricgroup__setup_events() 354 if (!metric_refs) { in metricgroup__setup_events() 362 list_for_each_entry(ref, &m->metric_refs, list) { in metricgroup__setup_events() 369 metric_refs[i].metric_name = ref->metric_name; in metricgroup__setup_events() 370 metric_refs[i].metric_expr = ref->metric_expr; in metricgroup__setup_events() 375 expr->metric_refs = metric_refs; in metricgroup__setup_events() 712 INIT_LIST_HEAD(&m->metric_refs); in __add_metric() [all …]
|
D | stat-shadow.c | 787 struct metric_ref *metric_refs, in prepare_metric() argument 835 for (j = 0; metric_refs && metric_refs[j].metric_name; j++) { in prepare_metric() 836 ret = expr__add_ref(pctx, &metric_refs[j]); in prepare_metric() 847 struct metric_ref *metric_refs, in generic_metric() argument 862 i = prepare_metric(metric_events, metric_refs, &pctx, cpu, st); in generic_metric() 911 if (prepare_metric(mexp->metric_events, mexp->metric_refs, &pctx, cpu, st) < 0) in test_generic_metric() 1195 mexp->metric_refs, evsel->name, mexp->metric_name, in perf_stat__print_shadow_stats()
|
D | metricgroup.h | 35 struct metric_ref *metric_refs; member
|