diff options
author | Tony Luck <tony.luck@intel.com> | 2024-12-06 08:31:43 -0800 |
---|---|---|
committer | Borislav Petkov (AMD) <bp@alien8.de> | 2024-12-10 11:15:19 +0100 |
commit | 481d363748b2df881df21569f3697b3c7fcf8fc1 (patch) | |
tree | bf13704f408b47e82845e7cf2941c62eab4c4d56 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 3b49c37a2f4657730dd38a050b9d221363889dea (diff) |
x86/resctrl: Modify update_mba_bw() to use per CTRL_MON group event
update_mba_bw() hard codes use of the memory bandwidth local event which
prevents more flexible options from being deployed.
Change this function to use the event specified in the rdtgroup that is
being processed.
Mount time checks for the "mba_MBps" option ensure that local memory
bandwidth is enabled. So drop the redundant is_mbm_local_enabled() check.
Signed-off-by: Tony Luck <tony.luck@intel.com>
Signed-off-by: Borislav Petkov (AMD) <bp@alien8.de>
Reviewed-by: Reinette Chatre <reinette.chatre@intel.com>
Tested-by: Babu Moger <babu.moger@amd.com>
Link: https://lore.kernel.org/r/20241206163148.83828-4-tony.luck@intel.com
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions