Lines Matching refs:metric_list
789 struct list_head *metric_list; member
809 static int add_metric(struct list_head *metric_list,
839 static int resolve_metric(struct list_head *metric_list, in resolve_metric() argument
891 ret = add_metric(metric_list, &pending[i].pm, modifier, metric_no_group, in resolve_metric()
922 static int __add_metric(struct list_head *metric_list, in __add_metric() argument
1023 ret = resolve_metric(metric_list, pmu, modifier, metric_no_group, in __add_metric()
1033 list_add(&root_metric->nd, metric_list); in __add_metric()
1076 static int add_metric(struct list_head *metric_list, in add_metric() argument
1092 ret = __add_metric(metric_list, pm, modifier, metric_no_group, in add_metric()
1106 ret = __add_metric(metric_list, pm, modifier, metric_no_group, in add_metric()
1124 ret = add_metric(d->metric_list, pm, d->modifier, d->metric_no_group, in metricgroup__add_metric_sys_event_iter()
1235 struct list_head *metric_list, in metricgroup__add_metric() argument
1269 .metric_list = &list, in metricgroup__add_metric()
1293 list_splice(&list, metric_list); in metricgroup__add_metric()
1317 bool system_wide, struct list_head *metric_list, in metricgroup__add_metric_list() argument
1336 system_wide, metric_list, table); in metricgroup__add_metric_list()
1360 static void metricgroup__free_metrics(struct list_head *metric_list) in metricgroup__free_metrics() argument
1364 list_for_each_entry_safe (m, tmp, metric_list, nd) { in metricgroup__free_metrics()
1376 static void find_tool_events(const struct list_head *metric_list, in find_tool_events() argument
1381 list_for_each_entry(m, metric_list, nd) { in find_tool_events()
1401 static int build_combined_expr_ctx(const struct list_head *metric_list, in build_combined_expr_ctx() argument
1414 list_for_each_entry(m, metric_list, nd) { in build_combined_expr_ctx()
1535 LIST_HEAD(metric_list); in parse_groups()
1545 system_wide, &metric_list, table); in parse_groups()
1550 list_sort(NULL, &metric_list, metric_list_cmp); in parse_groups()
1555 find_tool_events(&metric_list, tool_events); in parse_groups()
1557 ret = build_combined_expr_ctx(&metric_list, &combined); in parse_groups()
1574 list_sort(NULL, &metric_list, default_metricgroup_cmp); in parse_groups()
1576 list_for_each_entry(m, &metric_list, nd) { in parse_groups()
1590 list_for_each_entry(n, &metric_list, nd) { in parse_groups()
1675 list_for_each_entry(m, &metric_list, nd) { in parse_groups()
1681 metricgroup__free_metrics(&metric_list); in parse_groups()