diff options
author | Stephane Eranian <eranian@google.com> | 2013-02-06 15:46:01 +0100 |
---|---|---|
committer | Arnaldo Carvalho de Melo <acme@redhat.com> | 2013-02-06 18:09:26 -0300 |
commit | 5ac59a8a77e3faa1eaf9bfe82a61e9396b082c3d (patch) | |
tree | 31bac73e17a1caf1dd34dbfb0a4fada571abb9e4 /tools/perf/builtin-stat.c | |
parent | 0479b8b9cf4377df5d2c81506ce93326c31eff40 (diff) | |
download | lwn-5ac59a8a77e3faa1eaf9bfe82a61e9396b082c3d.tar.gz lwn-5ac59a8a77e3faa1eaf9bfe82a61e9396b082c3d.zip |
perf tools: Add cpu_map processor socket level functions
This patch adds:
- cpu_map__get_socket: get socked id from cpu
- cpu_map__build_socket_map: build socket map
- cpu_map__socket: gets acutal socket from logical socket
Those functions are used by uncore and processor socket-level
aggregation modes.
Signed-off-by: Stephane Eranian <eranian@google.com>
Cc: Andi Kleen <ak@linux.intel.com>
Cc: Ingo Molnar <mingo@elte.hu>
Cc: Jiri Olsa <jolsa@redhat.com>
Cc: Namhyung Kim <namhyung.kim@lge.com>
Cc: Peter Zijlstra <peterz@infradead.org>
Link: http://lkml.kernel.org/r/1360161962-9675-2-git-send-email-eranian@google.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/builtin-stat.c')
0 files changed, 0 insertions, 0 deletions