commit | 0ec712e36c1d5bafe6e65e53a19f136b778866cd | [log] [tgz] |
---|---|---|
author | Len Brown <len.brown@intel.com> | Fri Sep 21 22:26:57 2018 -0400 |
committer | Len Brown <len.brown@intel.com> | Fri Nov 02 14:06:31 2018 -0400 |
tree | 1aced6c00ca36a91cda44fe2ae30010f12ca3af8 | |
parent | 3404155190ce09a1e5d8407e968fc19aac4493e3 [diff] |
tools/power turbostat: reduce debug output A recent turbostat release increased topo.max_cpu_num to make it convenient to handle sysfs bitmaps of 32-cpus. But users, who regularly make use of "--debug", then saw a bunch of output for cpus that were not present. Remove that extra output by checking a cpu is online before dumping its info. Signed-off-by: Len Brown <len.brown@intel.com> Cc: Prarit Bhargava <prarit@redhat.com>