]> code.ossystems Code Review - openembedded-core.git/commit
buildstats.bbclass: Don't assume /proc/<pid>/io present
authorJuro Bystricky <juro.bystricky@intel.com>
Mon, 22 Feb 2016 19:35:25 +0000 (11:35 -0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sun, 28 Feb 2016 11:32:34 +0000 (11:32 +0000)
commitb39e84edb02d03102b9a571c21e5328c159c4378
tree2c25004eb4c1f42c8c6e4f3288e366bcb9b6eb92
parent826bfea4b7018c7974ef388facc99ca70bb3654f
buildstats.bbclass: Don't assume /proc/<pid>/io present

It is not guaranteed Linux kernel was configured with process I/O
statistics enabled. If process I/O statistcs are not present, issue
a one time warning and do not attempt to read the non-existing stats
counters.

[YOCTO#9025]

Signed-off-by: Juro Bystricky <juro.bystricky@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
meta/classes/buildstats.bbclass