Hi Babu, On 8/14/25 7:25 PM, Babu Moger wrote: > When supported, "mbm_event" counter assignment mode offers "num_mbm_cntrs" > number of counters that can be assigned to RMID, event pairs and monitor > bandwidth usage as long as it is assigned. > > Add the functionality to allocate and assign a counter to an RMID, event > pair in the domain. Also, add the helper rdtgroup_assign_cntrs() to assign > counters in the group. > > Log the error message "Failed to allocate counter for <event> in domain > <id>" in /sys/fs/resctrl/info/last_cmd_status if all the counters are in > use. Exit on the first failure when assigning counters across all the > domains. > > Signed-off-by: Babu Moger <babu.moger@xxxxxxx> > --- Reviewed-by: Reinette Chatre <reinette.chatre@xxxxxxxxx> Reinette