perf/x86/intel: Use the common uarch name for the shared functions
authorKan Liang <kan.liang@linux.intel.com>
Tue, 29 Aug 2023 12:58:01 +0000 (05:58 -0700)
committerIngo Molnar <mingo@kernel.org>
Tue, 29 Aug 2023 18:59:22 +0000 (20:59 +0200)
commitd4b5694c75d4eba8238d541a55da0c67e876213e
tree46c25a03e6163928c8ea1d6730962ed0ed7f06b9
parent97efd28334e271a7e1112ac4dca24d3feea8404b
perf/x86/intel: Use the common uarch name for the shared functions

From PMU's perspective, the SPR/GNR server has a similar uarch to the
ADL/MTL client p-core. Many functions are shared. However, the shared
function name uses the abbreviation of the server product code name,
rather than the common uarch code name.

Rename these internal shared functions by the common uarch name.

Signed-off-by: Kan Liang <kan.liang@linux.intel.com>
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Link: https://lore.kernel.org/r/20230829125806.3016082-2-kan.liang@linux.intel.com
arch/x86/events/intel/core.c
arch/x86/events/intel/ds.c
arch/x86/events/perf_event.h