[PATCH 0/2]tools/power turbostat: enable turbostat to support Knights Mill (KNM)

From: Piotr Luc
Date: Tue Oct 18 2016 - 17:07:34 EST


This patchset is rebased onto 08328814256d888634ff15ba8fb67e2ae4340b64.

First patch improves code style by replacing raw numbers
of CPUID with descriptive macros of processor names.

The second patch adds Knights Mill (KNM) to the list of CPUIDs supported
by turbostat.

Both patches come in new versions where trailing comments, which
described CPUs, are removed because self-descriptive macros are
used instead raw numbers.

Piotr Luc (2):
tools/power turbostat: Use Intel family processor macros
tools/power turbostat: enable turbostat to support Knights Mill (KNM)

tools/power/x86/turbostat/Makefile | 3 +-
tools/power/x86/turbostat/turbostat.c | 250 ++++++++++++++++++----------------
2 files changed, 131 insertions(+), 122 deletions(-)

--
2.10.1