• L
    tools/power turbostat: reduce debug output · 0ec712e3
    Len Brown 提交于
    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: NLen Brown <len.brown@intel.com>
    Cc: Prarit Bhargava <prarit@redhat.com>
    0ec712e3
turbostat.c 145.4 KB