Blob Blame History Raw
commit 557a5397304327abe2039229a2bd23bb489ea879
Author: Bryn M. Reeves <bmr@redhat.com>
Date:   Tue Aug 13 18:46:47 2013 +0100

    Collect saved vmcore-dmesg.txt files in kdump plug-in
    
    Recent versions of kexec-utils automatically generate a text
    file containing the dmesg buffer of the captured vmcore.
    
    This is useful for first-fault debugging and should be included.
    
    Signed-off-by: Bryn M. Reeves <bmr@redhat.com>

diff --git a/sos/plugins/kdump.py b/sos/plugins/kdump.py
index 73e5d5e..81ce574 100644
--- a/sos/plugins/kdump.py
+++ b/sos/plugins/kdump.py
@@ -23,7 +23,7 @@ class KDump(Plugin):
     def setup(self):
         self.add_copy_specs([
             "/proc/cmdline"
-            ])
+        ])
 
 class RedHatKDump(KDump, RedHatPlugin):
     """Kdump related information for Red Hat distributions
@@ -35,7 +35,9 @@ class RedHatKDump(KDump, RedHatPlugin):
     def setup(self):
         self.add_copy_specs([
             "/etc/kdump.conf",
-            "/etc/udev/rules.d/*kexec.rules"])
+            "/etc/udev/rules.d/*kexec.rules",
+            "/var/crash/*/vmcore-dmesg.txt"
+        ])
 
 class DebianKDump(KDump, DebianPlugin, UbuntuPlugin):
     """Kdump related information for Debian distributions
@@ -47,4 +49,4 @@ class DebianKDump(KDump, DebianPlugin, UbuntuPlugin):
     def setup(self):
         self.add_copy_specs([
             "/etc/default/kdump-tools"
-            ])
+        ])