aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/tools/testing/selftests/resctrl/cache.c
diff options
context:
space:
mode:
authorIlpo Järvinen <ilpo.jarvinen@linux.intel.com>2023-02-15 15:06:05 +0200
committerShuah Khan <skhan@linuxfoundation.org>2023-04-10 12:21:16 -0600
commit5874a6a187f2e814542d7fdf918fd29f79ff25c3 (patch)
treeec8a6588dcb7b19bb28a85f49ea74c95ca7c9574 /tools/testing/selftests/resctrl/cache.c
parentselftests/resctrl: Use remount_resctrlfs() consistently with boolean (diff)
downloadwireguard-linux-5874a6a187f2e814542d7fdf918fd29f79ff25c3.tar.xz
wireguard-linux-5874a6a187f2e814542d7fdf918fd29f79ff25c3.zip
selftests/resctrl: Correct get_llc_perf() param in function comment
get_llc_perf() function comment refers to cpu_no parameter that does not exist. Correct get_llc_perf() the comment to document llc_perf_miss instead. 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/testing/selftests/resctrl/cache.c')
-rw-r--r--tools/testing/selftests/resctrl/cache.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/testing/selftests/resctrl/cache.c b/tools/testing/selftests/resctrl/cache.c
index 585186c874dc..8a4fe8693be6 100644
--- a/tools/testing/selftests/resctrl/cache.c
+++ b/tools/testing/selftests/resctrl/cache.c
@@ -77,7 +77,7 @@ static int reset_enable_llc_perf(pid_t pid, int cpu_no)
/*
* get_llc_perf: llc cache miss through perf events
- * @cpu_no: CPU number that the benchmark PID is binded to
+ * @llc_perf_miss: LLC miss counter that is filled on success
*
* Perf events like HW_CACHE_MISSES could be used to validate number of
* cache lines allocated.