rasdaemon
rasdaemon copied to clipboard
rasdaemon: trace SIGBUS event for hardware error
Kernel will send SIGBUS to program when read DE/UE, use rasdaemon to catch this SIGBUS and print it like follow:
<...>-105439 [063] 0.007348: signal_generate: 2025-03-18 14:12:05 +0800 signal: 7, errorno: 0, code: 4, comm: einj_mem_uc, pid: 105439, grp: 0, res: 0, msg: Hardware memory error consumed: action required
@winterddd Thanks for doing great work! I hope your pull requests are merged.