projects
/
linux-2.6-microblaze.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
perf stat aggregation: Add separate socket member
[linux-2.6-microblaze.git]
/
tools
/
perf
/
util
/
cpumap.h
diff --git
a/tools/perf/util/cpumap.h
b/tools/perf/util/cpumap.h
index
f79e926
..
0123ecc
100644
(file)
--- a/
tools/perf/util/cpumap.h
+++ b/
tools/perf/util/cpumap.h
@@
-10,6
+10,7
@@
struct aggr_cpu_id {
int id;
int node;
+ int socket;
};
struct cpu_aggr_map {
@@
-48,11
+49,6
@@
static inline int cpu_map__socket(struct perf_cpu_map *sock, int s)
return sock->map[s];
}
-static inline int cpu_map__id_to_socket(int id)
-{
- return id >> 24;
-}
-
static inline int cpu_map__id_to_die(int id)
{
return (id >> 16) & 0xff;