From 67e01fc52bbc2101f8ce2dcc7298716ffbc4e990 Mon Sep 17 00:00:00 2001 From: "Darrick J. Wong" Date: Mon, 25 Nov 2024 17:21:50 -0800 Subject: [PATCH] common/rc: capture dmesg when oom kills happen Capture the dmesg output if the OOM killer is invoked during fstests. Signed-off-by: Darrick J. Wong Reviewed-by: Christoph Hellwig Signed-off-by: Zorro Lang --- common/rc | 1 + 1 file changed, 1 insertion(+) diff --git a/common/rc b/common/rc index e6c6047d..eef8d769 100644 --- a/common/rc +++ b/common/rc @@ -4562,6 +4562,7 @@ _check_dmesg() -e "INFO: possible circular locking dependency detected" \ -e "general protection fault:" \ -e "BUG .* remaining" \ + -e "oom-kill" \ -e "UBSAN:" \ $seqres.dmesg if [ $? -eq 0 ]; then -- 2.39.5