turbostat: import msr-index header from linux
authorVincent Brillault <git@lerya.net>
Mon, 25 Sep 2017 19:21:45 +0000 (21:21 +0200)
committerFlorian Forster <octo@collectd.org>
Fri, 17 Nov 2017 11:01:59 +0000 (12:01 +0100)
commitcba183dbc6030501446c2a7134200f5f3739152b
tree51bebad2351bd39f5fe0adad4573ebb4bb2a564c
parentec613f7fe32e45de07333a2de8343ea69ac474cd
turbostat: import msr-index header from linux

Since Linux 4.12, the kernel does not expose msr-index.h to the userland
anymore. This commit pulls and hardcode the required definitions.

Signed-off-by: Florian Forster <octo@collectd.org>
configure.ac
src/Makefile.am
src/msr-index.h [new file with mode: 0644]
src/turbostat.c