perf stat aggregation: Add separate core member
[linux-2.6-microblaze.git] / tools / perf / util / cpumap.h
index 51bbe1e..1bb8f7d 100644 (file)
@@ -12,6 +12,7 @@ struct aggr_cpu_id {
        int node;
        int socket;
        int die;
        int node;
        int socket;
        int die;
+       int core;
 };
 
 struct cpu_aggr_map {
 };
 
 struct cpu_aggr_map {
@@ -50,11 +51,6 @@ static inline int cpu_map__socket(struct perf_cpu_map *sock, int s)
        return sock->map[s];
 }
 
        return sock->map[s];
 }
 
-static inline int cpu_map__id_to_cpu(int id)
-{
-       return id & 0xffff;
-}
-
 int cpu__setup_cpunode_map(void);
 
 int cpu__max_node(void);
 int cpu__setup_cpunode_map(void);
 
 int cpu__max_node(void);