4 #include <linux/types.h>
6 struct cpu_topology_map
{
11 struct cpu_cache_level
{
30 unsigned long long total_mem
;
31 unsigned int msr_pmu_type
;
35 int nr_sibling_threads
;
40 const char **cmdline_argv
;
42 char *sibling_threads
;
45 struct cpu_topology_map
*cpu
;
46 struct cpu_cache_level
*caches
;
50 extern struct perf_env perf_env
;
52 void perf_env__exit(struct perf_env
*env
);
54 int perf_env__set_cmdline(struct perf_env
*env
, int argc
, const char *argv
[]);
56 int perf_env__read_cpu_topology_map(struct perf_env
*env
);
58 void cpu_cache_level__free(struct cpu_cache_level
*cache
);
59 #endif /* __PERF_ENV_H */