diff options
author | Ilpo Järvinen <ilpo.jarvinen@linux.intel.com> | 2023-12-15 17:05:13 +0200 |
---|---|---|
committer | Shuah Khan <skhan@linuxfoundation.org> | 2024-02-13 13:56:45 -0700 |
commit | e73dda7ffd858a58ddeb9c53603ae14f2af8927c (patch) | |
tree | 4c82cbd67b593be648bd7829c648d0765fba1330 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | ca1608875ae21bb40a7731b81bc0e2c95622d502 (diff) | |
download | linux-e73dda7ffd858a58ddeb9c53603ae14f2af8927c.tar.gz linux-e73dda7ffd858a58ddeb9c53603ae14f2af8927c.tar.bz2 linux-e73dda7ffd858a58ddeb9c53603ae14f2af8927c.zip |
selftests/resctrl: Add helper to convert L2/3 to integer
"L2"/"L3" conversion to integer is embedded into get_cache_size()
which prevents reuse.
Create a helper for the cache string to integer conversion to make
it reusable.
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