commit | ce512b84045459f4a6c119a109c950c6bc4a6f3a | [log] [tgz] |
---|---|---|
author | Thomas Renninger <trenn@suse.com> | Tue Dec 01 17:14:15 2015 +0100 |
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | Thu Dec 03 02:30:30 2015 +0100 |
tree | 7dc8c24c52f5b870ce1a6c1a4b09adfdaa0e7d98 | |
parent | e51207f0030474958e59bbc7e002f169bdb05c50 [diff] |
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>