diff options
author | Ilpo Järvinen <ilpo.jarvinen@linux.intel.com> | 2023-12-15 17:04:56 +0200 |
---|---|---|
committer | Shuah Khan <skhan@linuxfoundation.org> | 2024-02-13 13:56:44 -0700 |
commit | b6dfac948686799169c899557a179b84d0d1f47e (patch) | |
tree | 6c345a9ffde24950a00ed206c1996de6f0c81246 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | 19e94a2333c2babc773e51a9ed844cfc35a36064 (diff) | |
download | linux-b6dfac948686799169c899557a179b84d0d1f47e.tar.gz linux-b6dfac948686799169c899557a179b84d0d1f47e.tar.bz2 linux-b6dfac948686799169c899557a179b84d0d1f47e.zip |
selftests/resctrl: Exclude shareable bits from schemata in CAT test
CAT test doesn't take shareable bits into account, i.e., the test might
be sharing cache with some devices (e.g., graphics).
Introduce get_mask_no_shareable() and use it to provision an
environment for CAT test where the allocated LLC is isolated better.
Excluding shareable_bits may create hole(s) into the cbm_mask, thus add
a new helper count_contiguous_bits() to find the longest contiguous set
of CBM bits.
create_bit_mask() is needed by an upcoming CAT test rewrite so make it
available in resctrl.h right away.
Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Reviewed-by: Reinette Chatre <reinette.chatre@intel.com>
Signed-off-by: Shuah Khan <skhan@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions