x86,fs/resctrl: Replace architecture event enabled checks
The resctrl file system now has complete knowledge of the status of every
event. So there is no need for per-event function calls to check.
Replace each of the resctrl_arch_is_{event}enabled() calls with
resctrl_is_mon_event_enabled(QOS_{EVENT}).
No functional change.
Signed-off-by:
Tony Luck <tony.luck@intel.com>
Signed-off-by:
Babu Moger <babu.moger@amd.com>
Signed-off-by:
Borislav Petkov (AMD) <bp@alien8.de>
Reviewed-by:
Fenghua Yu <fenghuay@nvidia.com>
Reviewed-by:
Reinette Chatre <reinette.chatre@intel.com>
Link: https://lore.kernel.org/cover.1757108044.git.babu.moger@amd.com
Loading
Please sign in to comment