selftests/resctrl: Consolidate naming of perf event related things
authorIlpo Järvinen <ilpo.jarvinen@linux.intel.com>
Fri, 15 Dec 2023 15:05:01 +0000 (17:05 +0200)
committerShuah Khan <skhan@linuxfoundation.org>
Tue, 13 Feb 2024 20:56:44 +0000 (13:56 -0700)
commitb6e6a582f2b357b6f74849b715de12cc38b1ee91
treebcb4228a57a1be135a533b02ed17b3247e5ec9cb
parent3c6bfc9cc7f0e3bed76ff0a7ed5bf89059b7b0bd
selftests/resctrl: Consolidate naming of perf event related things

Naming for perf event related functions, types, and variables is
inconsistent.

Make struct read_format and all functions related to perf events start
with "perf_". Adjust variable names towards the same direction but use
shorter names for variables where appropriate (pe prefix).

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