• Len Brown's avatar
    tools/power turbostat: Add --show and --hide parameters · 812db3f7
    Len Brown authored
    Add the "--show" and "--hide" cmdline parameters.
    
    By default, turbostat shows all columns.
    
    turbostat --hide counter_list
    will continue showing all columns, except for those listed.
    
    turbostat --show counter_list
    will show _only_ the listed columns
    
    These features work for built-in counters, and have no effect
    on columns added with the --add parameter.
    Signed-off-by: default avatarLen Brown <len.brown@intel.com>
    812db3f7
turbostat.c 111 KB