diff options
author | 2015-12-01 17:14:15 +0100 | |
---|---|---|
committer | 2015-12-03 02:30:30 +0100 | |
commit | ce512b84045459f4a6c119a109c950c6bc4a6f3a (patch) | |
tree | 7dc8c24c52f5b870ce1a6c1a4b09adfdaa0e7d98 /tools/perf/scripts/python/stackcollapse.py | |
parent | cpupower: Provide STATIC variable in Makefile for debug builds (diff) | |
download | linux-dev-ce512b84045459f4a6c119a109c950c6bc4a6f3a.tar.xz linux-dev-ce512b84045459f4a6c119a109c950c6bc4a6f3a.zip |
cpupower: Do not analyse offlined cpus
Use sysfs_is_cpu_online(cpu) instead of cpufreq_cpu_exists(cpu) to detect offlined cpus.
Re-arrange printfs slightly to have a consistent output even if you have multiple CPUs
as output and even if offlined cores are in between.
Signed-off-by: Thomas Renninger <trenn@suse.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions