]> granicus.if.org Git - sysstat/blobdiff - rd_sensors.h
sar/sadc: Dereference nr array pointer in struct activity
[sysstat] / rd_sensors.h
index d0c26a77b81dfa4178204dd47bc93334b7f2f2ea..ee5e92c3be91c8e7179301c3f3d9736e16b40168 100644 (file)
@@ -1,14 +1,11 @@
 /*
  * rd_sensors.h: Include file used to read sensors statistics
- * (C) 1999-2017 by Sebastien Godard (sysstat <at> orange.fr)
+ * (C) 1999-2020 by Sebastien Godard (sysstat <at> orange.fr)
  */
 
 #ifndef _RD_SENSORS_H
 #define _RD_SENSORS_H
 
-#include "common.h"
-#include "rd_stats.h"
-
 /*
  ***************************************************************************
  * Definitions of structures for sensors statistics
@@ -25,6 +22,9 @@ struct stats_pwr_fan {
 };
 
 #define STATS_PWR_FAN_SIZE     (sizeof(struct stats_pwr_fan))
+#define STATS_PWR_FAN_ULL      2
+#define STATS_PWR_FAN_UL       0
+#define STATS_PWR_FAN_U                0
 
 /*
  * Structure for device temperature statistics.
@@ -37,6 +37,9 @@ struct stats_pwr_temp {
 };
 
 #define STATS_PWR_TEMP_SIZE    (sizeof(struct stats_pwr_temp))
+#define STATS_PWR_TEMP_ULL     3
+#define STATS_PWR_TEMP_UL      0
+#define STATS_PWR_TEMP_U       0
 
 /*
  * Structure for voltage inputs statistics.
@@ -49,6 +52,9 @@ struct stats_pwr_in {
 };
 
 #define STATS_PWR_IN_SIZE      (sizeof(struct stats_pwr_in))
+#define STATS_PWR_IN_ULL       3
+#define STATS_PWR_IN_UL                0
+#define STATS_PWR_IN_U         0
 
 /*
  ***************************************************************************