From 4642216f70dd98134a79f9299b7ca4bc876649c7 Mon Sep 17 00:00:00 2001
From: Vito Caputo <vcaputo@gnugeneration.com>
Date: Sun, 28 Aug 2016 00:36:53 -0700
Subject: *: 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.
---
 libvmon/defs/proc_vm.def | 19 -------------------
 1 file changed, 19 deletions(-)
 delete mode 100644 libvmon/defs/proc_vm.def

(limited to 'libvmon/defs/proc_vm.def')

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"
-- 
cgit v1.2.3

