aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBryn M. Reeves <bmr@redhat.com>2014-06-30 18:06:35 +0100
committerBryn M. Reeves <bmr@redhat.com>2014-06-30 18:06:35 +0100
commit797166abec941a8e255567acff674f6c437ea12e (patch)
tree5882c8144afce8ec6423ce61649e7c525fdf9965
parenteb0d0c603793cb3dbda37957007ffe9238345af7 (diff)
downloadsos-797166abec941a8e255567acff674f6c437ea12e.tar.gz
[powerpc] collect selected file instead of entire directory
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@linux.vnet.ibm.com> Signed-off-by: Bryn M. Reeves <bmr@redhat.com> --- sos/plugins/powerpc.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-)
-rw-r--r--sos/plugins/powerpc.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/sos/plugins/powerpc.py b/sos/plugins/powerpc.py
index 6ebf16bc..34808871 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/"
])