diff options
author | Len Brown <len.brown@intel.com> | 2017-02-09 22:22:13 -0500 |
---|---|---|
committer | Len Brown <len.brown@intel.com> | 2017-02-25 16:52:28 -0500 |
commit | 678a3bd1b3de6d2ebf604e7d708bc8150bb667e9 (patch) | |
tree | ce41087d430d02c5d681b73262f43720dd4fb58e /Documentation/ioctl | |
parent | c470abd4fde40ea6a0846a2beab642a578c0b8cd (diff) |
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>
Diffstat (limited to 'Documentation/ioctl')
0 files changed, 0 insertions, 0 deletions