From: Macnamara, Chris Date: Mon, 26 Aug 2019 11:16:54 +0000 (+0100) Subject: Changes for power reporting on SKX and CLX. X-Git-Url: https://git.verplant.org/?a=commitdiff_plain;h=6d20a1530183823a18c516ab72e51ba65636c770;p=collectd.git Changes for power reporting on SKX and CLX. Change-Id: I2a6e9faebe616102904bcba4bc51e8e974a56408 --- diff --git a/src/turbostat.c b/src/turbostat.c index 9465ddc0..2803b3e6 100644 --- a/src/turbostat.c +++ b/src/turbostat.c @@ -987,6 +987,7 @@ static int __attribute__((warn_unused_result)) probe_cpu(void) { /* Ivy Bridge */ case 0x3A: /* IVB */ case 0x3E: /* IVB Xeon */ + case 0x55: /* SKX,CLX Xeon */ do_smi = true; do_core_cstate = (1 << 3) | (1 << 6) | (1 << 7); do_pkg_cstate = (1 << 2) | (1 << 3) | (1 << 6) | (1 << 7); @@ -1042,6 +1043,7 @@ static int __attribute__((warn_unused_result)) probe_cpu(void) { break; case 0x2D: /* SNB Xeon */ case 0x3E: /* IVB Xeon */ + case 0x55: /* SKX,CLX Xeon */ do_rapl = RAPL_PKG | RAPL_CORES | RAPL_DRAM; do_power_fields = TURBO_PLATFORM | PSTATES_PLATFORM; break;