Home
last modified time | relevance | path

Searched refs:is_amd (Results 1 – 4 of 4) sorted by relevance

/linux/tools/perf/tests/shell/
H A Dtest_data_symbol.sh57 is_amd=$(grep -E -c 'vendor_id.*AuthenticAMD' /proc/cpuinfo)
58 if (($is_amd >= 1)); then
/linux/tools/perf/util/
H A Denv.c815 static int is_amd; /* 0: Uninitialized, 1: Yes, -1: No */ in perf_env__is_x86_amd_cpu() local
817 if (is_amd == 0) in perf_env__is_x86_amd_cpu()
818 is_amd = env->cpuid && strstarts(env->cpuid, "AuthenticAMD") ? 1 : -1; in perf_env__is_x86_amd_cpu()
820 return is_amd >= 1 ? true : false; in perf_env__is_x86_amd_cpu()
826 bool is_amd; in x86__is_amd_cpu() local
829 is_amd = perf_env__is_x86_amd_cpu(&env); in x86__is_amd_cpu()
832 return is_amd; in x86__is_amd_cpu()
/linux/tools/arch/x86/kcpuid/
H A Dkcpuid.c80 static bool is_amd; global() variable
/linux/arch/x86/kvm/mmu/
H A Dmmu.c5439 bool is_amd = true; in reset_shadow_zero_bits_mask() local
5452 is_pse, is_amd); in reset_shadow_zero_bits_mask()