Searched refs:metric_refs (Results 1 – 3 of 3) sorted by relevance
/linux-6.1.9/tools/perf/util/ |
D | metricgroup.c | 91 free(expr->metric_refs); in metric_event_delete() 135 struct metric_ref *metric_refs; member 187 free(m->metric_refs); in metric__free() 229 m->metric_refs = NULL; in metric__new() 1043 if (root_metric->metric_refs) { in __add_metric() 1044 for (; root_metric->metric_refs[cnt].metric_name; cnt++) { in __add_metric() 1046 root_metric->metric_refs[cnt].metric_name)) in __add_metric() 1052 root_metric->metric_refs = realloc(root_metric->metric_refs, in __add_metric() 1054 if (!root_metric->metric_refs) in __add_metric() 1063 root_metric->metric_refs[cnt].metric_name = pe->metric_name; in __add_metric() [all …]
|
D | metricgroup.h | 59 struct metric_ref *metric_refs; member
|
D | stat-shadow.c | 809 struct metric_ref *metric_refs, in prepare_metric() argument 876 for (j = 0; metric_refs && metric_refs[j].metric_name; j++) { in prepare_metric() 877 ret = expr__add_ref(pctx, &metric_refs[j]); in prepare_metric() 888 struct metric_ref *metric_refs, in generic_metric() argument 911 i = prepare_metric(metric_events, metric_refs, pctx, map_idx, st); in generic_metric() 965 if (prepare_metric(mexp->metric_events, mexp->metric_refs, pctx, map_idx, st) < 0) in test_generic_metric() 1329 mexp->metric_refs, evsel->name, mexp->metric_name, in perf_stat__print_shadow_stats()
|