* [Buildroot] [PATCH] package/collectd: add option to enable UBI counters
@ 2021-01-27 9:16 Thomas De Schampheleire
2021-01-27 21:55 ` Yann E. MORIN
0 siblings, 1 reply; 4+ messages in thread
From: Thomas De Schampheleire @ 2021-01-27 9:16 UTC (permalink / raw)
To: buildroot
From: Thomas De Schampheleire <thomas.de_schampheleire@nokia.com>
The 'ubi' collectd plugin was added in 5.11.0.
Add options in Buildroot to enable it.
Based on code by Bart De Vos.
Signed-off-by: Thomas De Schampheleire <thomas.de_schampheleire@nokia.com>
---
package/collectd/Config.in | 10 ++++++++++
package/collectd/collectd.mk | 1 +
2 files changed, 11 insertions(+)
diff --git a/package/collectd/Config.in b/package/collectd/Config.in
index 3e854ba518..f02cedda49 100644
--- a/package/collectd/Config.in
+++ b/package/collectd/Config.in
@@ -525,6 +525,16 @@ config BR2_PACKAGE_COLLECTD_THERMAL
help
Reads ACPI thermal zone information.
+config BR2_PACKAGE_COLLECTD_UBI
+ bool "ubi"
+ help
+ UBI (Unsorted Block Images) is an erase block management layer
+ for flash memory devices. UBI serves two purposes, tracking
+ NAND flash bad blocks and providing wear leveling.
+ This plugin collects some stats about UBI devices:
+ * bad physical underlying blocks (bad_peb_count)
+ * max erase counter value (max_ec)
+
config BR2_PACKAGE_COLLECTD_UPTIME
bool "uptime"
help
diff --git a/package/collectd/collectd.mk b/package/collectd/collectd.mk
index 8fa278df7e..ccca9bf388 100644
--- a/package/collectd/collectd.mk
+++ b/package/collectd/collectd.mk
@@ -137,6 +137,7 @@ COLLECTD_CONF_OPTS += \
$(if $(BR2_PACKAGE_COLLECTD_THERMAL),--enable-thermal,--disable-thermal) \
$(if $(BR2_PACKAGE_COLLECTD_THRESHOLD),--enable-threshold,--disable-threshold) \
$(if $(BR2_PACKAGE_COLLECTD_TIMEDIFF),--enable-match_timediff,--disable-match_timediff) \
+ $(if $(BR2_PACKAGE_COLLECTD_UBI),--enable-ubi,--disable-ubi) \
$(if $(BR2_PACKAGE_COLLECTD_UNIXSOCK),--enable-unixsock,--disable-unixsock) \
$(if $(BR2_PACKAGE_COLLECTD_UPTIME),--enable-uptime,--disable-uptime) \
$(if $(BR2_PACKAGE_COLLECTD_USERS),--enable-users,--disable-users) \
--
2.26.2
^ permalink raw reply related [flat|nested] 4+ messages in thread
* [Buildroot] [PATCH] package/collectd: add option to enable UBI counters
2021-01-27 9:16 [Buildroot] [PATCH] package/collectd: add option to enable UBI counters Thomas De Schampheleire
@ 2021-01-27 21:55 ` Yann E. MORIN
0 siblings, 0 replies; 4+ messages in thread
From: Yann E. MORIN @ 2021-01-27 21:55 UTC (permalink / raw)
To: buildroot
Thomas, All,
On 2021-01-27 10:16 +0100, Thomas De Schampheleire spake thusly:
> From: Thomas De Schampheleire <thomas.de_schampheleire@nokia.com>
>
> The 'ubi' collectd plugin was added in 5.11.0.
> Add options in Buildroot to enable it.
>
> Based on code by Bart De Vos.
>
> Signed-off-by: Thomas De Schampheleire <thomas.de_schampheleire@nokia.com>
Applied to master, thanks.
Regards,
Yann E. MORIN.
> ---
> package/collectd/Config.in | 10 ++++++++++
> package/collectd/collectd.mk | 1 +
> 2 files changed, 11 insertions(+)
>
> diff --git a/package/collectd/Config.in b/package/collectd/Config.in
> index 3e854ba518..f02cedda49 100644
> --- a/package/collectd/Config.in
> +++ b/package/collectd/Config.in
> @@ -525,6 +525,16 @@ config BR2_PACKAGE_COLLECTD_THERMAL
> help
> Reads ACPI thermal zone information.
>
> +config BR2_PACKAGE_COLLECTD_UBI
> + bool "ubi"
> + help
> + UBI (Unsorted Block Images) is an erase block management layer
> + for flash memory devices. UBI serves two purposes, tracking
> + NAND flash bad blocks and providing wear leveling.
> + This plugin collects some stats about UBI devices:
> + * bad physical underlying blocks (bad_peb_count)
> + * max erase counter value (max_ec)
> +
> config BR2_PACKAGE_COLLECTD_UPTIME
> bool "uptime"
> help
> diff --git a/package/collectd/collectd.mk b/package/collectd/collectd.mk
> index 8fa278df7e..ccca9bf388 100644
> --- a/package/collectd/collectd.mk
> +++ b/package/collectd/collectd.mk
> @@ -137,6 +137,7 @@ COLLECTD_CONF_OPTS += \
> $(if $(BR2_PACKAGE_COLLECTD_THERMAL),--enable-thermal,--disable-thermal) \
> $(if $(BR2_PACKAGE_COLLECTD_THRESHOLD),--enable-threshold,--disable-threshold) \
> $(if $(BR2_PACKAGE_COLLECTD_TIMEDIFF),--enable-match_timediff,--disable-match_timediff) \
> + $(if $(BR2_PACKAGE_COLLECTD_UBI),--enable-ubi,--disable-ubi) \
> $(if $(BR2_PACKAGE_COLLECTD_UNIXSOCK),--enable-unixsock,--disable-unixsock) \
> $(if $(BR2_PACKAGE_COLLECTD_UPTIME),--enable-uptime,--disable-uptime) \
> $(if $(BR2_PACKAGE_COLLECTD_USERS),--enable-users,--disable-users) \
> --
> 2.26.2
>
> _______________________________________________
> buildroot mailing list
> buildroot at busybox.net
> http://lists.busybox.net/mailman/listinfo/buildroot
--
.-----------------.--------------------.------------------.--------------------.
| Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ |
| +33 561 099 427 `------------.-------: X AGAINST | \e/ There is no |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. |
'------------------------------^-------^------------------^--------------------'
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Buildroot] [PATCH] package/collectd: add option to enable UBI counters
2021-02-16 13:54 ` [Buildroot] [PATCH] package/collectd: add option to enable UBI counters Thomas De Schampheleire
@ 2021-02-16 13:56 ` Thomas De Schampheleire
0 siblings, 0 replies; 4+ messages in thread
From: Thomas De Schampheleire @ 2021-02-16 13:56 UTC (permalink / raw)
To: buildroot
El mar, 16 feb 2021 a las 14:54, Thomas De Schampheleire
(<patrickdepinguin@gmail.com>) escribi?:
>
> From: Thomas De Schampheleire <thomas.de_schampheleire@nokia.com>
>
> The 'ubi' collectd plugin was added in 5.11.0.
> Add options in Buildroot to enable it.
>
> Based on code by Bart De Vos.
>
> Signed-off-by: Thomas De Schampheleire <thomas.de_schampheleire@nokia.com>
> ---
Sorry, ignore this patch please.
It has already been applied and resent accidentally.
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Buildroot] [PATCH] package/collectd: add option to enable UBI counters
2021-02-16 13:54 [Buildroot] [PATCH 1/4] package/collectd: add 'infiniband' option Thomas De Schampheleire
@ 2021-02-16 13:54 ` Thomas De Schampheleire
2021-02-16 13:56 ` Thomas De Schampheleire
0 siblings, 1 reply; 4+ messages in thread
From: Thomas De Schampheleire @ 2021-02-16 13:54 UTC (permalink / raw)
To: buildroot
From: Thomas De Schampheleire <thomas.de_schampheleire@nokia.com>
The 'ubi' collectd plugin was added in 5.11.0.
Add options in Buildroot to enable it.
Based on code by Bart De Vos.
Signed-off-by: Thomas De Schampheleire <thomas.de_schampheleire@nokia.com>
---
package/collectd/Config.in | 10 ++++++++++
package/collectd/collectd.mk | 1 +
2 files changed, 11 insertions(+)
diff --git a/package/collectd/Config.in b/package/collectd/Config.in
index 3e854ba518..f02cedda49 100644
--- a/package/collectd/Config.in
+++ b/package/collectd/Config.in
@@ -525,6 +525,16 @@ config BR2_PACKAGE_COLLECTD_THERMAL
help
Reads ACPI thermal zone information.
+config BR2_PACKAGE_COLLECTD_UBI
+ bool "ubi"
+ help
+ UBI (Unsorted Block Images) is an erase block management layer
+ for flash memory devices. UBI serves two purposes, tracking
+ NAND flash bad blocks and providing wear leveling.
+ This plugin collects some stats about UBI devices:
+ * bad physical underlying blocks (bad_peb_count)
+ * max erase counter value (max_ec)
+
config BR2_PACKAGE_COLLECTD_UPTIME
bool "uptime"
help
diff --git a/package/collectd/collectd.mk b/package/collectd/collectd.mk
index 8fa278df7e..ccca9bf388 100644
--- a/package/collectd/collectd.mk
+++ b/package/collectd/collectd.mk
@@ -137,6 +137,7 @@ COLLECTD_CONF_OPTS += \
$(if $(BR2_PACKAGE_COLLECTD_THERMAL),--enable-thermal,--disable-thermal) \
$(if $(BR2_PACKAGE_COLLECTD_THRESHOLD),--enable-threshold,--disable-threshold) \
$(if $(BR2_PACKAGE_COLLECTD_TIMEDIFF),--enable-match_timediff,--disable-match_timediff) \
+ $(if $(BR2_PACKAGE_COLLECTD_UBI),--enable-ubi,--disable-ubi) \
$(if $(BR2_PACKAGE_COLLECTD_UNIXSOCK),--enable-unixsock,--disable-unixsock) \
$(if $(BR2_PACKAGE_COLLECTD_UPTIME),--enable-uptime,--disable-uptime) \
$(if $(BR2_PACKAGE_COLLECTD_USERS),--enable-users,--disable-users) \
--
2.26.2
^ permalink raw reply related [flat|nested] 4+ messages in thread
end of thread, other threads:[~2021-02-16 13:56 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-01-27 9:16 [Buildroot] [PATCH] package/collectd: add option to enable UBI counters Thomas De Schampheleire
2021-01-27 21:55 ` Yann E. MORIN
2021-02-16 13:54 [Buildroot] [PATCH 1/4] package/collectd: add 'infiniband' option Thomas De Schampheleire
2021-02-16 13:54 ` [Buildroot] [PATCH] package/collectd: add option to enable UBI counters Thomas De Schampheleire
2021-02-16 13:56 ` Thomas De Schampheleire
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.