1 /* SPDX-License-Identifier: GPL-2.0 */
2 #ifndef __PERF_CPUTOPO_H
3 #define __PERF_CPUTOPO_H
5 #include <linux/types.h>
14 char **thread_siblings;
17 struct numa_topology_node {
24 struct numa_topology {
26 struct numa_topology_node nodes[0];
29 struct cpu_topology *cpu_topology__new(void);
30 void cpu_topology__delete(struct cpu_topology *tp);
32 struct numa_topology *numa_topology__new(void);
33 void numa_topology__delete(struct numa_topology *tp);
35 #endif /* __PERF_CPUTOPO_H */