File tree Expand file tree Collapse file tree 1 file changed +6
-11
lines changed Expand file tree Collapse file tree 1 file changed +6
-11
lines changed Original file line number Diff line number Diff line change @@ -571,10 +571,10 @@ int __weak arch_get_runtimeparam(void)
571
571
return 1 ;
572
572
}
573
573
574
- static int __metricgroup__add_metric (struct list_head * group_list ,
575
- struct pmu_event * pe ,
576
- bool metric_no_group ,
577
- int runtime )
574
+ static int __add_metric (struct list_head * group_list ,
575
+ struct pmu_event * pe ,
576
+ bool metric_no_group ,
577
+ int runtime )
578
578
{
579
579
struct egroup * eg ;
580
580
@@ -634,10 +634,7 @@ static int add_metric(struct list_head *group_list,
634
634
pr_debug ("metric expr %s for %s\n" , pe -> metric_expr , pe -> metric_name );
635
635
636
636
if (!strstr (pe -> metric_expr , "?" )) {
637
- ret = __metricgroup__add_metric (group_list ,
638
- pe ,
639
- metric_no_group ,
640
- 1 );
637
+ ret = __add_metric (group_list , pe , metric_no_group , 1 );
641
638
} else {
642
639
int j , count ;
643
640
@@ -649,9 +646,7 @@ static int add_metric(struct list_head *group_list,
649
646
*/
650
647
651
648
for (j = 0 ; j < count && !ret ; j ++ ) {
652
- ret = __metricgroup__add_metric (
653
- group_list , pe ,
654
- metric_no_group , j );
649
+ ret = __add_metric (group_list , pe , metric_no_group , j );
655
650
}
656
651
}
657
652
You can’t perform that action at this time.
0 commit comments