summaryrefslogtreecommitdiff
path: root/include/glibtop/sysdeps.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/glibtop/sysdeps.h')
-rw-r--r--include/glibtop/sysdeps.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/glibtop/sysdeps.h b/include/glibtop/sysdeps.h
index 40f0b6b2..1060d1c9 100644
--- a/include/glibtop/sysdeps.h
+++ b/include/glibtop/sysdeps.h
@@ -52,8 +52,9 @@ G_BEGIN_DECLS
#define GLIBTOP_SYSDEPS_NETLIST 23
#define GLIBTOP_SYSDEPS_PROC_OPEN_FILES 24
#define GLIBTOP_SYSDEPS_PROC_WD 25
+#define GLIBTOP_SYSDEPS_PROC_AFFINITY 26
-#define GLIBTOP_MAX_SYSDEPS 26
+#define GLIBTOP_MAX_SYSDEPS 27
#define GLIBTOP_SYSDEPS_ALL ((1 << GLIBTOP_MAX_SYSDEPS) - 1)
@@ -88,6 +89,7 @@ struct _glibtop_sysdeps
guint64 netload; /* glibtop_netload */
guint64 ppp; /* glibtop_ppp */
guint64 proc_wd; /* glibtop_proc_wd */
+ guint64 proc_affinity; /* glibtop_proc_affinity */
};
void glibtop_get_sysdeps (glibtop_sysdeps *buf);