]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
turbostat: Increase output buffer size to accommodate C8-C10
authorJosh Triplett <josh@joshtriplett.org>
Thu, 13 Jun 2013 00:26:37 +0000 (17:26 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 13 Jun 2013 16:55:56 +0000 (09:55 -0700)
commitb844db31874e3b1c3b86c65024ac7bed9f77ee42
tree7a88339c7c723b24d00011b19375a1ea5ea887d7
parent26e04462c8b78d079d3231396ec72d58a14f114b
turbostat: Increase output buffer size to accommodate C8-C10

On platforms with C8-C10 support, the additional C-states cause
turbostat to overrun its output buffer of 128 bytes per CPU.  Increase
this to 256 bytes per CPU.

[ As a bugfix, this should go into 3.10; however, since the C8-C10
  support didn't go in until after 3.9, this need not go into any stable
  kernel. ]

Signed-off-by: Josh Triplett <josh@joshtriplett.org>
Cc: Len Brown <len.brown@intel.com>
Cc: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
tools/power/x86/turbostat/turbostat.c