[libgtop] New API/ABI: add Pss (partial set size) and Swap in glibtop_map_entry.
- From: Benoît Dejean <bdejean src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libgtop] New API/ABI: add Pss (partial set size) and Swap in glibtop_map_entry.
- Date: Sat, 15 Aug 2015 08:43:56 +0000 (UTC)
commit 56f03d09870cba87b316f04b1ea09e3d43dd188c
Author: Benoit Dejean <bdejean gmail com>
Date: Mon Jul 20 23:51:43 2015 +0200
New API/ABI: add Pss (partial set size) and Swap in glibtop_map_entry.
include/glibtop/procmap.h | 6 +++++-
1 files changed, 5 insertions(+), 1 deletions(-)
---
diff --git a/include/glibtop/procmap.h b/include/glibtop/procmap.h
index 93ef93c..a61125b 100644
--- a/include/glibtop/procmap.h
+++ b/include/glibtop/procmap.h
@@ -48,8 +48,10 @@ G_BEGIN_DECLS
#define GLIBTOP_MAP_ENTRY_SHARED_DIRTY 10
#define GLIBTOP_MAP_ENTRY_PRIVATE_CLEAN 11
#define GLIBTOP_MAP_ENTRY_PRIVATE_DIRTY 12
+#define GLIBTOP_MAP_ENTRY_PSS 13
+#define GLIBTOP_MAP_ENTRY_SWAP 14
-#define GLIBTOP_MAX_MAP_ENTRY 13
+#define GLIBTOP_MAX_MAP_ENTRY 15
#define GLIBTOP_MAP_FILENAME_LEN 215
@@ -78,6 +80,8 @@ struct _glibtop_map_entry
guint64 shared_dirty;
guint64 private_clean;
guint64 private_dirty;
+ guint64 pss;
+ guint64 swap;
char filename [GLIBTOP_MAP_FILENAME_LEN+1];
};
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]