selftests/resctrl: Correct get_llc_perf() param in function comment
authorIlpo Järvinen <ilpo.jarvinen@linux.intel.com>
Wed, 15 Feb 2023 13:06:05 +0000 (15:06 +0200)
committerShuah Khan <skhan@linuxfoundation.org>
Mon, 10 Apr 2023 18:21:16 +0000 (12:21 -0600)
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>
tools/testing/selftests/resctrl/cache.c

index 585186c874dcd7a646e1418cd4865d872a6d2c92..8a4fe8693be63e5ae2ad40dea0ed68fd07fd4bf0 100644 (file)
@@ -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.