package/collectd: add buddyinfo option

buddyinfo is available since version 5.11.0 and
cb19ecf90d

It is currently enabled by default

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Reviewed-by: Asaf Kahlon <asafka7@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
Fabrice Fontaine 2020-04-15 08:30:08 +02:00 committed by Thomas Petazzoni
parent 79f5fed545
commit 3f80c62825
2 changed files with 6 additions and 0 deletions

View File

@ -131,6 +131,11 @@ config BR2_PACKAGE_COLLECTD_BIND
help
Collects BIND DNS statistics.
config BR2_PACKAGE_COLLECTD_BUDDYINFO
bool "buddyinfo"
help
Statistics from buddyinfo file about memory fragmentation.
config BR2_PACKAGE_COLLECTD_CAPABILITIES
bool "capabilities"
depends on BR2_aarch64 || BR2_i386 || BR2_x86_64 # dmidecode

View File

@ -51,6 +51,7 @@ COLLECTD_CONF_OPTS += \
$(if $(BR2_PACKAGE_COLLECTD_APCUPS),--enable-apcups,--disable-apcups) \
$(if $(BR2_PACKAGE_COLLECTD_BATTERY),--enable-battery,--disable-battery) \
$(if $(BR2_PACKAGE_COLLECTD_BIND),--enable-bind,--disable-bind) \
$(if $(BR2_PACKAGE_COLLECTD_BUDDYINFO),--enable-buddyinfo,--disable-buddyinfo) \
$(if $(BR2_PACKAGE_COLLECTD_CAPABILITIES),--enable-capabilities,--disable-capabilities) \
$(if $(BR2_PACKAGE_COLLECTD_CEPH),--enable-ceph,--disable-ceph) \
$(if $(BR2_PACKAGE_COLLECTD_CHRONY),--enable-chrony,--disable-chrony) \