Searched hist:"678 a3bd1b3de6d2ebf604e7d708bc8150bb667e9" (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/tools/power/x86/turbostat/ |
H A D | turbostat.c | diff 678a3bd1b3de6d2ebf604e7d708bc8150bb667e9 Thu Feb 09 21:22:13 CST 2017 Len Brown <len.brown@intel.com> 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>
|