Lines Matching refs:arch
148 const char *arch = perf_env__arch(env), *cross_env;
156 if (!strcmp(perf_env__arch(NULL), arch))
173 if (!strcmp(arch, "arc"))
175 else if (!strcmp(arch, "arm"))
177 else if (!strcmp(arch, "arm64"))
179 else if (!strcmp(arch, "powerpc"))
181 else if (!strcmp(arch, "riscv32"))
183 else if (!strcmp(arch, "riscv64"))
185 else if (!strcmp(arch, "sh"))
187 else if (!strcmp(arch, "s390"))
189 else if (!strcmp(arch, "sparc"))
191 else if (!strcmp(arch, "x86"))
193 else if (!strcmp(arch, "mips"))
196 ui__error("binutils for %s not supported.\n", arch);
205 name, arch, name);
224 * For live mode, env->arch will be NULL and we can use
227 if (env->arch == NULL)