summaryrefslogtreecommitdiff
path: root/features.def
diff options
context:
space:
mode:
authorMartin Baulig <martin@home-of-linux.org>1998-08-12 20:16:24 +0000
committerMartin Baulig <martin@src.gnome.org>1998-08-12 20:16:24 +0000
commit9248d72018249f8a1388a4d760bbddfc0cb84219 (patch)
tree344642635ad1f221a7abf0dfb3c2a195e78e59f6 /features.def
parentda622f70c7f6067b0f55ab098ebd24c8d8a8963e (diff)
downloadlibgtop-9248d72018249f8a1388a4d760bbddfc0cb84219.tar.gz
Using `text_rss', `shlib_rss', `data_rss' and `dirty_size' instead of
1998-08-12 Martin Baulig <martin@home-of-linux.org> * include/glibtop/procsegment.h (glibtop_proc_segment): Using `text_rss', `shlib_rss', `data_rss' and `dirty_size' instead of `tsr', `lrs', `drs' and `dt'. New field `stack_rss'. * sysdeps/linux/procmem.c: Memory sizes now correctly in bytes. * sysdeps/linux/procsegment.c: Dito. * sysdeps/kernel/procsegment.c: Stack pages are reported via `stack_rss' and no longer count towards `data_rss' * kernel/table.h (table_proc_segment): Added `srs' field. * kernel/table21/module.c (TBL_PROC_SEGMENT): Added kernel support for this. * sysdeps/{linux, kernel, stub}/procmap.c: New files.
Diffstat (limited to 'features.def')
-rw-r--r--features.def2
1 files changed, 1 insertions, 1 deletions
diff --git a/features.def b/features.def
index abdf6be4..22be401c 100644
--- a/features.def
+++ b/features.def
@@ -13,7 +13,7 @@ void|proc_mem|long(size,vsize,resident,share,rss,rss_rlim)|pid_t(pid)
void|proc_time|long(start_time,rtime,utime,stime,cutime,cstime,timeout,it_real_value,frequency)|pid_t(pid)
void|proc_signal|ulong(signal,blocked,sigignore,sigcatch)|pid_t(pid)
void|proc_kernel|ulong(k_flags,min_flt,maj_flt,cmin_flt,cmaj_flt,kstk_esp,kstk_eip,nwchan):str(wchan)|pid_t(pid)
-void|proc_segment|long(trs,lrs,drs,dt):ulong(start_code,end_code,start_stack)|pid_t(pid)
+void|proc_segment|ulong(text_rss,shlib_rss,data_rss,stack_rss,dirty_size,start_code,end_code,start_stack)|pid_t(pid)
glibtop_map_entry *|proc_map|ulong(number,size,total)|pid_t(pid)
glibtop_mountentry *|@mountlist|ulong(number,size,total)|pid_t(all_fs)
void|@fsusage|ulong(blocks,bfree,bavail,files,ffree)|string|mount_dir