diff options
author | Pavel Modilaynen <pavelmn@axis.com> | 2017-02-24 11:22:20 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2017-03-01 12:54:23 +0000 |
commit | b26feaf51af55f17fad79dbd53dd3ec0a37c38ff (patch) | |
tree | f76e21d2551b34528f325bed4759842abfef4da8 /meta/recipes-core/init-ifupdown/init-ifupdown-1.0/qemumips | |
parent | 10331f42acfa5dc429198b7c025cc2360511e534 (diff) | |
download | openembedded-core-b26feaf51af55f17fad79dbd53dd3ec0a37c38ff.tar.gz openembedded-core-b26feaf51af55f17fad79dbd53dd3ec0a37c38ff.tar.bz2 openembedded-core-b26feaf51af55f17fad79dbd53dd3ec0a37c38ff.zip |
buildstats.bbclass: Avoid index exception in /proc/PID/io parsing
There is some probability (depends on system load) to get empty
or line containing "0" as the last line while reading /proc/PID/io.
Avoid build failure by checking if line contains separator
":" before split.
Signed-off-by: Pavel Modilaynen <pavelmn@axis.com>
Signed-off-by: Daniel Lublin <daniel@lublin.se>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Diffstat (limited to 'meta/recipes-core/init-ifupdown/init-ifupdown-1.0/qemumips')
0 files changed, 0 insertions, 0 deletions