aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSamuel Mendoza-Jonas <samjc.mj@gmail.com>2014-04-11 15:34:19 +1000
committerBryn M. Reeves <bmr@redhat.com>2014-04-29 21:15:15 +0100
commit98231d1a7a07a20175f2b20f65a78c2f80f99788 (patch)
treece96395fd73ac1662b1c662597b077aaee892cd4
parentf3ec4ae4920a4bca1d0af6e15270e4c874c03ad8 (diff)
downloadsos-98231d1a7a07a20175f2b20f65a78c2f80f99788.tar.gz
sosreport: Add support for new ppc64-diag elog format
Reviewed-by: Vasant Hegde <hegdevasant@linux.vnet.ibm.com> Signed-off-by: Samuel Mendoza-Jonas <samjc.mj@gmail.com> Minor fixups for missing comas and to apply to the current tree. Signed-off-by: Bryn M. Reeves <bmr@redhat.com>
-rw-r--r--sos/plugins/powerpc.py7
1 files changed, 4 insertions, 3 deletions
diff --git a/sos/plugins/powerpc.py b/sos/plugins/powerpc.py
index 3e78efbc..6ebf16bc 100644
--- a/sos/plugins/powerpc.py
+++ b/sos/plugins/powerpc.py
@@ -46,7 +46,6 @@ class PowerPC(Plugin, RedHatPlugin, UbuntuPlugin, DebianPlugin):
"/proc/swaps",
"/proc/version",
"/dev/nvram",
- "/var/log/platform",
"/var/lib/lsvpd/"
])
self.add_cmd_outputs([
@@ -65,7 +64,8 @@ class PowerPC(Plugin, RedHatPlugin, UbuntuPlugin, DebianPlugin):
self.add_copy_specs([
"/proc/ppc64/lparcfg",
"/proc/ppc64/eeh",
- "/proc/ppc64/systemcfg"
+ "/proc/ppc64/systemcfg",
+ "/var/log/platform"
])
self.add_cmd_outputs([
"lsvio -des",
@@ -82,7 +82,8 @@ class PowerPC(Plugin, RedHatPlugin, UbuntuPlugin, DebianPlugin):
self.add_copy_specs([
"/proc/ppc64/",
"/sys/kernel/debug/powerpc/",
- "/sys/firmware/opal/msglog"
+ "/sys/firmware/opal/msglog",
+ "/var/log/opal-elog/"
])
if os.path.isdir("/var/log/dump"):
self.add_cmd_output("ls -l /var/log/dump")