summaryrefslogtreecommitdiff
path: root/include/glibtop/sysdeps.h
diff options
context:
space:
mode:
authorMichael Catanzaro <mcatanzaro@gnome.org>2020-11-06 09:52:01 -0600
committerMichael Catanzaro <mcatanzaro@gnome.org>2020-11-06 09:52:01 -0600
commit7e214414bf23d1ea34e7fdccb17a7f41040ffea9 (patch)
tree4ddb421111d8ffe6bc1a15948f442d622168d068 /include/glibtop/sysdeps.h
parent30bf8d04183c26ca48c6cd4efe4c24058a082783 (diff)
downloadlibgtop-7e214414bf23d1ea34e7fdccb17a7f41040ffea9.tar.gz
Revert "New API to retrieve disk stats in Linux"
This reverts commit 9e62440b314fbf87bbeca865a4223311314c52a3.
Diffstat (limited to 'include/glibtop/sysdeps.h')
-rw-r--r--include/glibtop/sysdeps.h4
1 files changed, 1 insertions, 3 deletions
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 */