[sos-devel] [PATCH] powerpc: Collect selected file instead of entire directory
Vasant Hegde
hegdevasant at linux.vnet.ibm.com
Fri May 30 10:34:36 UTC 2014
On 05/20/2014 09:37 PM, Vasant Hegde wrote:
> We are collecting powerpc dir from debugfs which is causing
> some issues.. Also we don't need that dir data for debugging
> purpose... Hence removing that file.
>
> Also collecting selected files from /proc/ppc64 directory
> instead of collecting entire directory.
>
Bryn,
Did you get a chance to look into this patch?
-Vasant
>
> Signed-off-by: Vasant Hegde <hegdevasant at linux.vnet.ibm.com>
> ---
> sos/plugins/powerpc.py | 5 +++--
> 1 file changed, 3 insertions(+), 2 deletions(-)
>
> diff --git a/sos/plugins/powerpc.py b/sos/plugins/powerpc.py
> index 6ebf16b..3480887 100644
> --- a/sos/plugins/powerpc.py
> +++ b/sos/plugins/powerpc.py
> @@ -80,8 +80,9 @@ class PowerPC(Plugin, RedHatPlugin, UbuntuPlugin, DebianPlugin):
>
> if isPowerNV:
> self.add_copy_specs([
> - "/proc/ppc64/",
> - "/sys/kernel/debug/powerpc/",
> + "/proc/ppc64/eeh",
> + "/proc/ppc64/systemcfg"
> + "/proc/ppc64/topology_updates"
> "/sys/firmware/opal/msglog",
> "/var/log/opal-elog/"
> ])
>
> _______________________________________________
> sos-devel mailing list
> sos-devel at redhat.com
> https://www.redhat.com/mailman/listinfo/sos-devel
>
More information about the sos-devel
mailing list