diff options
author | Vasant Hegde <hegdevasant@linux.vnet.ibm.com> | 2014-03-11 12:18:26 +0000 |
---|---|---|
committer | Bryn M. Reeves <bmr@redhat.com> | 2014-03-11 12:18:26 +0000 |
commit | a66d4fccfe093dfa29dfaa4808f361bc7063c742 (patch) | |
tree | 69f1bc4b2cd8b0011c8d8f2f0dd44e0cb2b1c059 | |
parent | 6fb9d5df14b3b0e21db458fd5fcd10691bb9fd0e (diff) | |
download | sos-a66d4fccfe093dfa29dfaa4808f361bc7063c742.tar.gz |
Add PowerNV specific debug data
This patch adds support to collect more debug files on
PowerNV platform.
Signed-off-by: Vasant Hegde <hegdevasant linux vnet ibm com>
Signed-off-by: Bryn M. Reeves <bmr@redhat.com>
---
sos/plugins/powerpc.py | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
-rw-r--r-- | sos/plugins/powerpc.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/sos/plugins/powerpc.py b/sos/plugins/powerpc.py index 8fd6b4f8..96810944 100644 --- a/sos/plugins/powerpc.py +++ b/sos/plugins/powerpc.py @@ -72,4 +72,7 @@ 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") + |