]> code.ossystems Code Review - openembedded-core.git/commitdiff
testimage: Added IO commands to dumps
authorMariano Lopez <mariano.lopez@linux.intel.com>
Tue, 29 Sep 2015 09:05:56 +0000 (09:05 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 1 Oct 2015 16:52:27 +0000 (17:52 +0100)
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>
meta/classes/testimage.bbclass
meta/lib/oeqa/utils/dump.py

index bde510ca268b81bfaec2a6a1941c20742764274d..b4d4a69b0d8ad87cc17c8f6619bdda1c1b44a600 100644 (file)
@@ -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
 }
 
index 3f31e206a584b859186abcbd2dc2b4b6c7ab3436..63a591d3669eabf6c72f09f9dd2fdf3e1fb1a177 100644 (file)
@@ -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