[sos-devel] [PATCH] powerpc: Collect more debug files for PowerNV platform
Vasant Hegde
hegdevasant at linux.vnet.ibm.com
Thu Feb 20 13:45:25 UTC 2014
This patch adds support to collect more debug files on
PowerNV platform.
Signed-off-by: Vasant Hegde <hegdevasant at linux.vnet.ibm.com>
---
sos/plugins/powerpc.py | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/sos/plugins/powerpc.py b/sos/plugins/powerpc.py
index dfaacb9..41280f3 100644
--- a/sos/plugins/powerpc.py
+++ b/sos/plugins/powerpc.py
@@ -71,4 +71,6 @@ class PowerPC(Plugin, RedHatPlugin, UbuntuPlugin, DebianPlugin):
if isPowerNV:
self.add_copy_spec("/proc/ppc64/")
-
+ self.add_copy_spec("/sys/kernel/debug/powerpc/")
+ if os.path.isdir("/var/log/dump"):
+ self.add_cmd_output("ls -l /var/log/dump")
More information about the sos-devel
mailing list