diff options
author | 2019-02-19 10:58:15 +0100 | |
---|---|---|
committer | 2019-02-19 12:21:10 -0300 | |
commit | e19a01c1438e123d169fd09376a221d844797174 (patch) | |
tree | cb5d1b22fb596468d673ab88078f63900c4b35bf /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | perf tools: Add numa_topology object (diff) | |
download | wireguard-linux-e19a01c1438e123d169fd09376a221d844797174.tar.xz wireguard-linux-e19a01c1438e123d169fd09376a221d844797174.zip |
perf tools: Use sysfs__mountpoint() when reading cpu topology
Use sysfs__mountpoint() when reading sysfs files to obtain cpu/numa
topologies.
Also use scnprintf instead of sprintf as suggested by Namhyung.
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-5-jolsa@kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions