aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/sched-migration.py
diff options
context:
space:
mode:
authorJiri Olsa <[email protected]>2019-02-19 09:58:15 +0000
committerArnaldo Carvalho de Melo <[email protected]>2019-02-19 15:21:10 +0000
commite19a01c1438e123d169fd09376a221d844797174 (patch)
treecb5d1b22fb596468d673ab88078f63900c4b35bf /tools/perf/scripts/python/sched-migration.py
parentperf tools: Add numa_topology object (diff)
downloadkernel-e19a01c1438e123d169fd09376a221d844797174.tar.gz
kernel-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 <[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/sched-migration.py')
0 files changed, 0 insertions, 0 deletions