aboutsummaryrefslogtreecommitdiff
path: root/package/collectd
diff options
context:
space:
mode:
authorGravatar Gustavo Zacarias <gustavo@zacarias.com.ar>2016-12-21 22:59:17 -0300
committerGravatar Peter Korsgaard <peter@korsgaard.com>2016-12-23 22:41:33 +0100
commitd430b24ecd4da25fd195905e6f92a501cf79ade0 (patch)
tree265ed6b079eeee12c2792d49f659d979d2e94775 /package/collectd
parent6b2ef2881e65858f75782575ceabd740a379fa13 (diff)
downloadbuildroot-d430b24ecd4da25fd195905e6f92a501cf79ade0.tar.gz
buildroot-d430b24ecd4da25fd195905e6f92a501cf79ade0.tar.bz2
collectd: add hugepages plugin support
Add explicit support for the new hugepages dependency-less plugin. Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Diffstat (limited to 'package/collectd')
-rw-r--r--package/collectd/Config.in5
-rw-r--r--package/collectd/collectd.mk1
2 files changed, 6 insertions, 0 deletions
diff --git a/package/collectd/Config.in b/package/collectd/Config.in
index b17abe830c..7cd6397e68 100644
--- a/package/collectd/Config.in
+++ b/package/collectd/Config.in
@@ -237,6 +237,11 @@ config BR2_PACKAGE_COLLECTD_FSCACHE
Collects information about the file-system based caching
infrastructure for network file-systems and other slow media.
+config BR2_PACKAGE_COLLECTD_HUGEPAGES
+ bool "hugepages"
+ help
+ Reports the number of used and free hugepages on Linux.
+
config BR2_PACKAGE_COLLECTD_INTERFACE
bool "interface"
help
diff --git a/package/collectd/collectd.mk b/package/collectd/collectd.mk
index 2b57e51d92..392c76f7db 100644
--- a/package/collectd/collectd.mk
+++ b/package/collectd/collectd.mk
@@ -59,6 +59,7 @@ COLLECTD_CONF_OPTS += \
$(if $(BR2_PACKAGE_COLLECTD_FSCACHE),--enable-fscache,--disable-fscache) \
$(if $(BR2_PACKAGE_COLLECTD_GRAPHITE),--enable-write_graphite,--disable-write_graphite) \
$(if $(BR2_PACKAGE_COLLECTD_HASHED),--enable-match_hashed,--disable-match_hashed) \
+ $(if $(BR2_PACKAGE_COLLECTD_HUGEPAGES),--enable-hugepages,--disable-hugepages) \
$(if $(BR2_PACKAGE_COLLECTD_INTERFACE),--enable-interface,--disable-interface) \
$(if $(BR2_PACKAGE_COLLECTD_IPC),--enable-ipc,--disable-ipc) \
$(if $(BR2_PACKAGE_COLLECTD_IPTABLES),--enable-iptables,--disable-iptables) \