aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoel Stanley <joel@jms.id.au>2014-04-15 14:05:17 +0100
committerBryn M. Reeves <bmr@redhat.com>2014-04-15 14:05:17 +0100
commit1bbf9e9690e7f2a5afc234b905537daacaecb6d4 (patch)
tree9463185ea8a1018c73fad7bb1dfc860c96e1282a
parenta7c661bc2debc262b726a4c8ceff8b25e8812918 (diff)
downloadsos-1bbf9e9690e7f2a5afc234b905537daacaecb6d4.tar.gz
Add OPAL log to collected file list
The OPAL console log used to live under /sys/kernel/debug/powerpc so it was collected as part of that glob. This patch adds the new location at /sys/firmware/opal/msglog to the list of collected files. Signed-off-by: Joel Stanley <joel@jms.id.au> Reviewed-by: Vasant Hegde <hegdevasant@linux.vnet.ibm.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 dfa1dec9..3e78efbc 100644
--- a/sos/plugins/powerpc.py
+++ b/sos/plugins/powerpc.py
@@ -81,7 +81,8 @@ class PowerPC(Plugin, RedHatPlugin, UbuntuPlugin, DebianPlugin):
if isPowerNV:
self.add_copy_specs([
"/proc/ppc64/",
- "/sys/kernel/debug/powerpc/"
+ "/sys/kernel/debug/powerpc/",
+ "/sys/firmware/opal/msglog"
])
if os.path.isdir("/var/log/dump"):
self.add_cmd_output("ls -l /var/log/dump")