[sos-devel] [PATCH] plugins/powerpc: Add OPAL log to collected file list
Joel Stanley
joel at jms.id.au
Tue Apr 15 06:28:00 UTC 2014
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 at jms.id.au>
Reviewed-by: Vasant Hegde <hegdevasant at linux.vnet.ibm.com>
---
sos/plugins/powerpc.py | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/sos/plugins/powerpc.py b/sos/plugins/powerpc.py
index dfa1dec..3e78efb 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")
--
1.9.1
More information about the sos-devel
mailing list