[libgtop] No use for glibtop_machine for now, but who knows in the future.



commit 8f2f236404f6ebb523d797d07c95850f561e3efd
Author: Benoit Dejean <bdejean gmail com>
Date:   Tue Jul 21 09:40:56 2015 +0200

    No use for glibtop_machine for now, but who knows in the future.

 sysdeps/linux/glibtop_machine.h |    7 ++-----
 1 files changed, 2 insertions(+), 5 deletions(-)
---
diff --git a/sysdeps/linux/glibtop_machine.h b/sysdeps/linux/glibtop_machine.h
index a12d783..133d7c8 100644
--- a/sysdeps/linux/glibtop_machine.h
+++ b/sysdeps/linux/glibtop_machine.h
@@ -32,11 +32,8 @@ typedef struct _glibtop_machine              glibtop_machine;
 
 struct _glibtop_machine
 {
-       pid_t   last_pid;
-       int     no_update;
-       int     fd_stat, fd_meminfo, fd_loadavg;
-       char    proc_stat [BUFSIZ], proc_statm [BUFSIZ];
-       char    proc_status [BUFSIZ];
+       guint64 reserved[8];
+       int     reserved[8];
 };
 
 G_END_DECLS


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]