hugepages: rework
authorKim Jones <kim-marie.jones@intel.com>
Wed, 3 Aug 2016 16:33:29 +0000 (17:33 +0100)
committerKim Jones <kim-marie.jones@intel.com>
Tue, 16 Aug 2016 13:10:54 +0000 (14:10 +0100)
commitf91506bb8f91ca3725fd3081deba4e1829186aaa
treebc72655abfbcf41d290d6d361701e32fe9c51532
parentfa49565fa7ef682ce61bc446fb0d2469eedddc66
hugepages: rework

Changed hugepage metric type and type instances.
Made a single entry in types.db for "free" and
    "used" hugepages.
Calculate the used hugepages.
Removed read_syshugepage_dir; replaced with
    walk_directory.
Cleared up descriptions in .pod.
Made the .conf plugin option names less cryptic.
Linux-only plugin; changed configure.ac accordingly.
Stripped function declarations and header includes
    that are not used.
Tidied up globals and made some globals local.
Removed some hardcoded values and fixed spacing.
Other general tidy-ups.

Change-Id: Id0243397d3fd4ac1be90266b266341318c05c903
Signed-off-by: Kim Jones <kim-marie.jones@intel.com>
README
configure.ac
src/Makefile.am
src/collectd.conf.in
src/collectd.conf.pod
src/hugepages.c
src/types.db