diff options
author | Vito Caputo <vcaputo@gnugeneration.com> | 2016-08-28 00:36:53 -0700 |
---|---|---|
committer | Vito Caputo <vcaputo@gnugeneration.com> | 2016-09-09 14:14:31 -0700 |
commit | 4642216f70dd98134a79f9299b7ca4bc876649c7 (patch) | |
tree | bdf9fd892bc54a2f2a678a9828c6af9d9fc8bed2 /libvmon/defs/proc_vm.def | |
parent | e99f5ac1293a0ae1f498bc4c73c4c04e4edb8665 (diff) |
*: refactor all the things
Long overdue house cleaning.
The addition of compositing/monitoring overlays in vwm3 pushed vwm well past
what is a reasonable size for a simple thousand line file. This is a first
step towards restoring sanity in the code, but no behavioral differences are
intended, this is mostly just shuffling around and organizing code.
I expect some performance regressions initially, follow-on commits will make
more improvements to that end as the dust settles.
Diffstat (limited to 'libvmon/defs/proc_vm.def')
-rw-r--r-- | libvmon/defs/proc_vm.def | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/libvmon/defs/proc_vm.def b/libvmon/defs/proc_vm.def deleted file mode 100644 index 9028272..0000000 --- a/libvmon/defs/proc_vm.def +++ /dev/null @@ -1,19 +0,0 @@ -#include "_begin.def" - - /* member name, symbolic constant, human label, human description (think UI/help) */ - /* /proc/$pid/statm */ -vmon_datum_ulonglong( size_pages, PROC_VM_SIZE_PAGES, "Size", "Size in pages") -vmon_omit_run( ' ', PROC_VM_RESIDENT_PAGES_SP) -vmon_datum_ulonglong( resident_pages, PROC_VM_RESIDENT_PAGES, "Resident", "Resident set size in pages") -vmon_omit_run( ' ', PROC_VM_SHARED_PAGES_SP) -vmon_datum_ulonglong( shared_pages, PROC_VM_SHARED_PAGES, "Shared", "Shared size in pages") -vmon_omit_run( ' ', PROC_VM_TEXT_PAGES_SP) -vmon_datum_ulonglong( text_pages, PROC_VM_TEXT_PAGES, "Text", "Text segment size in pages") -vmon_omit_run( ' ', PROC_VM_LIB_PAGES_SP) -vmon_omit_ulonglong( lib_pages, PROC_VM_LIB_PAGES, "Library", "Library segment size (skipped, unused in 2.6)") -vmon_omit_run( ' ', PROC_VM_DATA_PAGES_SP) -vmon_datum_ulonglong( data_pages, PROC_VM_DATA_PAGES, "Data", "Data segment size in pages") -vmon_omit_run( ' ', PROC_VM_DIRTY_PAGES_SP) -vmon_omit_ulonglong( dirty_pages, PROC_VM_DIRTY_PAGES, "Dirty", "Dirtied (skipped, unused in 2.6)") - -#include "_end.def" |