aboutsummaryrefslogtreecommitdiff
path: root/tools/testing/selftests/devices/error_logs
AgeCommit message (Collapse)AuthorFilesLines
2024-07-12kselftest: devices: Add test to detect device error logsNĂ­colas F. R. A. Prado2-0/+88
Log errors are the most widely used mechanism for reporting issues in the kernel. When an error is logged using the device helpers, eg dev_err(), it gets metadata attached that identifies the subsystem and device where the message is coming from. Introduce a new test that makes use of that metadata to report which devices logged errors (or more critical messages). Signed-off-by: NĂ­colas F. R. A. Prado <[email protected]> Acked-by: Shuah Khan <[email protected]> Acked-by: Greg Kroah-Hartman <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>