mirror of
https://github.com/torvalds/linux.git
synced 2026-03-08 04:24:31 +01:00
Reading monitoring data for a monitoring group requires both the RMID and CLOSID. The RMID and CLOSID are members of struct rdtgroup but passed separately to several functions involved in retrieving event data. When "mbm_event" counter assignment mode is enabled, a counter ID is required to read event data. The counter ID is obtained through mbm_cntr_get(), which expects a struct rdtgroup pointer. Provide a pointer to the struct rdtgroup as parameter to functions involved in retrieving event data to simplify access to RMID, CLOSID, and counter ID. Suggested-by: Reinette Chatre <reinette.chatre@intel.com> Signed-off-by: Babu Moger <babu.moger@amd.com> Signed-off-by: Borislav Petkov (AMD) <bp@alien8.de> Reviewed-by: Reinette Chatre <reinette.chatre@intel.com> Link: https://lore.kernel.org/cover.1757108044.git.babu.moger@amd.com |
||
|---|---|---|
| .. | ||
| ctrlmondata.c | ||
| internal.h | ||
| Kconfig | ||
| Makefile | ||
| monitor.c | ||
| monitor_trace.h | ||
| pseudo_lock.c | ||
| rdtgroup.c | ||