diff options
author | Jiri Olsa <jolsa@kernel.org> | 2019-02-19 10:58:14 +0100 |
---|---|---|
committer | Arnaldo Carvalho de Melo <acme@redhat.com> | 2019-02-19 16:21:06 +0100 |
commit | 48e6c5acd36873ff022cd97de866bfd0a36a3b99 (patch) | |
tree | 5c3dd2981a49b4b1b67a1813125a7cb1b35660a6 /tools/perf/builtin-report.c | |
parent | perf tools: Add cpu_topology object (diff) | |
download | linux-48e6c5acd36873ff022cd97de866bfd0a36a3b99.tar.xz linux-48e6c5acd36873ff022cd97de866bfd0a36a3b99.zip |
perf tools: Add numa_topology object
Add the numa_topology object to return the list of numa nodes together
with their cpus. It will replace the numa code in header.c and will be
used from 'perf record' in the following patches.
Add the following interface functions to load numa details:
struct numa_topology *numa_topology__new(void);
void numa_topology__delete(struct numa_topology *tp);
And replace the current (copied) local interface, with no functional
changes.
Signed-off-by: Jiri Olsa <jolsa@kernel.org>
Acked-by: Namhyung Kim <namhyung@kernel.org>
Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com>
Cc: Peter Zijlstra <peterz@infradead.org>
Link: http://lkml.kernel.org/r/20190219095815.15931-4-jolsa@kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/builtin-report.c')
0 files changed, 0 insertions, 0 deletions