INIT_LIST_HEAD(&r->evt_list);
if (rdt_mon_features & (1 << QOS_L3_OCCUP_EVENT_ID))
list_add_tail(&llc_occupancy_event.list, &r->evt_list);
+ if (is_mbm_total_enabled())
+ list_add_tail(&mbm_total_event.list, &r->evt_list);
+ if (is_mbm_local_enabled())
+ list_add_tail(&mbm_local_event.list, &r->evt_list);
Confused. This hooks all monitoring features to RDT_RESOURCE_L3. Why?
Thanks,
tglx