diff options
author | Pavel Modilaynen <pavelmn@axis.com> | 2018-01-31 19:10:38 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2018-03-14 07:55:53 -0700 |
commit | d5c9d46de343d8432310ebb6b0fcb707dee654ec (patch) | |
tree | 3950594a570dd4178df18db8118b9374300d87e1 /meta/recipes-devtools/gcc/gcc-6.3/0040-nios2-Define-MUSL_DYNAMIC_LINKER.patch | |
parent | a9cf5f2a6e827d0e50a5931cceea0b0b03066b1a (diff) | |
download | poky-d5c9d46de343d8432310ebb6b0fcb707dee654ec.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.
Backport from pyro commit b26feaf51af55f17fad79dbd53dd3ec0a37c38ff
(From OE-Core rev: 31a098032eb82eb40eaa3952de4d29ab472e368a)
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: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/gcc/gcc-6.3/0040-nios2-Define-MUSL_DYNAMIC_LINKER.patch')
0 files changed, 0 insertions, 0 deletions