linux-stable/tools/perf/arch
Namhyung Kim 28398ce172 perf tools: Move x86__is_amd_cpu() to util/env.c
It can be called from non-x86 platform so let's move it to the general
util directory.  Also add a new helper perf_env__is_x86_amd_cpu() so
that it can be called with an existing perf_env as well.

Reviewed-by: James Clark <james.clark@linaro.org>
Reviewed-by: Ravi Bangoria <ravi.bangoria@amd.com>
Acked-by: Kan Liang <kan.liang@linux.intel.com>
Cc: James Clark <james.clark@arm.com>
Cc: Atish Patra <atishp@atishpatra.org>
Cc: Mingwei Zhang <mizhang@google.com>
Cc: Kajol Jain <kjain@linux.ibm.com>
Cc: Thomas Richter <tmricht@linux.ibm.com>
Cc: Palmer Dabbelt <palmer@rivosinc.com>
Link: https://lore.kernel.org/r/20241016062359.264929-7-namhyung@kernel.org
Signed-off-by: Namhyung Kim <namhyung@kernel.org>
2024-10-22 09:55:07 -07:00
..
alpha perf tools: Add empty Build files for architectures lacking them 2015-08-06 16:24:15 -03:00
arc/annotate perf annotate: Introduce basic support for ARC 2018-12-17 14:59:42 -03:00
arm perf build: Rename CONFIG_DWARF to CONFIG_LIBDW 2024-10-18 10:17:40 -07:00
arm64 perf build: Rename CONFIG_DWARF to CONFIG_LIBDW 2024-10-18 10:17:40 -07:00
csky perf build: Rename CONFIG_DWARF to CONFIG_LIBDW 2024-10-18 10:17:40 -07:00
loongarch perf build: Rename CONFIG_DWARF to CONFIG_LIBDW 2024-10-18 10:17:40 -07:00
mips perf build: Rename CONFIG_DWARF to CONFIG_LIBDW 2024-10-18 10:17:40 -07:00
parisc perf tools: Add empty Build files for architectures lacking them 2015-08-06 16:24:15 -03:00
powerpc perf build: Rename CONFIG_DWARF to CONFIG_LIBDW 2024-10-18 10:17:40 -07:00
riscv perf build: Rename CONFIG_DWARF to CONFIG_LIBDW 2024-10-18 10:17:40 -07:00
riscv64/annotate perf annotate: Add riscv64 support 2021-09-27 09:33:44 -03:00
s390 perf build: Rename CONFIG_DWARF to CONFIG_LIBDW 2024-10-18 10:17:40 -07:00
sh perf build: Rename CONFIG_DWARF to CONFIG_LIBDW 2024-10-18 10:17:40 -07:00
sparc perf build: Rename CONFIG_DWARF to CONFIG_LIBDW 2024-10-18 10:17:40 -07:00
x86 perf tools: Move x86__is_amd_cpu() to util/env.c 2024-10-22 09:55:07 -07:00
xtensa perf build: Rename CONFIG_DWARF to CONFIG_LIBDW 2024-10-18 10:17:40 -07:00
Build perf util: Make util its own library 2024-06-26 11:07:42 -07:00
common.c perf tools riscv: Add support for riscv lookup_binutils_path 2023-05-12 15:21:48 -03:00
common.h perf annotate: Own objdump_path and disassembler_style strings 2023-04-04 09:39:56 -03:00