[sos-devel] [PATCH] plugin/powerpc : Capture files under /sys/fs/pstore/

Mukesh Ojha mukesh02 at linux.vnet.ibm.com
Thu Feb 2 10:13:14 UTC 2017


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

Signed-off-by: Mukesh Ojha <mukesh02 at 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




More information about the sos-devel mailing list