diff options
author | Jiri Olsa <[email protected]> | 2019-02-19 10:58:13 +0100 |
---|---|---|
committer | Arnaldo Carvalho de Melo <[email protected]> | 2019-02-19 12:21:01 -0300 |
commit | 5135d5efcbb439c2acb20d6197dd57af3a456e76 (patch) | |
tree | c010f7d01cbb9bbc9b4b4cb81baf843b1fd1be54 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | b00ccb27f97367d89e2d7b419ed198b0985be55d (diff) |
perf tools: Add cpu_topology object
Make struct cpu_topo global and rename it to 'struct cpu_topology', so
that it can be used from the 'perf record' command in the following
patches.
Add the following interface functions to load/free cpu topology details:
struct cpu_topology *cpu_topology__new(void);
void cpu_topology__delete(struct cpu_topology *tp);
Move it to a separate source file cputopo.c together with numa related
object in the following patches.
No functional change, the new interface will be used in upcoming changes.
Signed-off-by: Jiri Olsa <[email protected]>
Acked-by: Namhyung Kim <[email protected]>
Cc: Alexander Shishkin <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions