Lines Matching full:cpuid
198 * cpuid field, which is an arch-specific identifier for the CPU.
202 * The cpuid can contain any character other than the comma.
206 const char *cpuid; member
218 .cpuid = "testcpu",
224 .cpuid = 0,
330 char *cpuid = perf_pmu__getcpuid(pmu); in perf_pmu__find_events_table() local
333 /* on some platforms which uses cpus map, cpuid can be NULL for in perf_pmu__find_events_table()
336 if (!cpuid) in perf_pmu__find_events_table()
343 if (!map->cpuid) in perf_pmu__find_events_table()
346 if (!strcmp_cpuid_str(map->cpuid, cpuid)) { in perf_pmu__find_events_table()
351 free(cpuid); in perf_pmu__find_events_table()
358 char *cpuid = perf_pmu__getcpuid(pmu); in perf_pmu__find_metrics_table() local
361 /* on some platforms which uses cpus map, cpuid can be NULL for in perf_pmu__find_metrics_table()
364 if (!cpuid) in perf_pmu__find_metrics_table()
371 if (!map->cpuid) in perf_pmu__find_metrics_table()
374 if (!strcmp_cpuid_str(map->cpuid, cpuid)) { in perf_pmu__find_metrics_table()
379 free(cpuid); in perf_pmu__find_metrics_table()
383 const struct pmu_events_table *find_core_events_table(const char *arch, const char *cpuid) in find_core_events_table() argument
388 if (!strcmp(tables->arch, arch) && !strcmp_cpuid_str(tables->cpuid, cpuid)) in find_core_events_table()
394 const struct pmu_metrics_table *find_core_metrics_table(const char *arch, const char *cpuid) in find_core_metrics_table() argument
399 if (!strcmp(tables->arch, arch) && !strcmp_cpuid_str(tables->cpuid, cpuid)) in find_core_metrics_table()