4 #include <linux/types.h>
7 struct cpu_topology_map {
12 struct cpu_cache_level {
38 unsigned long long total_mem;
39 unsigned int msr_pmu_type;
43 int nr_sibling_threads;
48 const char **cmdline_argv;
50 char *sibling_threads;
52 struct cpu_topology_map *cpu;
53 struct cpu_cache_level *caches;
55 struct numa_node *numa_nodes;
58 extern struct perf_env perf_env;
60 void perf_env__exit(struct perf_env *env);
62 int perf_env__set_cmdline(struct perf_env *env, int argc, const char *argv[]);
64 int perf_env__read_cpu_topology_map(struct perf_env *env);
66 void cpu_cache_level__free(struct cpu_cache_level *cache);
67 #endif /* __PERF_ENV_H */