Home
last modified time | relevance | path

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

/openbmc/linux/tools/perf/util/
H A Dcpumap.c24 static int *cpunode_map; variable
496 if (unlikely(cpunode_map == NULL)) { in cpu__get_node()
501 return cpunode_map[cpu.cpu]; in cpu__get_node()
511 cpunode_map = calloc(max_cpu_num.cpu, sizeof(int)); in init_cpunode_map()
512 if (!cpunode_map) { in init_cpunode_map()
518 cpunode_map[i] = -1; in init_cpunode_map()
568 cpunode_map[cpu] = mem; in cpu__setup_cpunode_map()