mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-08-19 05:43:51 -09:00
Rasdaemon is a tool that aims at replacing edac-tool and provide a way to collect all hardware error events reported by the Linux kernel in a common framework. This commit adds a new package to support rasdaemon in the 'Hardware handling' section. It depends on libtraceevent to detect the ftrace events generated by the kernel. There is currently a build issue when sqlite isn't availaible while it's supposed to be an optional dependency. This build issue is fixed by patch 0001 (which has been also submitted to the rasdaemon project itself). Support for the PCIe AER events is optionnal and implies a dependency on pciutils so also add a dedicated 'sub-option' to enable it. Add a SYSV init script to start / stop the daemon Add myself to the DEVELOPERS file. Reviewed-by: Fiona Klute <fiona.klute@gmx.de> Signed-off-by: Bastien Curutchet <bastien.curutchet@bootlin.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
27 lines
795 B
Plaintext
27 lines
795 B
Plaintext
config BR2_PACKAGE_RASDAEMON
|
|
bool "rasdaemon"
|
|
depends on !BR2_STATIC_LIBS # libtraceevent
|
|
depends on BR2_TOOLCHAIN_HAS_THREADS
|
|
select BR2_PACKAGE_LIBTRACEEVENT
|
|
select BR2_PACKAGE_ARGP_STANDALONE if BR2_TOOLCHAIN_USES_UCLIBC || BR2_TOOLCHAIN_USES_MUSL
|
|
help
|
|
rasdaemon is a tool that collects all hardware error events
|
|
reported by the Linux Kernel from several sources (EDAC, MCE
|
|
PCI, ...) into one common framework.
|
|
|
|
https://github.com/mchehab/rasdaemon
|
|
|
|
if BR2_PACKAGE_RASDAEMON
|
|
|
|
config BR2_PACKAGE_RASDAEMON_AER
|
|
bool "Enable AER support"
|
|
select BR2_PACKAGE_PCIUTILS
|
|
help
|
|
Enable handling of AER (Advanced Error Reporting) events on
|
|
PCIe
|
|
|
|
endif
|
|
|
|
comment "rasdaemon needs a toolchain w/ threads, dynamic library"
|
|
depends on !BR2_TOOLCHAIN_HAS_THREADS || BR2_STATIC_LIBS
|