diff options
author | Maciej Wieczor-Retman <maciej.wieczor-retman@intel.com> | 2023-10-10 10:56:12 +0300 |
---|---|---|
committer | Shuah Khan <skhan@linuxfoundation.org> | 2023-10-13 23:59:06 +0300 |
commit | 508934b5d15ab79fd5895cc2a6063bc9d95f6a55 (patch) | |
tree | 9a7c76128bed193f796ed1e78f2db44d4553e265 /tools/power | |
parent | 20d96b25cc4c45823fbec5406ae5ae45da6a892e (diff) | |
download | linux-508934b5d15ab79fd5895cc2a6063bc9d95f6a55.tar.xz |
selftests/resctrl: Move run_benchmark() to a more fitting file
resctrlfs.c contains mostly functions that interact in some way with
resctrl FS entries while functions inside resctrl_val.c deal with
measurements and benchmarking.
run_benchmark() is located in resctrlfs.c even though it's purpose
is not interacting with the resctrl FS but to execute cache checking
logic.
Move run_benchmark() to resctrl_val.c just before resctrl_val() that
makes use of run_benchmark(). Make run_benchmark() static since it's
not used between multiple files anymore.
Remove return comment from kernel-doc since the function is type void.
Signed-off-by: Maciej Wieczor-Retman <maciej.wieczor-retman@intel.com>
Reviewed-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/power')
0 files changed, 0 insertions, 0 deletions