* [Buildroot] [git commit] package/collectd: add buddyinfo option
@ 2020-08-17 10:15 Thomas Petazzoni
0 siblings, 0 replies; only message in thread
From: Thomas Petazzoni @ 2020-08-17 10:15 UTC (permalink / raw
To: buildroot
commit: https://git.buildroot.net/buildroot/commit/?id=3f80c62825773508843b0ed94c7ab4f979eda223
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master
buddyinfo is available since version 5.11.0 and
https://github.com/collectd/collectd/commit/cb19ecf90d89a79836b8b5236d2b66277dd79c5f
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>
---
package/collectd/Config.in | 5 +++++
package/collectd/collectd.mk | 1 +
2 files changed, 6 insertions(+)
diff --git a/package/collectd/Config.in b/package/collectd/Config.in
index ca45130c4d..4f54944cbc 100644
--- a/package/collectd/Config.in
+++ b/package/collectd/Config.in
@@ -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
diff --git a/package/collectd/collectd.mk b/package/collectd/collectd.mk
index b36975daf0..2eed6b2c16 100644
--- a/package/collectd/collectd.mk
+++ b/package/collectd/collectd.mk
@@ -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) \
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2020-08-17 10:15 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-08-17 10:15 [Buildroot] [git commit] package/collectd: add buddyinfo option Thomas Petazzoni
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.