aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMariano Lopez <mariano.lopez@linux.intel.com>2015-09-29 09:05:56 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-10-01 17:52:27 +0100
commit9c9fd32105bd1a5e1c01f9dd5d1a56ceef12554e (patch)
tree7155761c2c4a96e4b5f0a252bd38d1d8dbce8f1b
parent87e5a9866c31e7fa4c9eebb1d4b925d94cba5842 (diff)
downloadopenembedded-core-contrib-9c9fd32105bd1a5e1c01f9dd5d1a56ceef12554e.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] 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.bbclass2
-rw-r--r--meta/lib/oeqa/utils/dump.py2
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 () {
testimage_dump_host () {
top -bn1
+ iostat -x -z -N -d -p ALL 20 2
ps -ef
free
df
memstat
dmesg
+ ip -s link
netstat -an
}
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):
# 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