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 23:27:10 +0000 |
commit | 010b368bc83f0b0ee748a860a67f8795e0b250b2 (patch) | |
tree | 3d909c0c3546204276201f06c17183ce522f3c75 /meta-poky | |
parent | 82f75730945f266ec0b4eda2ad0750359677f201 (diff) | |
download | poky-010b368bc83f0b0ee748a860a67f8795e0b250b2.tar.gz |
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.
(From OE-Core rev: b26feaf51af55f17fad79dbd53dd3ec0a37c38ff)
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>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta-poky')
0 files changed, 0 insertions, 0 deletions