Skip to content

Commit 87af5e5

Browse files
committed
Merge branch 'release' of git://git.kernel.org/pub/scm/linux/kernel/git/lenb/linux
Pull turbostat updates from Len Brown. * 'release' of git://git.kernel.org/pub/scm/linux/kernel/git/lenb/linux: tools/power turbostat: introduce -s to dump counters tools/power turbostat: remove unused command line option turbostat: Add option to report joules consumed per sample turbostat: run on HSX turbostat: Add a .gitignore to ignore the compiled turbostat binary turbostat: Clean up error handling; disambiguate error messages; use err and errx turbostat: Factor out common function to open file and exit on failure turbostat: Add a helper to parse a single int out of a file turbostat: Check return value of fscanf turbostat: Use GCC's CPUID functions to support PIC turbostat: Don't attempt to printf an off_t with %zx turbostat: Don't put unprocessed uapi headers in the include path
2 parents e4c0da2 + 3b4d5c7 commit 87af5e5

File tree

3 files changed

+244
-200
lines changed

3 files changed

+244
-200
lines changed

tools/power/x86/turbostat/.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
turbostat

tools/power/x86/turbostat/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ DESTDIR :=
55

66
turbostat : turbostat.c
77
CFLAGS += -Wall
8-
CFLAGS += -I../../../../arch/x86/include/uapi/
8+
CFLAGS += -DMSRHEADER='"../../../../arch/x86/include/uapi/asm/msr-index.h"'
99

1010
%: %.c
1111
@mkdir -p $(BUILD_OUTPUT)

0 commit comments

Comments
 (0)