package/util-linux: add an option to enable irqtop
PATCH v2 1/1 package/util-linux: add an option to enable irqtop
From: Yegor Yefremov <[email protected]>
irqtop is an IRQ monitoring tool.
---
Changes v1 -> v2:
- add the missing NCURSES dependency
package/util-linux/Config.in | 8 ++++++++ package/util-linux/util-linux.mk | 1 + 2 files changed, 9 insertions(+)
package/util-linux/Config.in +8 -0
@@ -161,6 +161,14 @@ config BR2_PACKAGE_UTIL_LINUX_IPCS help Show information on IPC facilities +config BR2_PACKAGE_UTIL_LINUX_IRQTOP + bool "irqtop" + depends on BR2_USE_MMU # libsmartcols + select BR2_PACKAGE_NCURSES + select BR2_PACKAGE_UTIL_LINUX_LIBSMARTCOLS + help + Show information on IRQs + config BR2_PACKAGE_UTIL_LINUX_KILL bool "kill" help
package/util-linux/util-linux.mk +1 -0
@@ -136,6 +136,7 @@ UTIL_LINUX_CONF_OPTS += \ $(if $(BR2_PACKAGE_UTIL_LINUX_IPCMK),--enable-ipcmk,--disable-ipcmk) \ $(if $(BR2_PACKAGE_UTIL_LINUX_IPCRM),--enable-ipcrm,--disable-ipcrm) \ $(if $(BR2_PACKAGE_UTIL_LINUX_IPCS),--enable-ipcs,--disable-ipcs) \ + $(if $(BR2_PACKAGE_UTIL_LINUX_IRQTOP),--enable-irqtop,--disable-irqtop) \ $(if $(BR2_PACKAGE_UTIL_LINUX_KILL),--enable-kill,--disable-kill) \ $(if $(BR2_PACKAGE_UTIL_LINUX_LAST),--enable-last,--disable-last) \ $(if $(BR2_PACKAGE_UTIL_LINUX_LIBBLKID),--enable-libblkid,--disable-libblkid) \
Signature · 6 lines
2.17.0 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
Thomas Petazzoni via buildroot
AppliedHello,
Quoted 8 lines · On Tue, 17 Jan 2023 08:47:42 +0100 yegorslists--- via buildroot…
From: Yegor Yefremov <[email protected]>
irqtop is an IRQ monitoring tool.
Signed-off-by Yegor Yefremov <[email protected]>---
Changes v1 -> v2:
- add the missing NCURSES dependency
Applied to master, thanks.
Yann: I read your (very valid) concern about the fact that this patch is changing the behavior of current configurations (irqtop used to be built unconditionally if all its prerequisites are met, now it is only built if BR2_PACKAGE_UTIL_LINUX_IRQTOP=y). However, I think the breakage is very easy to fix, and we need to find the good balance between backward compatibility and minimal configuration/footprint by default. In this case, I believe the best trade-off was to make this new option default to disabled. Note that I realize this is really an opinion, and there's no perfect solution here.
Best regards,
Thomas
Signature · 7 lines
Thomas Petazzoni, CTO, Bootlin Embedded Linux and Kernel engineering https://bootlin.com _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot