From 7e214414bf23d1ea34e7fdccb17a7f41040ffea9 Mon Sep 17 00:00:00 2001 From: Michael Catanzaro Date: Fri, 6 Nov 2020 09:52:01 -0600 Subject: Revert "New API to retrieve disk stats in Linux" This reverts commit 9e62440b314fbf87bbeca865a4223311314c52a3. --- include/glibtop/sysdeps.h | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'include/glibtop/sysdeps.h') diff --git a/include/glibtop/sysdeps.h b/include/glibtop/sysdeps.h index a1db66d8..a18c69e6 100644 --- a/include/glibtop/sysdeps.h +++ b/include/glibtop/sysdeps.h @@ -54,9 +54,8 @@ G_BEGIN_DECLS #define GLIBTOP_SYSDEPS_PROC_WD 25 #define GLIBTOP_SYSDEPS_PROC_AFFINITY 26 #define GLIBTOP_SYSDEPS_PROC_IO 27 -#define GLIBTOP_SYSDEPS_DISK 28 -#define GLIBTOP_MAX_SYSDEPS 29 +#define GLIBTOP_MAX_SYSDEPS 28 /* The 'features' args to glibtop_init_* is an unsigned long */ G_STATIC_ASSERT((1UL << (GLIBTOP_MAX_SYSDEPS - 1)) <= ULONG_MAX); @@ -70,7 +69,6 @@ struct _glibtop_sysdeps guint64 flags; guint64 features; /* server features */ guint64 cpu; /* glibtop_cpu */ - guint64 disk; /* glibtop_cpu */ guint64 mem; /* glibtop_mem */ guint64 swap; /* glibtop_swap */ guint64 uptime; /* glibtop_uptime */ -- cgit v1.2.1