[sos-devel] [PATCH] sosreport: Add support for new ppc64-diag elog format

Vasant Hegde hegdevasant at linux.vnet.ibm.com
Tue Apr 29 11:36:48 UTC 2014


On 04/11/2014 11:04 AM, Samuel Mendoza-Jonas wrote:
>          Reviewed-by: Vasant Hegde <hegdevasant at linux.vnet.ibm.com>
>

Bryn,

Did you get a chance to look into this one ?

-Vasant

> Signed-off-by: Samuel Mendoza-Jonas <samjc.mj at gmail.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..799b699 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([
> @@ -66,6 +65,7 @@ class PowerPC(Plugin, RedHatPlugin, UbuntuPlugin, DebianPlugin):
>                   "/proc/ppc64/lparcfg",
>                   "/proc/ppc64/eeh",
>                   "/proc/ppc64/systemcfg"
> +                "/var/log/platform",
>               ])
>               self.add_cmd_outputs([
>                   "lsvio -des",
> @@ -82,6 +82,7 @@ class PowerPC(Plugin, RedHatPlugin, UbuntuPlugin, DebianPlugin):
>               self.add_copy_specs([
>                   "/proc/ppc64/",
>                   "/sys/kernel/debug/powerpc/"
> +                "/var/log/opal-elog/",
>               ])
>               if os.path.isdir("/var/log/dump"):
>                   self.add_cmd_output("ls -l /var/log/dump")
>




More information about the sos-devel mailing list