diff options
author | Benoît Dejean <bdejean@src.gnome.org> | 2005-12-09 16:15:44 +0000 |
---|---|---|
committer | Benoît Dejean <bdejean@src.gnome.org> | 2005-12-09 16:15:44 +0000 |
commit | a7db1f4dfd236013291bbfd62deda29c3aa2070c (patch) | |
tree | 0988180319280f168b620b0a252e2cda1a5471ba /include/glibtop/procmap.h | |
parent | 91a312768d6162261fc0449bafc1ccfa5809fe32 (diff) | |
download | libgtop-a7db1f4dfd236013291bbfd62deda29c3aa2070c.tar.gz |
Increased GLIBTOP_NCPU to 32. Added real_ncpu to struct glibtop. Added
* configure.in:
* glibtop.h:
* include/glibtop/cpu.h:
* include/glibtop/procmap.h:
Increased GLIBTOP_NCPU to 32.
Added real_ncpu to struct glibtop.
Added smaps members to glibtop_map_entry.
Bumped version number to 2.13.0
Broke ABI again. Sorry.
Diffstat (limited to 'include/glibtop/procmap.h')
-rw-r--r-- | include/glibtop/procmap.h | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/include/glibtop/procmap.h b/include/glibtop/procmap.h index 4a3e3083..c4eea343 100644 --- a/include/glibtop/procmap.h +++ b/include/glibtop/procmap.h @@ -43,7 +43,15 @@ G_BEGIN_DECLS #define GLIBTOP_MAP_ENTRY_DEVICE 5 #define GLIBTOP_MAP_ENTRY_FILENAME 6 -#define GLIBTOP_MAX_MAP_ENTRY 7 +/* Smap support */ +#define GLIBTOP_MAP_ENTRY_SIZE 7 +#define GLIBTOP_MAP_ENTRY_RSS 8 +#define GLIBTOP_MAP_ENTRY_SHARED_CLEAN 9 +#define GLIBTOP_MAP_ENTRY_SHARED_DIRTY 10 +#define GLIBTOP_MAP_ENTRY_PRIVATE_CLEAN 11 +#define GLIBTOP_MAP_ENTRY_PRIVATE_DIRTY 12 + +#define GLIBTOP_MAX_MAP_ENTRY 13 #define GLIBTOP_MAP_FILENAME_LEN 215 @@ -60,6 +68,10 @@ typedef struct _glibtop_proc_map glibtop_proc_map; struct _glibtop_map_entry { guint64 flags, start, end, offset, perm, inode, device; + guint64 size, + rss, + shared_clean, shared_dirty, + private_clean, private_dirty; char filename [GLIBTOP_MAP_FILENAME_LEN+1]; }; |