Lines Matching refs:topo
3760 struct cpu_topology *topo; in record__init_thread_core_masks() local
3762 topo = cpu_topology__new(); in record__init_thread_core_masks()
3763 if (!topo) { in record__init_thread_core_masks()
3768 ret = record__init_thread_masks_spec(rec, cpus, topo->core_cpus_list, in record__init_thread_core_masks()
3769 topo->core_cpus_list, topo->core_cpus_lists); in record__init_thread_core_masks()
3770 cpu_topology__delete(topo); in record__init_thread_core_masks()
3778 struct cpu_topology *topo; in record__init_thread_package_masks() local
3780 topo = cpu_topology__new(); in record__init_thread_package_masks()
3781 if (!topo) { in record__init_thread_package_masks()
3786 ret = record__init_thread_masks_spec(rec, cpus, topo->package_cpus_list, in record__init_thread_package_masks()
3787 topo->package_cpus_list, topo->package_cpus_lists); in record__init_thread_package_masks()
3788 cpu_topology__delete(topo); in record__init_thread_package_masks()
3798 struct numa_topology *topo; in record__init_thread_numa_masks() local
3800 topo = numa_topology__new(); in record__init_thread_numa_masks()
3801 if (!topo) { in record__init_thread_numa_masks()
3806 spec = zalloc(topo->nr * sizeof(char *)); in record__init_thread_numa_masks()
3812 for (s = 0; s < topo->nr; s++) in record__init_thread_numa_masks()
3813 spec[s] = topo->nodes[s].cpus; in record__init_thread_numa_masks()
3815 ret = record__init_thread_masks_spec(rec, cpus, spec, spec, topo->nr); in record__init_thread_numa_masks()
3820 numa_topology__delete(topo); in record__init_thread_numa_masks()