Lines Matching defs:arch
4 * arch or when the jevents.py script cannot be run.
198 * cpuid field, which is an arch-specific identifier for the CPU.
199 * The identifier specified in tools/perf/pmu-events/arch/xxx/mapfile
200 * must match the get_cpuid_str() in tools/perf/arch/xxx/util/header.c)
205 const char *arch;
217 .arch = "testarch",
223 .arch = 0,
383 const struct pmu_events_table *find_core_events_table(const char *arch, const char *cpuid)
386 tables->arch;
388 if (!strcmp(tables->arch, arch) && !strcmp_cpuid_str(tables->cpuid, cpuid))
394 const struct pmu_metrics_table *find_core_metrics_table(const char *arch, const char *cpuid)
397 tables->arch;
399 if (!strcmp(tables->arch, arch) && !strcmp_cpuid_str(tables->cpuid, cpuid))
407 for (const struct pmu_events_map *tables = &pmu_events_map[0]; tables->arch; tables++) {
420 tables->arch;