diff options
author | Ilpo Järvinen <[email protected]> | 2023-12-15 17:04:57 +0200 |
---|---|---|
committer | Shuah Khan <[email protected]> | 2024-02-13 13:56:44 -0700 |
commit | a575c9734f3021f1fc81c2477ecaee4d9841fd59 (patch) | |
tree | 376d0ba1f055c63bf64eedf11639089f673d0ba8 /net/lapb/lapb_subr.c | |
parent | b6dfac948686799169c899557a179b84d0d1f47e (diff) |
selftests/resctrl: Split measure_cache_vals()
measure_cache_vals() does a different thing depending on the test case
that called it:
- For CAT, it measures LLC misses through perf.
- For CMT, it measures LLC occupancy through resctrl.
Split these two functionalities into own functions the CAT and CMT
tests can call directly. Replace passing the struct resctrl_val_param
parameter with the filename because it's more generic and all those
functions need out of resctrl_val.
Co-developed-by: Fenghua Yu <[email protected]>
Signed-off-by: Fenghua Yu <[email protected]>
Signed-off-by: Ilpo Järvinen <[email protected]>
Reviewed-by: Reinette Chatre <[email protected]>
Signed-off-by: Shuah Khan <[email protected]>
Diffstat (limited to 'net/lapb/lapb_subr.c')
0 files changed, 0 insertions, 0 deletions