All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [git commit] package/collectd: add 'infiniband' option
@ 2021-02-16 20:00 Peter Korsgaard
  0 siblings, 0 replies; 2+ messages in thread
From: Peter Korsgaard @ 2021-02-16 20:00 UTC (permalink / raw)
  To: buildroot

commit: https://git.buildroot.net/buildroot/commit/?id=bbd676801e4ca037d0ae67788e936ea6ec533441
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master

The infiniband plugin is new since 5.12.0 and enabled by default in
collectd.

Add an option in Buildroot, disabled by default.

Signed-off-by: Thomas De Schampheleire <thomas.de_schampheleire@nokia.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.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 f02cedda49..ae69482608 100644
--- a/package/collectd/Config.in
+++ b/package/collectd/Config.in
@@ -285,6 +285,11 @@ config BR2_PACKAGE_COLLECTD_HUGEPAGES
 	help
 	  Reports the number of used and free hugepages on Linux.
 
+config BR2_PACKAGE_COLLECTD_INFINIBAND
+	bool "infiniband"
+	help
+	  Attributes and counters for each port on each IB device.
+
 config BR2_PACKAGE_COLLECTD_INTERFACE
 	bool "interface"
 	help
diff --git a/package/collectd/collectd.mk b/package/collectd/collectd.mk
index 3fcca12a45..4a4e313224 100644
--- a/package/collectd/collectd.mk
+++ b/package/collectd/collectd.mk
@@ -83,6 +83,7 @@ COLLECTD_CONF_OPTS += \
 	$(if $(BR2_PACKAGE_COLLECTD_GRPC),--enable-grpc,--disable-grpc) \
 	$(if $(BR2_PACKAGE_COLLECTD_HASHED),--enable-match_hashed,--disable-match_hashed) \
 	$(if $(BR2_PACKAGE_COLLECTD_HUGEPAGES),--enable-hugepages,--disable-hugepages) \
+	$(if $(BR2_PACKAGE_COLLECTD_INFINIBAND),--enable-infiniband,--disable-infiniband) \
 	$(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) \

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [Buildroot] [git commit] package/collectd: add 'infiniband' option
@ 2021-03-08  7:44 Thomas Petazzoni
  0 siblings, 0 replies; 2+ messages in thread
From: Thomas Petazzoni @ 2021-03-08  7:44 UTC (permalink / raw)
  To: buildroot

commit: https://git.buildroot.net/buildroot/commit/?id=6b41a0e91e57e9c46404fe7b103a48d9325e7845
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master

The infiniband plugin is new since 5.12.0 and enabled by default in
collectd.

Add an option in Buildroot, disabled by default.

Signed-off-by: Thomas De Schampheleire <thomas.de_schampheleire@nokia.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 f02cedda49..ae69482608 100644
--- a/package/collectd/Config.in
+++ b/package/collectd/Config.in
@@ -285,6 +285,11 @@ config BR2_PACKAGE_COLLECTD_HUGEPAGES
 	help
 	  Reports the number of used and free hugepages on Linux.
 
+config BR2_PACKAGE_COLLECTD_INFINIBAND
+	bool "infiniband"
+	help
+	  Attributes and counters for each port on each IB device.
+
 config BR2_PACKAGE_COLLECTD_INTERFACE
 	bool "interface"
 	help
diff --git a/package/collectd/collectd.mk b/package/collectd/collectd.mk
index 3fcca12a45..4a4e313224 100644
--- a/package/collectd/collectd.mk
+++ b/package/collectd/collectd.mk
@@ -83,6 +83,7 @@ COLLECTD_CONF_OPTS += \
 	$(if $(BR2_PACKAGE_COLLECTD_GRPC),--enable-grpc,--disable-grpc) \
 	$(if $(BR2_PACKAGE_COLLECTD_HASHED),--enable-match_hashed,--disable-match_hashed) \
 	$(if $(BR2_PACKAGE_COLLECTD_HUGEPAGES),--enable-hugepages,--disable-hugepages) \
+	$(if $(BR2_PACKAGE_COLLECTD_INFINIBAND),--enable-infiniband,--disable-infiniband) \
 	$(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) \

^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-03-08  7:44 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-02-16 20:00 [Buildroot] [git commit] package/collectd: add 'infiniband' option Peter Korsgaard
2021-03-08  7:44 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.