linux/tools/power/x86/turbostat
Len Brown 678a3bd1b3 tools/power turbostat: fix bugs in --add option
When --add was used more than once, overflowed buffers
caused some counters to be stored on top of others,
corrupting the results.  Simplify the code by simply
reserving space for up to 16 added counters per each
cpu, core, package.

Per-cpu added counters were being printed only per-core.

Signed-off-by: Len Brown <len.brown@intel.com>
2017-02-25 16:52:28 -05:00
..
.gitignore turbostat: Add a .gitignore to ignore the compiled turbostat binary 2014-01-18 22:34:10 -05:00
Makefile tools/power turbostat: use intel-family.h model strings 2016-12-01 01:33:19 -05:00
turbostat.8 tools/power turbostat: remove obsolete -M, -m, -C, -c options 2016-12-24 15:38:09 -05:00
turbostat.c tools/power turbostat: fix bugs in --add option 2017-02-25 16:52:28 -05:00