Home
last modified time | relevance | path

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

/linux/tools/perf/util/
H A Dmetricgroup.c1663 struct metric_expr *old_expr, *new_expr; in metricgroup__copy_metric_events() local
1682 list_for_each_entry(old_expr, &old_me->head, nd) { in metricgroup__copy_metric_events()
1687 new_expr->metric_expr = old_expr->metric_expr; in metricgroup__copy_metric_events()
1688 new_expr->metric_threshold = old_expr->metric_threshold; in metricgroup__copy_metric_events()
1689 new_expr->metric_name = strdup(old_expr->metric_name); in metricgroup__copy_metric_events()
1693 new_expr->metric_unit = old_expr->metric_unit; in metricgroup__copy_metric_events()
1694 new_expr->runtime = old_expr->runtime; in metricgroup__copy_metric_events()
1695 new_expr->default_metricgroup_name = old_expr->default_metricgroup_name; in metricgroup__copy_metric_events()
1697 if (old_expr->metric_refs) { in metricgroup__copy_metric_events()
1699 for (nr = 0; old_expr->metric_refs[nr].metric_name; nr++) in metricgroup__copy_metric_events()
[all …]