aboutsummaryrefslogtreecommitdiff
path: root/tools/power/x86/turbostat/Makefile
diff options
context:
space:
mode:
authorGravatar Len Brown <len.brown@intel.com> 2016-06-16 23:22:37 -0400
committerGravatar Len Brown <len.brown@intel.com> 2016-12-01 01:33:19 -0500
commit869ce69e1e8ae7e6fa4a1a90887e5f94eac653eb (patch)
treecb36bfcf6b78447b35298b1512e490fcefc5d68b /tools/power/x86/turbostat/Makefile
parenttools/power/turbostat: Add Denverton RAPL support (diff)
downloadlinux-869ce69e1e8ae7e6fa4a1a90887e5f94eac653eb.tar.gz
linux-869ce69e1e8ae7e6fa4a1a90887e5f94eac653eb.tar.bz2
linux-869ce69e1e8ae7e6fa4a1a90887e5f94eac653eb.zip
tools/power turbostat: use intel-family.h model strings
All except for model 1F, a Nehalem, which is currently incorrectly indentified as a Westmere in that new header. Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'tools/power/x86/turbostat/Makefile')
-rw-r--r--tools/power/x86/turbostat/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/power/x86/turbostat/Makefile b/tools/power/x86/turbostat/Makefile
index 8561e7ddca59..8792ad8dbf83 100644
--- a/tools/power/x86/turbostat/Makefile
+++ b/tools/power/x86/turbostat/Makefile
@@ -10,6 +10,7 @@ endif
turbostat : turbostat.c
CFLAGS += -Wall
CFLAGS += -DMSRHEADER='"../../../../arch/x86/include/asm/msr-index.h"'
+CFLAGS += -DINTEL_FAMILY_HEADER='"../../../../arch/x86/include/asm/intel-family.h"'
%: %.c
@mkdir -p $(BUILD_OUTPUT)