diff options
author | Mariano Lopez <mariano.lopez@linux.intel.com> | 2015-09-29 09:05:56 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2015-10-01 17:54:55 +0100 |
commit | ebd5035a7bb6afc755e13908e62fbde5aec53581 (patch) | |
tree | f6f5ca7c7cdd8c53fd3ae810e1d79beb0f6d931d | |
parent | b73a35edb2b02e6538d811d0dba4d36654b91280 (diff) | |
download | poky-ebd5035a7bb6afc755e13908e62fbde5aec53581.tar.gz |
testimage: Added IO commands to dumps
This change just add two more commands to
the host dumps to get more information
related to the IO.
[YOCTO #8412]
(From OE-Core rev: 9c9fd32105bd1a5e1c01f9dd5d1a56ceef12554e)
Signed-off-by: Mariano Lopez <mariano.lopez@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r-- | meta/classes/testimage.bbclass | 2 | ||||
-rw-r--r-- | meta/lib/oeqa/utils/dump.py | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/meta/classes/testimage.bbclass b/meta/classes/testimage.bbclass index bde510ca26..b4d4a69b0d 100644 --- a/meta/classes/testimage.bbclass +++ b/meta/classes/testimage.bbclass | |||
@@ -80,11 +80,13 @@ testimage_dump_target () { | |||
80 | 80 | ||
81 | testimage_dump_host () { | 81 | testimage_dump_host () { |
82 | top -bn1 | 82 | top -bn1 |
83 | iostat -x -z -N -d -p ALL 20 2 | ||
83 | ps -ef | 84 | ps -ef |
84 | free | 85 | free |
85 | df | 86 | df |
86 | memstat | 87 | memstat |
87 | dmesg | 88 | dmesg |
89 | ip -s link | ||
88 | netstat -an | 90 | netstat -an |
89 | } | 91 | } |
90 | 92 | ||
diff --git a/meta/lib/oeqa/utils/dump.py b/meta/lib/oeqa/utils/dump.py index 3f31e206a5..63a591d366 100644 --- a/meta/lib/oeqa/utils/dump.py +++ b/meta/lib/oeqa/utils/dump.py | |||
@@ -20,11 +20,13 @@ class BaseDumper(object): | |||
20 | # to set some defaults. | 20 | # to set some defaults. |
21 | self.parent_dir = parent_dir or "/tmp/oe-saved-tests" | 21 | self.parent_dir = parent_dir or "/tmp/oe-saved-tests" |
22 | dft_cmds = """ top -bn1 | 22 | dft_cmds = """ top -bn1 |
23 | iostat -x -z -N -d -p ALL 20 2 | ||
23 | ps -ef | 24 | ps -ef |
24 | free | 25 | free |
25 | df | 26 | df |
26 | memstat | 27 | memstat |
27 | dmesg | 28 | dmesg |
29 | ip -s link | ||
28 | netstat -an""" | 30 | netstat -an""" |
29 | if not cmds: | 31 | if not cmds: |
30 | cmds = dft_cmds | 32 | cmds = dft_cmds |