summaryrefslogtreecommitdiffstats
path: root/drivers/perf/qcom_l3_pmu.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/perf/qcom_l3_pmu.c')
-rw-r--r--drivers/perf/qcom_l3_pmu.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/perf/qcom_l3_pmu.c b/drivers/perf/qcom_l3_pmu.c
index 5dedf4b1a552..2dc63d61f2ea 100644
--- a/drivers/perf/qcom_l3_pmu.c
+++ b/drivers/perf/qcom_l3_pmu.c
@@ -468,7 +468,7 @@ static bool qcom_l3_cache__validate_event_group(struct perf_event *event)
counters = event_num_counters(event);
counters += event_num_counters(leader);
- list_for_each_entry(sibling, &leader->sibling_list, sibling_list) {
+ for_each_sibling_event(sibling, leader) {
if (is_software_event(sibling))
continue;
if (sibling->pmu != event->pmu)