[sos-devel] [PATCH] powerpc: Collect selected file instead of entire directory

Vasant Hegde hegdevasant at linux.vnet.ibm.com
Tue May 20 16:07:13 UTC 2014


We are collecting powerpc dir from debugfs which is causing
some issues.. Also we don't need that dir data for debugging
purpose... Hence removing that file.

Also collecting selected files from /proc/ppc64 directory
instead of collecting entire directory.


Signed-off-by: Vasant Hegde <hegdevasant at linux.vnet.ibm.com>
---
 sos/plugins/powerpc.py |    5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/sos/plugins/powerpc.py b/sos/plugins/powerpc.py
index 6ebf16b..3480887 100644
--- a/sos/plugins/powerpc.py
+++ b/sos/plugins/powerpc.py
@@ -80,8 +80,9 @@ class PowerPC(Plugin, RedHatPlugin, UbuntuPlugin, DebianPlugin):
 
         if isPowerNV:
             self.add_copy_specs([
-                "/proc/ppc64/",
-                "/sys/kernel/debug/powerpc/",
+                "/proc/ppc64/eeh",
+                "/proc/ppc64/systemcfg"
+                "/proc/ppc64/topology_updates"
                 "/sys/firmware/opal/msglog",
                 "/var/log/opal-elog/"
             ])




More information about the sos-devel mailing list