It makes sense to use the kernel's performance events
logging framework when we are logging events about how the
system performs.
Furthermore it's NMI safe, offers structured logging, has
various streaming, multiplexing and filtering capabilities
that come handy for RAS purposes and more.
The other option would be to use an ad-hoc logging
implementation, only used for EDAC/RAS, which couldnt be
mixed with other system events. That approach has various
obvious disadvanteges so we are aiming for a unified
approach.
Thanks,
Ingo
--