This patch enables sosreport to capture files under /sys/fs/pstore/ .

Signed-off-by: Mukesh Ojha <mukes...@linux.vnet.ibm.com>
---
 sos/plugins/powerpc.py | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/sos/plugins/powerpc.py b/sos/plugins/powerpc.py
index 9252cf2..ac160e0 100644
--- a/sos/plugins/powerpc.py
+++ b/sos/plugins/powerpc.py
@@ -48,7 +48,8 @@ class PowerPC(Plugin, RedHatPlugin, UbuntuPlugin, 
DebianPlugin):
                 "/proc/swaps",
                 "/proc/version",
                 "/dev/nvram",
-                "/var/lib/lsvpd/"
+                "/var/lib/lsvpd/",
+               "/sys/fs/pstore/"
             ])
             self.add_cmd_output([
                 "ppc64_cpu --smt",
-- 
2.7.4

_______________________________________________
sos-devel mailing list
sos-devel@redhat.com
https://www.redhat.com/mailman/listinfo/sos-devel

Reply via email to