[OE-core] [PATCH 1/1] testimage: Added IO commands to dumps

Khem Raj raj.khem at gmail.com
Tue Sep 29 17:24:25 UTC 2015


> On Sep 29, 2015, at 2:05 AM, mariano.lopez at linux.intel.com wrote:
> 
> From: Mariano Lopez <mariano.lopez at linux.intel.com>
> 
> This change just add two more commands to
> the host dumps to get more information
> related to the IO.
> 
> [YOCTO #8412]
> 
> Signed-off-by: Mariano Lopez <mariano.lopez at linux.intel.com>
> ---
> meta/classes/testimage.bbclass | 2 ++
> meta/lib/oeqa/utils/dump.py    | 2 ++
> 2 files changed, 4 insertions(+)
> 
> diff --git a/meta/classes/testimage.bbclass b/meta/classes/testimage.bbclass
> index 2efab29..1f21c9e 100644
> --- a/meta/classes/testimage.bbclass
> +++ b/meta/classes/testimage.bbclass
> @@ -80,11 +80,13 @@ testimage_dump_target () {
> 
> testimage_dump_host () {
>     top -bn1
> +    iostat -x -z -N -d -p ALL 20 2

Somewhere it needs to documented that build system now needs to have sysstat package installed.

>     ps -ef
>     free
>     df
>     memstat
>     dmesg
> +    ip -s link


and iproute2


>     netstat -an
> }
> 
> diff --git a/meta/lib/oeqa/utils/dump.py b/meta/lib/oeqa/utils/dump.py
> index 3f31e20..63a591d 100644
> --- a/meta/lib/oeqa/utils/dump.py
> +++ b/meta/lib/oeqa/utils/dump.py
> @@ -20,11 +20,13 @@ class BaseDumper(object):
>         # to set some defaults.
>         self.parent_dir = parent_dir or "/tmp/oe-saved-tests"
>         dft_cmds = """  top -bn1
> +                        iostat -x -z -N -d -p ALL 20 2
>                         ps -ef
>                         free
>                         df
>                         memstat
>                         dmesg
> +                        ip -s link
>                         netstat -an"""
>         if not cmds:
>             cmds = dft_cmds
> --
> 1.8.4.5
> 
> --
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core at lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-core

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 204 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <http://lists.openembedded.org/pipermail/openembedded-core/attachments/20150929/ff1de979/attachment-0002.sig>


More information about the Openembedded-core mailing list