aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAnanth N Mavinakayanahalli <ananth@linux.vnet.ibm.com>2018-04-17 10:20:51 +0530
committerBryn M. Reeves <bmr@redhat.com>2018-06-07 11:27:26 +0100
commit26edb82b422ad0be1f78b743d385c724452ccbe7 (patch)
treef1a6ff9722ed2a5fbcf61a7234bad9f4e9f25709
parent5ecf10675784a51c87d002afa279cb0797be2f37 (diff)
downloadsos-26edb82b422ad0be1f78b743d385c724452ccbe7.tar.gz
[powerpc] Capture the opal-prd log file
Opal-prd is the Processor Runtime Diagnostics daemon on Power systems running OPAL firmware. Capture this log file with sosreport. Resolves: #1295 Signed-off-by: Ananth N Mavinakayanahalli <ananth@linux.vnet.ibm.com> Signed-off-by: Vasant Hegde <hegdevasant@linux.vnet.ibm.com> Signed-off-by: Bryn M. Reeves <bmr@redhat.com>
-rw-r--r--sos/plugins/powerpc.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/sos/plugins/powerpc.py b/sos/plugins/powerpc.py
index 0ce5c977..f5ab1c6a 100644
--- a/sos/plugins/powerpc.py
+++ b/sos/plugins/powerpc.py
@@ -77,7 +77,8 @@ class PowerPC(Plugin, RedHatPlugin, UbuntuPlugin, DebianPlugin):
"/proc/ppc64/systemcfg",
"/proc/ppc64/topology_updates",
"/sys/firmware/opal/msglog",
- "/var/log/opal-elog/"
+ "/var/log/opal-elog/",
+ "/var/log/opal-prd"
])
if os.path.isdir("/var/log/dump"):
self.add_cmd_output("ls -l /var/log/dump")